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

Use this class to enable or disable other gameobjects automatically on Start or Awake More...

Inheritance diagram for MoreMountains.Tools.MMActivationOnStart:

Public Types

enum  Modes { Modes.Awake, Modes.Start }
 The possible modes that define whether this should run at Awake or Start. More...
 

Public Attributes

Modes Mode = Modes.Start
 the selected mode for this instance More...
 
bool StateOnStart = true
 if true, objects will be activated on start, disabled otherwise More...
 
List< GameObject > TargetObjects
 the list of gameobjects whose active state will be affected on start More...
 

Protected Member Functions

virtual void Awake ()
 On Awake, we set our state if needed More...
 
virtual void Start ()
 On Start, we set our state if needed More...
 
virtual void SetState ()
 Sets the state of all target objects More...
 

Detailed Description

Use this class to enable or disable other gameobjects automatically on Start or Awake

Member Enumeration Documentation

◆ Modes

The possible modes that define whether this should run at Awake or Start.

Enumerator
Awake 
Start 

Member Function Documentation

◆ 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

Member Data Documentation

◆ Mode

Modes MoreMountains.Tools.MMActivationOnStart.Mode = Modes.Start

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: