Ejemplo n.º 1
0
    void FillCarryFrom(int slot)
    {
        GameObject storedObject = storedObjects[slot];

        carrier.ContinueCarry(storedObject);
        storedObjects[slot] = null;
        Debug.Log("fill carry " + slot);

        Carriable carriable = storedObject.GetComponent <Carriable>();

        statsScript.RemoveStatsChange(carriable.statsChangeOnStored);

        InventoryUpdateEvent();
    }