checkInventoryModual()

private void checkInventoryModual(bool inv)
    {
        InventoryModual.SetActive(inv);
        if (inv)
        {
            toDrag.GetComponent().sprite = null;
            toDrag.GetComponent().material = null;
            toDrag.SetActive(true);
        }
    }


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *