void Start()
 {
     shipEditorInstance = GetComponent <ShipEditor>();
     InitializeMasterPanel();
     foreach (var subPanel in subPanels)
     {
         InitSubPanel(subPanel);
     }
 }
Пример #2
0
 public void Start()
 {
     ActiveItems   = new List <GameObject>();
     DanglingItems = new List <GameObject> ();
     if (instance)
     {
         Debug.LogWarning("More than one ShipEditor Instance");
         return;
     }
     instance = this;
 }