Esempio n. 1
0
 /// <summary>
 /// Gets the pooled object with ObjectPoolItems enum and given position, rotation
 /// </summary>
 public GameObject GetPooledObject(ObjectPoolItems itemName, Transform posRot, bool activeState = false)
 {
     return(GetPooledObject(itemName.ToString(), posRot, activeState));
 }
Esempio n. 2
0
 /// <summary>
 /// Gets the pooled object with ObjectPoolItems enum
 /// </summary>
 public GameObject GetPooledObject(ObjectPoolItems item, bool activeState = false)
 {
     return(GetPooledObject(item.ToString(), activeState));
 }
Esempio n. 3
0
 /// <summary>
 /// Gets the pooled object with ObjectPoolItems enum and given position
 /// </summary>
 public GameObject GetPooledObject(ObjectPoolItems itemName, Vector3 pos, bool activeState = false)
 {
     return(GetPooledObject(itemName.ToString(), pos, activeState));
 }