Modify Game Object Active State LPK_ModifyGameObjectActiveStateOnEvent.cs

Enables/disables the active state of game objects.

Suggested use:

Turn game objects active state on or off upon receiving an event. Use to hide objects, toggle pickups or platforms, etc.

Examples found in: Project 4

Components
Property Type Description Default Value
Component Properties
Toggle type LPK Toggle Type How to change the active state of the declared game object(s). ON
Modify Game Object Array of Objects Gameobject(s) to change the active state of. 0
Event Receiving Info
Event Trigger LPK Event Object Which event will trigger this component's action. None
Debug Properties
Print Debug Info Boolean Toggle console debug messages. False
Label String Notes for the user about this component. This does nothing to the game or build. None