public void Awake() { actor = GetComponent <ActorBehaviour>(); recorder = GetComponent <RecordBehavior>(); hud = GetComponent <PlayerHUD>(); // Record Player Start Position when the Scene Starts PlyrStartPos = GetComponent <Transform>().position; actor.setSpeed(speed); actor.setJumpForce(jumpForce); }
public void Awake() { actor = GetComponent<ActorBehaviour>(); recorder = GetComponent<RecordBehavior>(); hud = GetComponent<PlayerHUD>(); // Record Player Start Position when the Scene Starts PlyrStartPos = GetComponent<Transform>().position; actor.setSpeed(speed); actor.setJumpForce(jumpForce); }