📦Runtime gameobjects

Overview

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

Runtime GameObject Asset

This asset is in charge to store all the gameobjects that are set at runtime.

Add Runtime Gameobjects

When this component is added to a gameobject, it will add to the given runtime set, that gameobject on Enable.

Parameters

Collection

Runtime Set to add the gameobject that has the component

Get Runtime Gameobjects

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.

Last updated