Struct AutoEmitterBase.AutoAimModule
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: BulletStorm.dll
Syntax
[Serializable]
public struct AutoAimModule
Fields
|
Improve this Doc
View Source
aimOnEmissionStart
Declaration
[LocalizedTooltip("When start emitting, aim at the target.")]
public bool aimOnEmissionStart
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
enabled
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
followRateConst
Declaration
[LocalizedTooltip("Max rotation angle per second during emission to follow target.")]
public float followRateConst
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
followRateCurve
Declaration
[CustomCurve(0F, 0F, 180F, 2F)]
[LocalizedTooltip("X-axis is the angle between target and current aim direction, Y-axis is rotation rate.")]
public AnimationCurve followRateCurve
Field Value
Type |
Description |
UnityEngine.AnimationCurve |
|
|
Improve this Doc
View Source
followRateMultiplier
Declaration
[LocalizedTooltip("Multiplier for follow rate curve.")]
public float followRateMultiplier
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
followRateUseCurve
Declaration
[Header("Follow rate")]
[LocalizedTooltip("Use a curve to describe follow rate.")]
public bool followRateUseCurve
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
target
Declaration
[LocalizedTooltip("The game object should the emitter aim at.")]
public Target target
Field Value
Methods
|
Improve this Doc
View Source
GetFollowRate(Single)
Declaration
public float GetFollowRate(float angleDiff)
Parameters
Type |
Name |
Description |
System.Single |
angleDiff |
|
Returns
Type |
Description |
System.Single |
|