Esempio n. 1
0
 private void Awake()
 {
     _characterController = GetComponent <CharacterController>();
     _controller          = GetComponent <Controller>();
     _characterAnimator   = GetComponent <CharacterAnimator>();
     source = GetComponent <AudioSource>();
 }
Esempio n. 2
0
        private void Awake()
        {
            Controller.Init();
            Controller.Character = this;

            _characterController = GetComponent <CharacterController>();
            _characterAnimator   = GetComponent <CharacterAnimator>();
        }