Description

Handles the importing process for ReturnGraph assets in Unity. This class is a custom importer for assets with the specified ReturnGraph extension. It is responsible for converting the ReturnGraph editor asset into a RuntimeReturnGraph that can be used in the application.

Methods

Method Description
OnAssetImport Handles the asset import process for the ReturnGraph editor graph asset, converting the editor graph into a RuntimeReturnGraph asset.

Static Methods

Method Description
CreateBlackboardVariableKeys Finds each blackboard variable on the editor graph, creates a ‣ to represent the variable, and adds it to the runtime graph asset.
CreateBlackboardVariableKey Creates a new instance of ‣ based on the provided variable, initializing it with the variable's data type and name.
CreateRuntimeNodes Traverses the node graph starting from the specified start node, creates corresponding runtime nodes, and adds them to the given RuntimeReturnGraph.
ConnectNodes Establishes connections between runtime nodes in the RuntimeReturnGraph based on the provided mapping of editor nodes to runtime node indices.