Exemple #1
0
    void Start()
    {
        if (!UIController)
        {
            throw(new UnityException("I need a canvas with a UI Inventory component attached, when created, drag it into the UI Controller field!"));
        }

        UIController.Refresh();
    }