public override void onRightClick() { PopupWorkerStats popup = Main.instance.findPopup <PopupWorkerStats>(); if (popup != null) { popup.open(); popup.setWorker(this); } }
public void callback_click() { PopupWorkerStats popup = Main.instance.findPopup <PopupWorkerStats>(); if (popup != null) { popup.openAdditive(); popup.setWorker(this.worker); } }