Пример #1
0
    public void PortUISetup(int portID)
    {
        if (portID == 5)
        {
            reducer     = 3;
            rUI.enabled = true;
            rUI.AssignImage(portID);
            selectRsourceExchange = false;
        }
        else
        {
            reducer = 2;
            rUI.AssignImage(portID);
            rUI.enabled = false;

            SetResource(portID);
        }

        portUI.SetActive(true);
    }