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

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