Actor-GetComponentByTag-T-(string).md
April 18, 2021 ยท View on GitHub
UnrealEngine.Framework.Actor
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
Constraints ActorComponent
Parameters
tag System.String
The tag of the component
Returns
T
A component or null on failure