Exemplo n.º 1
0
 public GameObject Spawn(Vector3 localPosition, Quaternion localRotation, Vector3 localScale)
 {
     return(SimplePoolManager.Spawn(this, localPosition, localRotation, localScale));
 }
Exemplo n.º 2
0
 public GameObject Spawn()
 {
     return(SimplePoolManager.Spawn(this, Vector3.zero, Quaternion.Euler(Vector3.zero), Vector3.one));
 }
Exemplo n.º 3
0
 public GameObject Spawn(Vector3 localPosition)
 {
     return(SimplePoolManager.Spawn(this, localPosition, Quaternion.Euler(Vector3.zero), Vector3.one));
 }
Exemplo n.º 4
0
 public static GameObject Spawn(this GameObject prefab)
 {
     return(SimplePoolManager.Spawn(prefab));
 }
Exemplo n.º 5
0
 public static GameObject Spawn(GameObject prefab, Vector3 position, Quaternion rotation)
 {
     return(SimplePoolManager.Spawn(prefab, position, rotation));
 }
Exemplo n.º 6
0
 public static GameObject Spawn(PoolInfo info, Vector3 position, Quaternion rotation)
 {
     return(SimplePoolManager.Spawn(info, position, rotation));
 }
Exemplo n.º 7
0
 //If you forget how to use it :P
 public static GameObject Spawn(PoolInfo info)
 {
     return(SimplePoolManager.Spawn(info));
 }
Exemplo n.º 8
0
 public GameObject Spawn(Vector3 position, Quaternion rotation)
 {
     return(SimplePoolManager.Spawn(this, position, rotation));
 }
Exemplo n.º 9
0
 public GameObject Spawn()
 {
     return(SimplePoolManager.Spawn(this));
 }
Exemplo n.º 10
0
 public static GameObject Spawn(this GameObject prefab, Vector3 position)
 {
     return(SimplePoolManager.Spawn(prefab, position));
 }