FindGraph
FindGraph(string)
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)
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)
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)
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.