Utilities -> Object State Switcher for the Unity Software
Manages the activation state of a Unity GameObject collection and ensures only one Unity GameObject is active at any time.
The Object State Switcher prefab provides the ability to specify a collection of Unity GameObjects and decide the target active state via a visual screen user interface.
An example would be to have a collection of GameObjects and only have one of the GameObjects in the collection active at any one time in the scene. When the switcher index is changed then that new given index becomes the active GameObject and all of the other GameObjects in the collection become deactivated.
This prefab utilizes the
GameObjectStateSwitcher component from Zinnia and adds a Unity UI in screen space for controlling the activated GameObject by simply clicking on the UI buttons to switch active GameObject.
Requires the Unity software version
Please refer to the installation guide to install this package.
Please refer to the How To Guides for usage of this package.
Code of Conduct
Please refer to the Extend Reality Code of Conduct.
Code released under the MIT License.