GameObject.GetComponent

Output Component from GameObject.

GameObject.GetComponent

Property

Game Object GameObject
Component Component
Always Get Component Whether to always GetComponent.
If false, GetComponent contents once cached until the GameObject is updated.