void Start() { rigidBody = GetComponent <Rigidbody>(); inputProvider = InputProvider as IPlayerInputProvider; characterAnimationController = CharacterAnimationController as ICharacterAnimatorController; levelSelectMenuListener = GetComponent <LevelSelectMenuListener>(); }
void Start() { rigidBody = GetComponent<Rigidbody>(); inputProvider = InputProvider as IPlayerInputProvider; characterAnimationController = CharacterAnimationController as ICharacterAnimatorController; levelSelectMenuListener = GetComponent<LevelSelectMenuListener>(); }
private void Awake() { characterMovementController = gameObject.GetComponentWithInterface <ICharacterMovementController>(); characterAnimatorController = gameObject.GetComponentWithInterface <ICharacterAnimatorController>(); }