Road TO Dev — Bring the power… ups!

Rob Smith
Jun 19, 2021

--

Objective: Setup our game for pulling powerups to the player when the C key is pressed. Remember though there are hazard items that can get collected as well.

Step 1: OnEnable find the player so the powerup knows where to go. Done in powerup script

Step 2: Create the activation on our powerup script in update.

Step 3: Setup the method for moving towards the player when activated. Done in powerup script.

--

--

Rob Smith
Rob Smith

Written by Rob Smith

Hi there! I am currently on the path to learn how to become a unity developer and will be documenting my journey as best as I can here. Thanks for looking!

No responses yet