Use this class to enable or disable other gameobjects automatically on Start or Awake.
More...
|
| enum | Modes { Awake
, Start
} |
| | The possible modes that define whether this should run at Awake or Start. More...
|
|
| Modes | Mode = Modes.Start |
| | the selected mode for this instance
|
| bool | StateOnStart = true |
| | if true, objects will be activated on start, disabled otherwise
|
| List< GameObject > | TargetObjects |
| | the list of gameobjects whose active state will be affected on start
|
|
| virtual void | Awake () |
| | On Awake, we set our state if needed.
|
| virtual void | Start () |
| | On Start, we set our state if needed.
|
| virtual void | SetState () |
| | Sets the state of all target objects.
|
Use this class to enable or disable other gameobjects automatically on Start or Awake.
◆ Modes
The possible modes that define whether this should run at Awake or Start.
◆ Awake()
| virtual void MoreMountains.Tools.MMActivationOnStart.Awake |
( |
| ) |
|
|
protectedvirtual |
On Awake, we set our state if needed.
◆ SetState()
| virtual void MoreMountains.Tools.MMActivationOnStart.SetState |
( |
| ) |
|
|
protectedvirtual |
Sets the state of all target objects.
◆ Start()
| virtual void MoreMountains.Tools.MMActivationOnStart.Start |
( |
| ) |
|
|
protectedvirtual |
On Start, we set our state if needed.
◆ Mode
the selected mode for this instance
◆ StateOnStart
| bool MoreMountains.Tools.MMActivationOnStart.StateOnStart = true |
if true, objects will be activated on start, disabled otherwise
◆ TargetObjects
| List<GameObject> MoreMountains.Tools.MMActivationOnStart.TargetObjects |
the list of gameobjects whose active state will be affected on start
The documentation for this class was generated from the following file: