Ejemplo n.º 1
0
 private static void CreateDebugBuild()
 {
     GameObjectExtend.Instantiate(Resources.Load <GameObject>("DebugBuild"), "DebugUI");
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create GameObject in the pool
 /// </summary>
 /// <param name = "name"> The name of Gameobject</param>
 private GameObject IstantiateNewObject(string name)
 {
     return(GameObjectExtend.Instantiate(prefab, name, Vector3.zero, Quaternion.identity, Pool.transform));
 }