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...
Inherits MonoBehaviour.
|
virtual void | ToggleActive () |
| Toggles the target gameobject's active state.
|
|
virtual void | Awake () |
| On awake, grabs self if needed.
|
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:
- H:/Code/MoreMountains/InventoryEngineStore/Assets/InventoryEngine/MMTools/Accessories/MMActivation/MMToggleActive.cs