Пример #1
0
        public GameObject Load(UISceneType type)
        {
            GameObject go = null;

            //注意命名格式要和枚举一致 UI Root_Init
            go = ResourcesMrg.Instance.Load(ResourcesMrg.ResourceType.UIScene,
                                            string.Format("UI Root_{0}", type.ToString()));
            CurrentUIScene = go.GetComponent <UISceneViewBase>();
            return(go);
        }