GameObject.GetComponent

Output Component from GameObject.

GameObject.GetComponent

Properties

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