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); }