GetComponent
Get Component
from GameObject
.
Conversion conditions
Conditions are judged in order from the top.
Input type | Output type | Possibility |
---|---|---|
GameObject |
Derived from Component or interface |
Possible |
Other than the above is not possible
Properties
Property name | Type | Description |
---|---|---|
Require | bool |
Flag to add and return if target type Component does not exist in GameObject |