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); }
public EventUI(Vector2 pos) { _windowRect = new Rect(pos, _windowSize); _popupUI = new PopupUI(Utils.EVENT_WINDOW_ID_POP); _partSelector = new PartSelector(this.SelectPart); }