UltimatePool.spawn Method

Ultimate Pooling

UltimatePoolspawn Method
Overload List
  Name Description
Public method Static member spawn(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.
Public method Static member spawn(Component)
Spawn an instance of the specified component prefab from the appropriate pool. If no pool exists, then one is automatically created for the prefab type.
Public method Static member spawnT(Component)
Spawn an instance of the specified component prefab from the appropriate pool. If no pool exists, then one is automatically created for the prefab type.
Public method Static member spawn(GameObject)
Spawn an instance of the specified prefab from the appropriate pool. If no pool exists, then one is automatically created for the prefab type.
Public method Static member spawn(String, Vector3, Quaternion)
Spawn an instance of a prefab with the specified name. This method will only succeed if the pool has been created before hand.
Public method Static member spawn(Component, Vector3, Quaternion)
Spawn an instance of the specified component prefab from the appropriate pool. If no pool exists, then one is automatically created for the component prefab type.
Public method Static member spawnT(Component, Vector3, Quaternion)
Spawn an instance of the specified component prefab from the appropriate pool. If no pools exists, then one is automatically created for the component prefab type.
Public method Static member spawn(GameObject, Vector3, Quaternion)
Spawn an instance of the specified prefab from the appropriate pool. If no pool exists, then one is automatically created for the prefab type.
Top
See Also