示例#1
0
    void SlotDropped()
    {
        slot_dropping = false;

        if (nearby_slot != null)
        {
            if (transform.position != slot_attempt_pos)
            {
                return;
            }

            nearby_slot.GetComponent <Slot>().SlotDrop(this);

            if (!is_titan)
            {
                slot_streak = player_HUD.AddSlotToken();
            }

            nearby_slot = null;
        }
    }