Esempio n. 1
0
 public ActionUI(Vector2 pos)
 {
     _windowRect   = new Rect(pos, _windowSize);
     _listRect     = new Rect(0, 0, LEFT_PANEL_WIDTH, _windowSize.y);
     _mainRect     = new Rect(LEFT_PANEL_WIDTH, 0, _windowSize.x - LEFT_PANEL_WIDTH, _windowSize.y);
     _popupUI      = new PopupUI(Utils.ACTION_WINDOW_ID_POP);
     _partSelector = new PartSelector(this.SelectPart);
 }
Esempio n. 2
0
 public EventUI(Vector2 pos)
 {
     _windowRect   = new Rect(pos, _windowSize);
     _popupUI      = new PopupUI(Utils.EVENT_WINDOW_ID_POP);
     _partSelector = new PartSelector(this.SelectPart);
 }