Skip to content
master
Switch branches/tags
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Tilia logo

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.

Release License Backlog

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.

About

Manages the activation state of a Unity GameObject collection and ensures only one Unity GameObject is active at any time

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages