Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 1023 Bytes

Actor-GetComponentByTag-T-(string).md

File metadata and controls

22 lines (19 loc) · 1023 Bytes

Actor.GetComponentByTag<T>(string) Method

Returns the component of the actor if matches the specified type and tag

public T GetComponentByTag<T>(string tag)
    where T : UnrealEngine.Framework.ActorComponent;

Type parameters

T
The type of the component

Constraints ActorComponent

Parameters

tag System.String
The tag of the component

Returns

T
A component or null on failure