GetNodeComponent
GetNodeComponent(Type)
Description
Get a NodeComponent by specifying its type.
Parameters
Parameter Name | Description |
---|---|
componentType | Component type |
Returns
Returns a NodeComponent of the specified type, or null if none exists.
GetNodeComponent<T>()
public T GetNodeComponent<T>() ;
Description
Get a NodeComponent by specifying its type.
Type Parameters
Type Parameter Name | Description | Type Constraints |
---|---|---|
T | Component type |
|
Returns
Returns the NodeComponent found, or null if not found.