void Start()
 {
     rigidBody     = GetComponent <Rigidbody>();
     inputProvider = InputProvider as IPlayerInputProvider;
     characterAnimationController = CharacterAnimationController as ICharacterAnimatorController;
     levelSelectMenuListener      = GetComponent <LevelSelectMenuListener>();
 }
示例#2
0
 void Awake()
 {
     motor = GetComponent <LinearMotor>();
     levelSelectMenuListener = GetComponent <LevelSelectMenuListener>();
     levelSelectMenuListener.OnLevelSelectMenuClosed.AddListener(OnMenuClosed);
     levelSelectMenuListener.OnLevelSelectMenuOpened.AddListener(OnMenuOpened);
 }
        void Start()
        {
            forwardMovementParamID = Animator.StringToHash(ForwardMovementParamName);
            abilityParamID         = Animator.StringToHash(AbilityParamName);

            levelSelectMenuListener = GetComponent <LevelSelectMenuListener>();
            levelSelectMenuListener.OnLevelSelectMenuClosed.AddListener(OnMenuClosed);
            levelSelectMenuListener.OnLevelSelectMenuOpened.AddListener(OnMenuOpened);
        }
示例#4
0
 void Start()
 {
     intialLaunchCounter     = InitialLaunchDelay;
     launchCounter           = 0;
     levelSelectMenuListener = GetComponent <LevelSelectMenuListener>();
 }
 void Awake()
 {
     levelSelectMenuListener = GetComponent <LevelSelectMenuListener>();
 }
示例#6
0
 void Start()
 {
     levelSelectMenuListener = GetComponent <LevelSelectMenuListener>();
 }
 void Start()
 {
     initialRotOffset        = BodyTransform.rotation;
     levelSelectMenuListener = GetComponent <LevelSelectMenuListener>();
 }