Represents variables that can be provided as parameters for a RuntimeReturnGraph. This class is intended to be used with a ReturnGraphDirector to provide RgBlackboardVariable<T>s to its graph at runtime.
Property | Description |
---|---|
Variables | Serialized list of RgBlackboardVariable<T>s to be edited in the inspector. |
VariablesLookup | Collection of RgBlackboardVariable<T>s using the variables’ name for quick look-ups |
Method | Description |
---|---|
TryGetValue<T> | Searches the Blackboard's list of RgBlackboardVariable<T>s for a match using a variable name, outputs the variable's value if found, and returns true if the variable was found. |
TrySetValue<T> | Attempts to set the value of an RgBlackboardVariable<T> in the Blackboard using the variable's name. Returns true if the variable was found. |