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.
Introduction
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 2018.3.10f1
(or above).
Getting Started
Please refer to the installation guide to install this package.
Documentation
Please refer to the How To Guides for usage of this package.
Further documentation can be found within the Documentation directory and at https://academy.vrtk.io
Contributing
Please refer to the Extend Reality Contributing guidelines and the project coding conventions.
Code of Conduct
Please refer to the Extend Reality Code of Conduct.
License
Code released under the MIT License.