예제 #1
0
        public void CheckSlotState()
        {
            if (!item)
            {
                itemManager.SlotEmpty();
            }

            else if (item)
            {
                itemManager.SlotFill();
            }
        }
예제 #2
0
파일: Slot.cs 프로젝트: saszer/Unity_Slots
        public void CheckSlotState()
        {
            if (!item)
            {
                itemManager.SlotEmpty();
            }

            else if (item)  // if there's an icon in this slot
            {
                itemManager.SlotFill();
                if (itemManager.isDrop3DGame)
                {
                    Set3DObjectTransform();
                }
            }
        }