Example #1
0
    void UpdateActiveSlot()
    {
        switch (ActiveSlot)
        {
        case 1:
            waterSlot.Select();
            dirtSlot.UnSelect();
            break;

        case 2:
            waterSlot.UnSelect();
            dirtSlot.Select();
            break;

        default:
            break;
        }
    }