GetComponent(ITargetHolder)
staticextension
public static TComponent? GetComponent<TComponent>(this ITargetHolder targetHolder) Gets the component with the specified type.
Parameters
targetHolderITargetHolder- The target holder from which to retrieve the component.
Returns
The component with the specified type.
