Behaviors are groups of game logic that can be easily applied to an object to give it some sort of abilities. Behaviors can be very simple bits of logic up to complex systems like player controls.
Behaviors can be added from the Asset Library or created by converting a Plain Container into a Behavior Container.
Behaviors can be added to objects by selecting the object then tapping the + Behavior button at the bottom of the Basic Tab of the Details Panel.
Behavior Name | Name the container so it is easy to identify. Giving the Behavior a unique name will make it easier to find when adding Behaviors to an object |
Type | Change the type of container: Plain Container, Behavior, Reusable or Function Source |
Follow With Camera | The Game Camera will move into position and target the object with the Behavior applied |
Combine Object Group | Combine the Object Group of the object the Behavior is applied to with the object group of the reference object within the Behavior container |
Use Physical Properties | Use the Physical properties of the reference object within the Behavior container |
Color | Set the color of the container bounding box visualization |
Inputs | Inputs added to the container appear here |
Outputs | Outputs added to the container will appear here |
Outputs you create for the container will appear on both the Basic & Advanced tabs.
In the Basic tab you can make connections with Nodes outside of the container, in the Advanced tab you can make connections with Nodes inside the container.
Tap the Edit Inputs/Outputs button to open the input & output editor to add or edit inputs and outputs.
These inputs & outputs will show up in the Function Caller node once the source is selected.
Tap the Input or Output tabs to switch between editing Inputs or Outputs.
How to Create a new Input or Output:
Outputs you create for the container will appear on both the Basic & Advanced tabs.
In the Basic tab you can make connections with Nodes outside of the container, in the Advanced tab you can make connections with Nodes inside the container.