Beispiel #1
0
 void Start()
 {
     MapStateFunctions();
     keybinds = GameObject.FindGameObjectWithTag("KeyBinds").GetComponent <KeybindScript>();
     FindPlayerParts();
     ChangeState(HookshotState.READY);
     playingHookAnim = false;
 }
Beispiel #2
0
 void Start()
 {
     GroundSensor.GroundSensorChange += Grounded;
     keybinds = GameObject.FindGameObjectWithTag("KeyBinds").GetComponent <KeybindScript>();
     body     = GetComponent <Rigidbody2D>();
     FindWallSensors();
     touchingRight = false;
     touchingLeft  = false;
     isRunning     = false;
     readyForJump  = true;
     soundPlayer   = GameObject.Find("soundEffects").GetComponent <SoundEffectHelper>();
 }
Beispiel #3
0
 void Start()
 {
     MapStateFunctions();
     keybinds = GameObject.FindGameObjectWithTag("KeyBinds").GetComponent<KeybindScript>();
     FindPlayerParts();
     ChangeState(HookshotState.READY);
     playingHookAnim = false;
 }
Beispiel #4
0
 void Start()
 {
     GroundSensor.GroundSensorChange += Grounded;
     keybinds = GameObject.FindGameObjectWithTag("KeyBinds").GetComponent<KeybindScript>();
     body = GetComponent<Rigidbody2D>();
     FindWallSensors();
     touchingRight = false;
     touchingLeft = false;
     isRunning = false;
     readyForJump = true;
     soundPlayer = GameObject.Find("soundEffects").GetComponent<SoundEffectHelper>();
 }