/// <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)); }
/// <summary> /// Gets the pooled object with ObjectPoolItems enum /// </summary> public GameObject GetPooledObject(ObjectPoolItems item, bool activeState = false) { return(GetPooledObject(item.ToString(), activeState)); }
/// <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)); }