📦Runtime gameobjects
Last updated
Last updated
Runtime gameobjects are great way to store, categorize and identify groups of gameobjects during runtime.
This feature uses 3 components:
The Runtime GameObject Scriptable Asset
The Add Runtime GameObject component
The Get Runtime GameObject component
This asset is in charge to store all the gameobjects that are set at runtime.
When this component is added to a gameobject, it will add to the given runtime set, that gameobject on Enable.
Runtime Set to add the gameobject that has the component
When this component is added to a gameobject, it will find an item in a Runtime Object collection set and it will use Unity Events to connect the result to any other component.