public void Deactivate() { Animation.Stop(); Animation.Rewind(); FSM.Reset(); enabled = false; ContactPlatfrom = null; StopAllCoroutines(); //if (Owner.debugAnims) Debug.Log(gameObject.name + "deactivated"); }
public void Deactivate() { FSM.Reset(); }