コード例 #1
0
    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> ();
    }
コード例 #2
0
 public void Init()
 {
     animationBackend = GetComponent<ActiveAnimator>();
     animationBackend.EnableAllAnimations();
 }