示例#1
0
    public void Populate()
    {
        inventory  = GGlobal.Instance().Party.Inventory;
        categories = ItemCategory.AllCategories();

        scrollOffset         = 0;
        categoryCursor       = 0;
        transitioning        = false;
        ItemDescription.text = "";
        ImageIcon.sprite     = null;

        ReloadCategory();
        categoryMode = (categoryItems.Count == 0);
        UpdateDisplay();
    }