Component: Manual Behavior Group

Manual Behavior Group is a behavior group that allows you to manually set or unset its boolean condition, and therefore control one or more behaviors altogether from the script.

This component is particularly useful to take advantage of the convenience of using Behaviors outside of the tutorial context.

To create a Manual Behavior Group, right-click on the hierarchy and select TutorialMAX => Manual Behavior Group.

Member Params Returns Description
Trigger - - Activates the group and deactivates it immediately afterwards. This results in enter and exit actions getting triggered sequentially.
Restart - - Deactivates and reactivates the behavior group.
Activate - - Activates the behavior group.
Deactivate - - Deactivates the behavior group.
SetActive bool activate - Activates or deactivates the group according to the activate parameter.