An open API service indexing awesome lists of open source software.

https://github.com/extendrealityltd/tilia.utilities.objectstateswitcher.unity

Manages the activation state of a Unity GameObject collection and ensures only one Unity GameObject is active at any time
https://github.com/extendrealityltd/tilia.utilities.objectstateswitcher.unity

Last synced: about 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

[![Tilia logo][Tilia-Image]](#)

> ### 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][Version-Release]][Releases]
[![License][License-Badge]][License]
[![Backlog][Backlog-Badge]][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][License].

[License-Badge]: https://img.shields.io/github/license/ExtendRealityLtd/Tilia.Utilities.ObjectStateSwitcher.Unity.svg
[Version-Release]: https://img.shields.io/github/release/ExtendRealityLtd/Tilia.Utilities.ObjectStateSwitcher.Unity.svg
[project coding conventions]: https://github.com/ExtendRealityLtd/.github/blob/master/CONVENTIONS/UNITY3D.md

[Tilia-Image]: https://raw.githubusercontent.com/ExtendRealityLtd/related-media/main/github/readme/tilia.png
[License]: LICENSE.md
[Documentation]: Documentation/
[How To Guides]: Documentation/HowToGuides/
[Installation]: Documentation/HowToGuides/Installation/README.md
[Backlog]: http://tracker.vrtk.io
[Backlog-Badge]: https://img.shields.io/badge/project-backlog-78bdf2.svg
[Releases]: ../../releases
[Contributing guidelines]: https://github.com/ExtendRealityLtd/.github/blob/master/CONTRIBUTING.md
[Code of Conduct]: https://github.com/ExtendRealityLtd/.github/blob/master/CODE_OF_CONDUCT.md

[Unity]: https://unity3d.com/
[Zinnia]: https://github.com/ExtendRealityLtd/Zinnia.Unity