예제 #1
0
    public override void onRightClick()
    {
        PopupWorkerStats popup = Main.instance.findPopup <PopupWorkerStats>();

        if (popup != null)
        {
            popup.open();
            popup.setWorker(this);
        }
    }
예제 #2
0
    public void callback_click()
    {
        PopupWorkerStats popup = Main.instance.findPopup <PopupWorkerStats>();

        if (popup != null)
        {
            popup.openAdditive();
            popup.setWorker(this.worker);
        }
    }