public override void Exit() { base.Exit(); // var distanceReset = LeanTween.value(_animatable.Animancer.gameObject, _bob.Distance, 0, 0.2f).setOnUpdate( // (float value) => // { // _bob.Distance = value; // }).setOnComplete(() => // { // _bob.Destroy(); // }); // _animatable.Animancer.Layers[BaseLayer].SetMask(); _leanForward.Destroy(); _leanSide.Destroy(); _bob.Destroy(); // _damping.Destroy(); }
public override void Exit() { base.Exit(); _lean.Destroy(); }