Redigera

Dela via


SystemTarget.GetComponent<TComponent> Method

Definition

Gets the component with the specified type.

public TComponent GetComponent<TComponent> ();
member this.GetComponent : unit -> 'Component
Public Function GetComponent(Of TComponent) () As TComponent

Type Parameters

TComponent

The component type.

Returns

TComponent

The component with the specified type.

Implements

Applies to