Ejemplo n.º 1
0
    public void Deactivate()
    {
        Animation.Stop();
        Animation.Rewind();
        FSM.Reset();
        enabled         = false;
        ContactPlatfrom = null;

        StopAllCoroutines();

        //if (Owner.debugAnims) Debug.Log(gameObject.name + "deactivated");
    }
Ejemplo n.º 2
0
 public void Deactivate()
 {
     FSM.Reset();
 }