GameObject.GetComponent

Output Component from GameObject.

GameObject.GetComponent

Properties

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