Actor-GetComponentByID-T-(uint).md
April 18, 2021 ยท View on GitHub
UnrealEngine.Framework.Actor
Actor.GetComponentByID<T>(uint) Method
Returns the component of the actor if matches the specified type and ID
public T GetComponentByID<T>(uint id)
where T : UnrealEngine.Framework.ActorComponent;
Type parameters
Constraints ActorComponent
Parameters
id System.UInt32
The ID of the component
Returns
T
A component or null on failure