FindGraph

public static NodeGraph FindGraph(string name) ;

Get the NodeGraph that in the scene with the name.

Parameter Name Description
name The name of the search NodeGraph.

Found NodeGraph. Returns null if not found.

public static NodeGraph FindGraph(string name, Type type) ;

Get the NodeGraph that in the scene with the name.

Parameter Name Description
name The name of the search NodeGraph.
type The type of the search NodeGraph.

Found NodeGraph. Returns null if not found.

public static T FindGraph<T>(string name) ;

Get the NodeGraph that in the scene with the name.

Type Parameter Name Description Type Constraints
T The type of the search NodeGraph.
Parameter Name Description
name The name of the search NodeGraph.

Found NodeGraph. Returns null if not found.

public static NodeGraph FindGraph(GameObject gameObject, string name) ;

Get NodeGraph in the name that has been attached to the GameObject.

Parameter Name Description
gameObject Want to search GameObject.
name The name of the search NodeGraph.

Found NodeGraph. Returns null if not found.

public static NodeGraph FindGraph(GameObject gameObject, string name, Type type) ;

Get NodeGraph in the name that has been attached to the GameObject.

Parameter Name Description
gameObject Want to search GameObject.
name The name of the search NodeGraph.
type The type of the search NodeGraph.

Found NodeGraph. Returns null if not found.

public static T FindGraph<T>(GameObject gameObject, string name) ;

Get NodeGraph in the name that has been attached to the GameObject.

Type Parameter Name Description Type Constraints
T The type of the search NodeGraph.
Parameter Name Description
gameObject Want to search GameObject.
name The name of the search NodeGraph.

Found NodeGraph. Returns null if not found.