Table of Contents

TryGet

Methods
public static TRet TryGet<TObj, TRet>(this TObj component, Func<TObj, TRet> getter) where TObj : class
Parameters
Type Name Description
TObj component
Func<TObj, TRet> getter
Returns
Type Description
TRet
Type Parameters
Name Description
TObj
TRet