public static GameObject Spawn(this GameObject prefab, Transform parent, Vector3 position, string name = "") { return(SpacePool.FinalSpawn(prefab, parent, position, Quaternion.identity, name)); }
public static GameObject Spawn(this GameObject prefab, string name = "") { return(SpacePool.FinalSpawn(prefab, null, Vector3.zero, Quaternion.identity, name)); }
public static GameObject Spawn(this GameObject prefab, Vector3 position, Quaternion rotation, string name = "") { return(SpacePool.FinalSpawn(prefab, null, position, rotation, name)); }