Пример #1
0
    private void ActiveView(UIData view, bool needRefresh = true)
    {
        if (view == null)
        {
            return;
        }
        UIViewBase baseView = view.gameObject.GetComponent <UIViewBase>();

        view.gameObject.SetActive(true);
        if (baseView != null && needRefresh)
        {
            baseView.OnRefresh();
        }
    }