Documentation

Learn how to use FlowCanvas

Data Binding Variables

Variables added in a Blackboard can be data-bound to public properties and/or fields of any component that exist on the same game object as the Blackboard, or be bound to a static property/field. Data binding can be one-way or even two-ways, depending on whether the property can read and/or can write. Data binding a variable to a property means that whenever you are getting the variable value, you will be getting the value of the property instead and whenever you are setting the variable value, you will be setting the property value instead. To bind a variable to a property you simply have to click the variable gear button and select the property you want to bind the variable to!

VariableBind

Alternatively, if you don’t already have a created variable, you can directly create a bound variable through the “Add Variable” button menu.

Yes No Suggest edit
Suggest Edit

© Paradox Notion 2015-2024. All rights reserved.