This very simple class simply exposes a method to toggle the GameObject it's on (or a target one if left empty in the inspector) active or inactive
More...
|
| virtual void | Awake () |
| | On awake, grabs self if needed More...
|
| |
This very simple class simply exposes a method to toggle the GameObject it's on (or a target one if left empty in the inspector) active or inactive
◆ Awake()
| virtual void MoreMountains.Tools.MMToggleActive.Awake |
( |
| ) |
|
|
protectedvirtual |
On awake, grabs self if needed
◆ ToggleActive()
| virtual void MoreMountains.Tools.MMToggleActive.ToggleActive |
( |
| ) |
|
|
virtual |
Toggles the target gameobject's active state
◆ TargetGameObject
| GameObject MoreMountains.Tools.MMToggleActive.TargetGameObject |
the target gameobject to toggle. Leave blank for auto grab
◆ ToggleActiveButton
| bool MoreMountains.Tools.MMToggleActive.ToggleActiveButton |
The documentation for this class was generated from the following file: