Reusable Containers are good for creating objects that are repeated throughout a Game and have shared properties. For example collectables, like coins. New instances of the Reusable can added to the scene by dragging from the bottom toolbar (toolbar > build > reusables).
Reusables can be added from the Asset Library or created by turning a Plain Container into a Reusable Container.
Reusable Name | Name the container so it is easy to identify |
Type | Change the type of container: Plain Container, Behavior, Reusable or Function Source |
Follow With Camera | The Game Camera will move into position and target instances created from the Reusable Container |
Combine Object Group | Combine the Object Group of objects the Reusable is applied to with the object group of the reference object within the Reusable Container |
Inputs | Inputs added to the container appear here |
Outputs | Outputs added to the container will appear here |
Inputs and Outputs you create for the container will appear on both the Basic & Advanced tabs.
In the Basic tab you can make connections with Nodes outside of the container, in the Advanced tab you can make connections with Nodes inside the container.
Tap the Edit Inputs/Outputs button to open the input & output editor to add or edit inputs and outputs.
These inputs & outputs will show up in the Function Caller node once the source is selected.
Tap the Input or Output tabs to switch between editing Inputs or Outputs.
How to Create a new Input or Output:
Outputs you create for the container will appear on both the Basic & Advanced tabs.
In the Basic tab you can make connections with Nodes outside of the container, in the Advanced tab you can make connections with Nodes inside the container.