public void Boot(MatchManager matchManager) { gameObject.SetActive (true); this.match = matchManager; animator = gameObject.GetComponent<ActiveAnimator> (); animator.EnableAllAnimations (); currentFrame = animator.StartAnimationOrNext (AnimationID.IDLE); controls = GetComponent<CharacterController> (); }
public void Init() { animationBackend = GetComponent<ActiveAnimator>(); animationBackend.EnableAllAnimations(); }