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