Ejemplo n.º 1
0
 private void Awake()
 {
     if (instance != null)
     {
         GameObject.DestroyImmediate(instance.gameObject);
         Debug.LogError("additional weatherqueue found. deleting the older one");
     }
     instance = this;
     // Debug.Log("defined instance");
 }
Ejemplo n.º 2
0
 public ShapeQueue()
 {
     m_instance = this;
     FillQueue();
 }
Ejemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     m_shapeQueue = new ShapeQueue();
     BuildScene();
 }