Inventory Engine v4.2
Loading...
Searching...
No Matches
MoreMountains.Tools.MMAutoExecution Class Reference

This simple class lets you trigger Unity events automatically, on Awake, Enable, Disable, Start, or on instantiate For that last one, you'll want to send a "OnInstantiate" message when instantiating this object. More...

Inherits MonoBehaviour.

Public Attributes

List< MMAutoExecutionItemEvents
 a list of events to trigger automatically

Protected Member Functions

virtual void Awake ()
 On Awake we invoke our events if needed.
virtual void Start ()
 On Start we invoke our events if needed.
virtual void OnEnable ()
 On Enable we invoke our events if needed.
virtual void OnDisable ()
 On Enable we invoke our events if needed.
virtual void OnInstantiate ()
 On Instantiate we invoke our events if needed.

Detailed Description

This simple class lets you trigger Unity events automatically, on Awake, Enable, Disable, Start, or on instantiate For that last one, you'll want to send a "OnInstantiate" message when instantiating this object.

Member Function Documentation

◆ Awake()

virtual void MoreMountains.Tools.MMAutoExecution.Awake ( )
protectedvirtual

On Awake we invoke our events if needed.

◆ OnDisable()

virtual void MoreMountains.Tools.MMAutoExecution.OnDisable ( )
protectedvirtual

On Enable we invoke our events if needed.

◆ OnEnable()

virtual void MoreMountains.Tools.MMAutoExecution.OnEnable ( )
protectedvirtual

On Enable we invoke our events if needed.

◆ OnInstantiate()

virtual void MoreMountains.Tools.MMAutoExecution.OnInstantiate ( )
protectedvirtual

On Instantiate we invoke our events if needed.

◆ Start()

virtual void MoreMountains.Tools.MMAutoExecution.Start ( )
protectedvirtual

On Start we invoke our events if needed.

Member Data Documentation

◆ Events

List<MMAutoExecutionItem> MoreMountains.Tools.MMAutoExecution.Events

a list of events to trigger automatically


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