Hold Shift to Enable Thruster- Game Dev Series 32
May 27, 2021
Objective: Create boost function when left shift is holding.
In this article, we will create a function to boost up the speed when we hold down left shift during the game.
Let’s check out the concept first:
With this concept, we need to create a variable to storage the boost up speed.
Make this SerializeField we could adjust it later on.
Then add a statement check inside Update() to boost up our player.
Then we can play our game and check the result.