| PoolHelperGetPrefab Method (Object) |
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 Object GetPrefab(
Object instance
)
Request Example
View SourceParameters
- instance
- Type: Object
The instance to get the prefab for.
Return Value
Type:
ObjectThe prefab for the instance, or null if not found.
See Also