ObjectExtensions.FindNonNullReference<T>
Extension Method in ObjectExtensions
Declaration
public static void FindNonNullReference<T>(this T obj)
where T : Object
Description
Finds a reference to the specified object type in the scene, and assigns the reference to the object if it exists.
Type Parameters
T | The type of object to find. |
Parameters
obj | The object to find the reference for. |