| PoolHelperGetPrefabT Method (T) |
Gets the prefab that was used to spawn instance.
Namespace:
Archon.SwissArmyLib.Pooling
Assembly:
Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static T GetPrefab<T>(
T instance
)
where T : Object
Request Example
View SourceParameters
- instance
- Type: T
The instance to get the prefab for.
Type Parameters
- T
- The type of the instance.
Return Value
Type:
TThe prefab for the instance, or null if not found.
See Also