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

Add this component to a gameobject, and it'll let you enable target monos after all other targets have been disabled. More...

Inherits MonoBehaviour.

Public Attributes

MonoBehaviour[] EnableThese
 a list of monos to enable
MonoBehaviour[] AfterTheseAreAllDisabled
 a list of all the monos that have to have been disabled first

Protected Member Functions

virtual void Update ()
 On update, we check if we should disable.

Protected Attributes

bool _enabled = false

Detailed Description

Add this component to a gameobject, and it'll let you enable target monos after all other targets have been disabled.

Member Function Documentation

◆ Update()

virtual void MoreMountains.Tools.MMConditionalActivation.Update ( )
protectedvirtual

On update, we check if we should disable.

Member Data Documentation

◆ _enabled

bool MoreMountains.Tools.MMConditionalActivation._enabled = false
protected

◆ AfterTheseAreAllDisabled

MonoBehaviour [] MoreMountains.Tools.MMConditionalActivation.AfterTheseAreAllDisabled

a list of all the monos that have to have been disabled first

◆ EnableThese

MonoBehaviour [] MoreMountains.Tools.MMConditionalActivation.EnableThese

a list of monos to enable


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