Feel  5.2
The best way to improve your game's feel and make it extra juicy
MoreMountains.Tools.MMToggleActive Class Reference

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...

Inheritance diagram for MoreMountains.Tools.MMToggleActive:

Public Member Functions

virtual void ToggleActive ()
 Toggles the target gameobject's active state More...
 

Public Attributes

GameObject TargetGameObject
 the target gameobject to toggle. Leave blank for auto grab More...
 
bool ToggleActiveButton
 a test button More...
 

Protected Member Functions

virtual void Awake ()
 On awake, grabs self if needed More...
 

Detailed Description

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

Member Function Documentation

◆ 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

Member Data Documentation

◆ TargetGameObject

GameObject MoreMountains.Tools.MMToggleActive.TargetGameObject

the target gameobject to toggle. Leave blank for auto grab

◆ ToggleActiveButton

bool MoreMountains.Tools.MMToggleActive.ToggleActiveButton

a test button


The documentation for this class was generated from the following file: