FututeWand初步
This commit is contained in:
@@ -34,6 +34,14 @@ namespace Cielonos.MainGame.FunctionalAnimation
|
||||
[HideIf("getFromBehaviorTree")]
|
||||
public float targetSpeed = 1.0f;
|
||||
|
||||
public SetFuncAnimSpeed() { }
|
||||
public SetFuncAnimSpeed(float speed, SpeedApplyMode mode = SpeedApplyMode.Override, bool getFromBehaviorTree = false)
|
||||
{
|
||||
targetSpeed = speed;
|
||||
applyMode = mode;
|
||||
this.getFromBehaviorTree = getFromBehaviorTree;
|
||||
}
|
||||
|
||||
public override void Invoke()
|
||||
{
|
||||
if (Character == null || Character.animationSc == null) return;
|
||||
|
||||
Reference in New Issue
Block a user