void OnEnable() { animatorEvents = target as AnimatorEvents; animatorEvents.animator = animatorEvents.gameObject.GetComponent <Animator>(); if (animatorEvents.CheckRedudancy()) { return; } }
void OnEnable() { animatorEvents = target as AnimatorEvents; animatorEvents.animator = animatorEvents.gameObject.GetComponent<Animator>(); if (animatorEvents.CheckRedudancy()) return; }