A scriptable object representing a runtime graph structure of ReturnGraph. The graph can be evaluated to return a specific value based on its nodes' logic and the given blackboard.
The RuntimeReturnGraph is created from a ReturnGraph using the ReturnGraphImporter class. An instance of RuntimeReturnGraph cannot be made on its own without this.
Property | Description |
---|---|
Nodes | A collection of ‣s that define the logic and flow of the graph |
VariableKeys | A collection of ‣s defining the required variables, including their names and data types, for the runtime graph to operate. |
Method | Description |
---|---|
Evaluate<T> | Evaluates the runtime return graph to determine the appropriate result based on the given ‣. The expected return type is declared as a generic parameter, and the graph with throw exceptions if the determined return value does not match, or if the graph becomes stuck. |
The inspector view of a RuntimeReturnGraph. The graph’s Nodes and VariableKeys are visible for debugging but immutable. To make changes, edit the graph’s ReturnGraph in the graph view and save the graph.