Roll-a-Ball: 5.1 Create a collectible GameObject
In this tutorial, you’ll:
– Create a PickUp GameObject for the player to collect
– Write a script to rotate the collectible
– Turn the PickUp GameObject into a Prefab
– Instantiate the Prefab around your play area
For the full course on Unity learn to go: https://learn.unity.com/project/roll-a-ball