public override void OnEnable () { if (this.enabled) { if (m_AnimatorMoveCallback == null) m_AnimatorMoveCallback = this.self.AddComponent<AnimatorMoveCallback>(); m_AnimatorMoveCallback.onAnimatorMove += OnTick; m_Registered = true; } }
public override void OnEnable() { if (this.enabled) { if (m_AnimatorMoveCallback == null) { m_AnimatorMoveCallback = this.self.AddComponent <AnimatorMoveCallback>(); } m_AnimatorMoveCallback.onAnimatorMove += OnTick; m_Registered = true; } }