コード例 #1
0
    protected override void Interact()
    {
        GUIPanel panel = GameHandler.instance.OpenGui();

        if (!isBuilt)
        {
            buildingRequirement.onSelected.boundBuilding = this;
            panel.Display(new SelectableOption[] { buildingRequirement });
        }
        else
        {
            panel.Display(transactions);
        }
    }