Beispiel #1
0
 private void Awake()
 {
     playerMover  = GetComponent <PlayerMover>();
     playerInput  = GetComponent <PlayerInput>();
     playerWeapon = GetComponent <PlayerWeapon>();
     EnablePlayer(true);
 }
Beispiel #2
0
        private void Awake()
        {
            pauseMenuActionEventChannel = Finder.PauseMenuActionEventChannel;
            playerMover = GetComponent <PlayerMover>();
            player      = GetComponent <Player>();

            freezeTimeIsClicked = false;
            canChangeTimeline   = true;
            rtButtonUnpressed   = true;
            canPressJump        = true;
        }
Beispiel #3
0
 private void Awake()
 {
     audioSource             = GetComponent <AudioSource>();
     playerDeathEventChannel = Finder.PlayerDeathEventChannel;
     playerMover             = GetComponentInParent <PlayerMover>();
 }