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