TabSetter
Inherits: BehaviorNode
Set the current tab on a TabContainer in reaction to a parent signal
Description
This BehaviorNode can be added as a child to any node and configured to listen for a signal. When the parent signal fires, this behavior will set the current tab on the given target TabContainer.
Properties
| Type | Name | Default |
|---|---|---|
| TabContainer | target | |
| int | tab_number | 0 |
Property Descriptions
target
TabContainer target
The target TabContainer to update the current tab in response to a signal
tab_number
int tab_number = 0
The current tab number to switch to