Esempio n. 1
0
    public override void LoadingEnd()
    {
        model.SetSlotCount();

        view = CreateView <InventoryView>();
        view.AddEvent(OnEventChangeCategory, Exit);
        view.SetSlotCount(model.inventorySlotCount, model.inventorySlotCountMax);

        int categoryIndex = PlayerPrefs.GetInt("InventoryCategory", 0);

        OnEventChangeCategory(categoryIndex);
    }