API reference

GameObjectActiveState Class

Extends MonoBehaviour
Implements IActiveState

Properties

Active : bool
[Get]
Evaluates the current state of the component and returns whether it is active.
The logic for determining the active state is defined by the implementing class. This method is typically used in interaction scripts to check whether a certain condition is met before triggering an event or action. For example implementations, please refer to HandActiveState.Active and ActiveStateGroup.Active.
Signature
bool Active
SourceActiveSelf : bool
[Get][Set]
Signature
bool SourceActiveSelf

Protected Methods

Start ()
Signature
virtual void Start()
Returns
void

Methods

InjectAllGameObjectActiveState ( sourceGameObject )
Signature
void InjectAllGameObjectActiveState(GameObject sourceGameObject)
Parameters
sourceGameObject: GameObject
Returns
void
InjectSourceGameObject ( sourceGameObject )
Signature
void InjectSourceGameObject(GameObject sourceGameObject)
Parameters
sourceGameObject: GameObject
Returns
void