Ultimate Pooling Scripting Reference
UltimatePoolspawn Method (String) |
Spawn an instance of a prefab with the specified name.
The prefab name is the same name used when creating the pool, or if no name is used then the name of the prefab supplied is substituted.
This method will only succeed if the pool has been created before hand.
Namespace: UltimatePooling
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0

public static GameObject spawn( string prefabName )
UltimatePooling.UltimatePool.spawn = function(prefabName);
Parameters
- prefabName
- Type: SystemString
The name of the prefab to spawn from
Return Value
Type: GameObjectAn instance of the prefab with the specified name
