重做杂兵
This commit is contained in:
@@ -20,7 +20,7 @@ namespace Cielonos.MainGame.Characters.AI
|
||||
[Tooltip("Agent 正在追踪的目标对象。")]
|
||||
[SerializeField] protected SharedVariable<GameObject> m_Target;
|
||||
[Tooltip("指定提前预测目标的距离的程度。")]
|
||||
[SerializeField] protected SharedVariable<float> m_DistancePrediction = 20;
|
||||
[SerializeField] protected SharedVariable<float> m_DistancePrediction = 10;
|
||||
[Tooltip("预测提前距离的乘数。")]
|
||||
[SerializeField] protected SharedVariable<float> m_DistancePredictionMultiplier = 1;
|
||||
#endregion
|
||||
@@ -163,8 +163,8 @@ namespace Cielonos.MainGame.Characters.AI
|
||||
base.Reset();
|
||||
m_StartSpeed = 10f;
|
||||
m_Target = null;
|
||||
m_DistancePrediction = 20;
|
||||
m_DistancePredictionMultiplier = 2; // 与声明一致
|
||||
m_DistancePrediction = 10;
|
||||
m_DistancePredictionMultiplier = 1;
|
||||
m_SlowDownDistance = 6f;
|
||||
m_MinSpeed = 0.5f;
|
||||
m_SpeedCurve = AnimationCurve.EaseInOut(0f, 0f, 1f, 1f);
|
||||
|
||||
Reference in New Issue
Block a user