Home »Action Reference»UnityObject Actions»Get Component
Index

Get Component

Gets a Component attached to a GameObject and stores it in an Object variable.

NOTE: Set the Object variable's Object Type to get a component of that type. E.g., set Object Type to UnityEngine.AudioListener to get the AudioListener component on the camera.

Game Object
The Game Object that owns the component.
Store Component
Store the component in an Object variable.
Every Frame
Repeat every frame.

 

Workflow Hints