Roll-a-Ball: 6.3 Write a conditional statement
In this tutorial, you’ll:
– Revise your PlayerController script to make PickUpGameObjects disappear when they collide with the Player sphere
– Tag PickUp GameObjects and write conditional statements to make sure they’re the only things that disappear
– Set the Prefab PickUp Collider as a trigger and add a Rigidbody component, to make the collectibles work properly
For the full course on Unity learn to go: https://learn.unity.com/project/roll-a-ball