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