Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
Creating a Prefab
Creating the PickUp Prefab
Creating the prefab follows the standard Unity procedure: just drag the object from the Hierarchy panel into the Project one.
Adding Prefab to the Scene
You can now create a set of coin prefabs in the scene: each one will have its own Flowchart handling the pickup event.
In my case I have also put my coins inside a gameobject named PickUps.