FindGraph

FindGraph(string)

public static NodeGraph FindGraph(string name) ;

Description

Get the NodeGraph that in the scene with the name.

Parameters

Parameter Name Description
name The name of the search NodeGraph.

Returns

Found NodeGraph. Returns null if not found.

FindGraph(string, Type)

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

Description

Get the NodeGraph that in the scene with the name.

Parameters

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

Returns

Found NodeGraph. Returns null if not found.

FindGraph<T>(string)

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

Description

Get the NodeGraph that in the scene with the name.

Type Parameters

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

Parameters

Parameter Name Description
name The name of the search NodeGraph.

Returns

Found NodeGraph. Returns null if not found.

FindGraph(GameObject, string)

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

Description

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

Parameters

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

Returns

Found NodeGraph. Returns null if not found.

FindGraph(GameObject, string, Type)

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

Description

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

Parameters

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

Returns

Found NodeGraph. Returns null if not found.

FindGraph<T>(GameObject, string)

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

Description

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

Type Parameters

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

Parameters

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

Returns

Found NodeGraph. Returns null if not found.