World Requirement Trigger
World requirement trigger component.
Last updated
World requirement trigger component.
Last updated
The world requirement trigger component can change a requirement value at a certain time and place, depending on the trigger method.
Requirement Key: The key of the requirement.
Trigger Method: How or when it's triggered.
On Collision Enter 2D or 3D: Triggered when the triggerer collides with a collider attached to this GameObject.
On Collision Exit 2D or 3D: Triggered when the triggerer exits collision with a collider attached to this GameObject.
On Awake: Triggered when the component's Awake method is called.
On Start: Triggered when the component's Start method is called.
On Disable: Triggered when the GameObject becomes inactive.
On Enable: Triggered when the GameObject becomes active.
On Destroy: Triggered when the GameObject is destroyed.
Manually Call Trigger: There is no automatic trigger. The Trigger method must be called manually through code.
Triggerer: The GameObject that causes the trigger on collision.
Requirement Type: The requirement type. Supported types are Integer, Float, and Boolean.
Change Type: How the requirement value should be changed.
Increment: Increase the value by a certain number.
Decrement: Decrease the value by a certain number.
Set Value: Set the value to a certain number.
Int Value: The integer value the requirement should change by/to.
Float Value: The float value the requirement should change by/to.
Bool Value: The Boolean value the requirement should change by/to.
Destroy Component On Trigger: If the component should be destroyed when triggered.