Click or drag to resize

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
C#
public static Object GetPrefab(
	Object instance
)
Request Example View Source

Parameters

instance
Type: Object
The instance to get the prefab for.

Return Value

Type: Object
The prefab for the instance, or null if not found.
See Also