diff --git a/Product/setting/test_tab.bytes b/App/setting/test_tab.bytes similarity index 100% rename from Product/setting/test_tab.bytes rename to App/setting/test_tab.bytes diff --git a/Assets/CosmosEngine/Editor/CosmosEngineEditor/CBuildTools.cs b/Assets/CosmosEngine/Editor/CosmosEngineEditor/CBuildTools.cs index f697366..cf393b0 100644 --- a/Assets/CosmosEngine/Editor/CosmosEngineEditor/CBuildTools.cs +++ b/Assets/CosmosEngine/Editor/CosmosEngineEditor/CBuildTools.cs @@ -31,27 +31,8 @@ struct XVersionControlInfo static int PushedAssetCount = 0; - public event Action BeforeBuildAssetBundleEvent; - - // 鉤子函數, 動態改變某些打包行為 - public static bool HookFunc(System.Type classType, string funcName, params object[] args) - { - if (classType == null) - { - return false; - } - - MethodInfo methodInfo = classType.GetMethod(funcName, BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public); - if (methodInfo == null) - { - return false; - } - - CBase.Log("HookFunc- {0}:{1}", classType.Name, funcName); - methodInfo.Invoke(null, args); - - return true; - } + public static event Action BeforeBuildAssetBundleEvent; + public static event Action AfterBuildAssetBundleEvent; #region 打包功能 public static string MakeSureExportPath(string path, BuildTarget buildTarget) @@ -154,7 +135,11 @@ public static uint BuildAssetBundle(Object asset, string path, BuildTarget build string relativePath = path; path = MakeSureExportPath(path, buildTarget); - if ((prefabType == PrefabType.None && AssetDatabase.GetAssetPath(asset) == string.Empty) || + if (asset is Texture) + { + asset = asset; // Texutre不复制拷贝一份 + } + else if ((prefabType == PrefabType.None && AssetDatabase.GetAssetPath(asset) == string.Empty) || (prefabType == PrefabType.ModelPrefabInstance)) { tmpObj = (GameObject)GameObject.Instantiate(asset); @@ -166,8 +151,8 @@ public static uint BuildAssetBundle(Object asset, string path, BuildTarget build asset = PrefabUtility.GetPrefabParent(asset); } - - HookFunc(typeof(CBuildTools), "BeforeBuildAssetBundle", asset, path, relativePath); + if (BeforeBuildAssetBundleEvent != null) + BeforeBuildAssetBundleEvent(asset, path, relativePath); uint crc; BuildPipeline.BuildAssetBundle( @@ -186,8 +171,8 @@ public static uint BuildAssetBundle(Object asset, string path, BuildTarget build CBase.Log("生成文件: {0}", path); - - HookFunc(typeof(CBuildTools), "AfterBuildAssetBundle", asset, path, relativePath); + if (AfterBuildAssetBundleEvent != null) + AfterBuildAssetBundleEvent(asset, path, relativePath); return crc; } diff --git a/Assets/CosmosEngine/Editor/CosmosEngineEditor/CBuild_UI.cs b/Assets/CosmosEngine/Editor/CosmosEngineEditor/CBuild_UI.cs index e9888ed..a29ccd9 100644 --- a/Assets/CosmosEngine/Editor/CosmosEngineEditor/CBuild_UI.cs +++ b/Assets/CosmosEngine/Editor/CosmosEngineEditor/CBuild_UI.cs @@ -29,7 +29,11 @@ public partial class CBuild_UI : AutoBuildBase public override string GetDirectory() { return "UI"; } public override string GetExtention() { return "*.unity"; } - public static event Action Custom_BeginExport; + public static event Action BeginExportEvent; + public static event Action ExportCurrentUIEvent; + public static event Action ExportUIMenuEvent; + public static event Action EndExportEvent; + public static string GetBuildRelPath(string uiName) { @@ -39,7 +43,12 @@ public static string GetBuildRelPath(string uiName) public void ExportCurrentUI() { CreateTempPrefab(); - if (!CBuildTools.HookFunc(typeof(CBuild_UI), "Custom_ExportCurrentUI", this, UIScenePath, UIName, TempPanelObject)) + + if (ExportCurrentUIEvent != null) + { + ExportCurrentUIEvent(this, UIScenePath, UIName, TempPanelObject); + } + else { CBuildTools.BuildAssetBundle(TempPanelObject, GetBuildRelPath(UIName)); } @@ -48,7 +57,10 @@ public void ExportCurrentUI() public override void BeginExport() { - CBuildTools.HookFunc(typeof(CBuild_UI), "Custom_BeginExport", this); + if (BeginExportEvent != null) + { + BeginExportEvent(this); + } } public override void Export(string path) @@ -65,7 +77,10 @@ public override void Export(string path) public override void EndExport() { - CBuildTools.HookFunc(typeof(CBuild_UI), "Custom_EndExport", this); + if (EndExportEvent != null) + { + EndExportEvent(this); + } } @@ -208,8 +223,9 @@ public static void CreateUI() [MenuItem("CosmosEngine/UI/Export Current UI %&U")] public static void ExportUIMenu() { - CBuildTools.HookFunc(typeof(CBuild_UI), "Custom_ExportUIMenu"); - + if (ExportUIMenuEvent != null) + ExportUIMenuEvent(); + CBuild_UI uiBuild = new CBuild_UI(); if (!uiBuild.CheckUI(true)) return; diff --git a/Assets/CosmosEngine/Scripts/Utils/CCollisionDetector.cs.meta b/Assets/CosmosEngine/Editor/CosmosEngineEditor/CTestTools.cs.meta similarity index 78% rename from Assets/CosmosEngine/Scripts/Utils/CCollisionDetector.cs.meta rename to Assets/CosmosEngine/Editor/CosmosEngineEditor/CTestTools.cs.meta index 6e4830b..1584a71 100644 --- a/Assets/CosmosEngine/Scripts/Utils/CCollisionDetector.cs.meta +++ b/Assets/CosmosEngine/Editor/CosmosEngineEditor/CTestTools.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: da29b45b7140bc544bf56b0187c0cdaa +guid: 7f2a29f64ad3f5c42a3af2d382bd6f25 MonoImporter: serializedVersion: 2 defaultReferences: [] diff --git a/Assets/CosmosEngine/Scripts/BaseModules/UI/CUIManager.cs b/Assets/CosmosEngine/Scripts/BaseModules/UI/CUIManager.cs index fb98a40..9db2189 100644 --- a/Assets/CosmosEngine/Scripts/BaseModules/UI/CUIManager.cs +++ b/Assets/CosmosEngine/Scripts/BaseModules/UI/CUIManager.cs @@ -30,8 +30,8 @@ public class CUIManager : ICModule public Dictionary UIWindows = new Dictionary(); public bool UIRootLoaded = false; - public event System.Action OpenWindowEvent; - public event System.Action CloseWindowEvent; + public static event Action OnOpenEvent; + public static event Action OnCloseEvent; private CUIManager() { @@ -164,7 +164,8 @@ void OnDynamicWindowCallback(CUIController _ui, object[] _args) originArgs[i - 2] = _args[i]; InitWindow(_instanceUIState, uiBase, true, originArgs); - OnUIWindowLoaded(_instanceUIState, uiBase); + OnUIWindowLoadedCallbacks(_instanceUIState, uiBase); + } public void CloseWindow(Type t) @@ -179,9 +180,6 @@ public void CloseWindow() public void CloseWindow(string name) { - if (CloseWindowEvent != null) - CloseWindowEvent(name); - CUILoadState uiState; if (!UIWindows.TryGetValue(name, out uiState)) { @@ -195,6 +193,9 @@ public void CloseWindow(string name) } uiState.UIWindow.gameObject.SetActive(false); + + if (OnCloseEvent != null) + OnCloseEvent(uiState.UIWindow); uiState.UIWindow.OnClose(); if (!uiState.IsStaticUI) @@ -315,7 +316,7 @@ IEnumerator LoadUIAssetBundle(string path, string name, CUILoadState openState) uiBase.UIName = uiBase.UITemplateName = openState.Name; InitWindow(openState, uiBase, openState.OpenWhenFinish, openState.OpenArgs); - OnUIWindowLoaded(openState, uiBase); + OnUIWindowLoadedCallbacks(openState, uiBase); } @@ -382,16 +383,18 @@ public void CallUI(Action callback, params object[] args) where void OnOpen(CUILoadState uiState, params object[] args) { - if (OpenWindowEvent != null) - OpenWindowEvent(uiState.UIType); - CUIController uiBase = uiState.UIWindow; uiBase.OnPreOpen(); if (uiBase.gameObject.activeSelf) + { uiBase.OnClose(); + } else uiBase.gameObject.SetActive(true); + + if (OnOpenEvent != null) + OnOpenEvent(uiBase); uiBase.OnOpen(args); } @@ -407,7 +410,7 @@ void InitWindow(CUILoadState uiState, CUIController uiBase, bool open, params ob } } - void OnUIWindowLoaded(CUILoadState uiState, CUIController uiBase) + void OnUIWindowLoadedCallbacks(CUILoadState uiState, CUIController uiBase) { //if (openState.OpenWhenFinish) // 加载完打开 模式下,打开时执行回调 { diff --git a/Assets/CosmosEngine/Scripts/Bridges/CNGUIBridge.cs b/Assets/CosmosEngine/Scripts/Bridges/CNGUIBridge.cs index 0a9d0f3..6ee7ea9 100644 --- a/Assets/CosmosEngine/Scripts/Bridges/CNGUIBridge.cs +++ b/Assets/CosmosEngine/Scripts/Bridges/CNGUIBridge.cs @@ -55,6 +55,7 @@ void CreateUIRoot() CBase.Assert(UiRoot); UiRoot.scalingStyle = UIRoot.Scaling.ConstrainedOnMobiles; UiRoot.manualHeight = 1920; + UiRoot.manualWidth = 1080; GameObject panelRootObj = new GameObject("PanelRoot"); CTool.SetChild(panelRootObj.transform, uiRootobj.transform); diff --git a/Assets/CosmosEngine/Scripts/Utils/CTabReader.cs.meta b/Assets/CosmosEngine/Scripts/Utils/CTabReader.cs.meta new file mode 100644 index 0000000..bc422ae --- /dev/null +++ b/Assets/CosmosEngine/Scripts/Utils/CTabReader.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 18dddec43716a0f40bbbb9cb06e1e8f7 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/Assets/CosmosEngine/Scripts/Utils/ICTabReadble.cs.meta b/Assets/CosmosEngine/Scripts/Utils/ICTabReadble.cs.meta new file mode 100644 index 0000000..b338b5b --- /dev/null +++ b/Assets/CosmosEngine/Scripts/Utils/ICTabReadble.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ddfbc544a3d69ac41a65cb26152de07c +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/Assets/Editor/CosmosEngineEditor.meta b/Assets/CosmosEngine/Tests.meta similarity index 63% rename from Assets/Editor/CosmosEngineEditor.meta rename to Assets/CosmosEngine/Tests.meta index 68b1851..952d3ba 100644 --- a/Assets/Editor/CosmosEngineEditor.meta +++ b/Assets/CosmosEngine/Tests.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 5c6d19a15a372474e913a75e08b5e1b6 +guid: 6c1a18fa58312604fab8264330e61f5f folderAsset: yes DefaultImporter: userData: diff --git a/Assets/CosmosEngine/Demo/CFiber.meta b/Assets/CosmosEngine/Tests/CFiber.meta similarity index 100% rename from Assets/CosmosEngine/Demo/CFiber.meta rename to Assets/CosmosEngine/Tests/CFiber.meta diff --git a/Assets/CosmosEngine/Demo/CFiber/CFiber(SuperCoroutine).unity b/Assets/CosmosEngine/Tests/CFiber/CFiber(SuperCoroutine).unity similarity index 100% rename from Assets/CosmosEngine/Demo/CFiber/CFiber(SuperCoroutine).unity rename to Assets/CosmosEngine/Tests/CFiber/CFiber(SuperCoroutine).unity diff --git a/Assets/CosmosEngine/Demo/CFiber/CFiber(SuperCoroutine).unity.meta b/Assets/CosmosEngine/Tests/CFiber/CFiber(SuperCoroutine).unity.meta similarity index 100% rename from Assets/CosmosEngine/Demo/CFiber/CFiber(SuperCoroutine).unity.meta rename to Assets/CosmosEngine/Tests/CFiber/CFiber(SuperCoroutine).unity.meta diff --git a/Assets/CosmosEngine/Demo/CFiber/CFiber_Demo.cs b/Assets/CosmosEngine/Tests/CFiber/CFiber_Demo.cs similarity index 96% rename from Assets/CosmosEngine/Demo/CFiber/CFiber_Demo.cs rename to Assets/CosmosEngine/Tests/CFiber/CFiber_Demo.cs index b666e72..9c65bb6 100644 --- a/Assets/CosmosEngine/Demo/CFiber/CFiber_Demo.cs +++ b/Assets/CosmosEngine/Tests/CFiber/CFiber_Demo.cs @@ -1,54 +1,54 @@ -//------------------------------------------------------------------------------ -// -// CosmosEngine - The Lightweight Unity3D Game Develop Framework -// -// Version 0.8 (20140904) -// Copyright © 2011-2014 -// MrKelly <23110388@qq.com> -// https://github.com/mr-kelly/CosmosEngine -// -//------------------------------------------------------------------------------ -using UnityEngine; -using System.Collections; - - -public class CFiber_Demo : MonoBehaviour -{ - void Start() - { - CFiber.Instance.PlayCoroutine(TestCo()); - } - - IEnumerator TestCo() - { - yield return new WaitForSeconds(1f); - Debug.Log("Success! Wait For seconds" + Time.time); - - yield return new CustomWaitForMileSeconds(3000); - Debug.Log("Success! Wait For mileseconds" + Time.time); - - Debug.Log("Over TestCo"); - } -} - - -public class CustomWaitForMileSeconds : CFiberBase -{ - private int MileSeconds; - - private float StartTime; - - public CustomWaitForMileSeconds(int mileseconds) - { - MileSeconds = mileseconds; - StartTime = Time.time; - } - - public override IEnumerator Wait() - { - float endTime = StartTime + (float)MileSeconds / 1000f; - while (Time.time < endTime) - yield return null; - } - -} +//------------------------------------------------------------------------------ +// +// CosmosEngine - The Lightweight Unity3D Game Develop Framework +// +// Version 0.8 (20140904) +// Copyright © 2011-2014 +// MrKelly <23110388@qq.com> +// https://github.com/mr-kelly/CosmosEngine +// +//------------------------------------------------------------------------------ +using UnityEngine; +using System.Collections; + + +public class CFiber_Demo : MonoBehaviour +{ + void Start() + { + CFiber.Instance.PlayCoroutine(TestCo()); + } + + IEnumerator TestCo() + { + yield return new WaitForSeconds(1f); + Debug.Log("Success! Wait For seconds" + Time.time); + + yield return new CustomWaitForMileSeconds(3000); + Debug.Log("Success! Wait For mileseconds" + Time.time); + + Debug.Log("Over TestCo"); + } +} + + +public class CustomWaitForMileSeconds : CFiberBase +{ + private int MileSeconds; + + private float StartTime; + + public CustomWaitForMileSeconds(int mileseconds) + { + MileSeconds = mileseconds; + StartTime = Time.time; + } + + public override IEnumerator Wait() + { + float endTime = StartTime + (float)MileSeconds / 1000f; + while (Time.time < endTime) + yield return null; + } + +} diff --git a/Assets/CosmosEngine/Demo/CFiber/CFiber_Demo.cs.meta b/Assets/CosmosEngine/Tests/CFiber/CFiber_Demo.cs.meta similarity index 100% rename from Assets/CosmosEngine/Demo/CFiber/CFiber_Demo.cs.meta rename to Assets/CosmosEngine/Tests/CFiber/CFiber_Demo.cs.meta diff --git a/Assets/Editor/CBuild_Audio.cs.meta b/Assets/Editor/CBuild_Audio.cs.meta new file mode 100644 index 0000000..fcf94cd --- /dev/null +++ b/Assets/Editor/CBuild_Audio.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 69554663b6d9c7b4383e26cb03b83850 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/Assets/Plugins/Editor/NGUIEditor.meta b/Assets/Plugins/Editor/NGUIEditor.meta deleted file mode 100644 index 3aeb795..0000000 --- a/Assets/Plugins/Editor/NGUIEditor.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: dfbfb9fb9d3beb5459f9669a6ac5ef50 -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/Product/UI/DemoHome.unity b/Assets/Product/UI/DemoHome.unity index 0526a1c..08dbd8c 100644 --- a/Assets/Product/UI/DemoHome.unity +++ b/Assets/Product/UI/DemoHome.unity @@ -614,7 +614,7 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 2082452486} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -.703812301, y: 0, z: 0} + m_LocalPosition: {x: .646900237, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 1549786181} diff --git a/Assets/Resources/CEngineConfig.txt b/Assets/Resources/CEngineConfig.txt index 6afced7..a4274eb 100644 --- a/Assets/Resources/CEngineConfig.txt +++ b/Assets/Resources/CEngineConfig.txt @@ -1,6 +1,6 @@ -Key Value Comment -ProductRelPath ../Product -AssetBundleRelPath StreamingAssets -AssetBundleExt .unity3d base -IsLoadAssetBundle 1 -UIBridgeType NGUI +Key Value Comment +ProductRelPath ../App +AssetBundleRelPath StreamingAssets +AssetBundleExt .unity3d base +IsLoadAssetBundle 1 +UIBridgeType NGUI diff --git a/Assets/StreamingAssets/Win32/UI/DemoHome_UI.unity3d b/Assets/StreamingAssets/Win32/UI/DemoHome_UI.unity3d index ac3bb8e..167baee 100644 Binary files a/Assets/StreamingAssets/Win32/UI/DemoHome_UI.unity3d and b/Assets/StreamingAssets/Win32/UI/DemoHome_UI.unity3d differ diff --git a/Docs/structure.vsdx b/Docs/structure.vsdx new file mode 100644 index 0000000..3bd0484 Binary files /dev/null and b/Docs/structure.vsdx differ diff --git a/Docs/ui_module.png b/Docs/ui_module.png new file mode 100644 index 0000000..d31b147 Binary files /dev/null and b/Docs/ui_module.png differ diff --git a/Docs/ui_module.vsdx b/Docs/ui_module.vsdx new file mode 100644 index 0000000..dd3a27e Binary files /dev/null and b/Docs/ui_module.vsdx differ diff --git a/Docs/~$$ui_module.~vsdx b/Docs/~$$ui_module.~vsdx new file mode 100644 index 0000000..ed2d2fa Binary files /dev/null and b/Docs/~$$ui_module.~vsdx differ diff --git a/README.md b/README.md index 133f697..e20ba80 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,10 @@ * [特性](#cn-feature) * [约定](#cn-convention) * [整体架构图](#cn-structure) +* [目录结构简介](#cn-directories) +* [基础模块使用](#cn-base-modules) + * [资源模块(ResourceModule)](#cn-module-resource) + * [用户界面模块(UIModule)](#cn-module-ui) * [使用经验](#cn-exp) * [工作流](#cn-workflow) * [未来功能](#cn-future) @@ -22,10 +26,6 @@ [回目录](#cn-title) - - - - 简介 ------------------ CosmosEngine - Unity3D /2D 轻量级模块化游戏开发框架,包含轻量级的代码和常用模块,提供一定的编程范式作约束和工作流程,旨在减少开发人员的重复工作和做决定的次数。 @@ -103,8 +103,71 @@ CosmosEngine中的所有设计,都基于这个开始思考的。 [回目录](#cn-title) +目录结构简介 +---------------------------------------------- +(TODO) + +[回目录](#cn-title) + +基础模块使用 +---------------------------------------------- +CosmosEngine有两个基础模块:资源模块和UI模块,它们是底层模块,默认必须加载。(参看CCosmosEngine.cs) + + +### 资源模块(ResourceModule) + +资源模块包含了模块主体(CResourceModule.cs)和一系列的资源加载器(如CTextureLoader纹理加载、CAudioLoader音频加载)。 +* 模块主体,CResourceModule主要负责路径初始化,分别处理在Android/iOS/PC平台下不同的资源读取路径。 +* 各系列的加载,如CTextureLoader等,负责实际的资源加载。至于加载的指定资源,是在CResourceModule中就被配置好的。 +注意的是,资源加载器的使用,既可以协程,也可以回调的形式,比如: + +加载一个游戏对象,完成后输出一个日志 +方法一: +```c# +IEnumerator DoLoad() +{ + var assetLoader = new CAssetLoader("a_obj.unity3d"); + while (!assetLoader.IsFinished) + yield return null; + + CBase.Log("Finish load!"); +} +``` + +方法二: + +```csharp +void DoLoad() +{ + new CAssetLoader("a_obj.unity3d", (obj, args)=>{ + CBase.Log("Finish load!"); + }); +} +``` + +### 用户界面模块(UIModule) + +![UIModule of CosmosEngine](https://raw.githubusercontent.com/mr-kelly/CosmosEngine/master/Docs/ui_module.png) +UI模块主要用于模仿MVC设计模式的V和C层: +* C即Controller,控制器,代表一个独立的脚本,以CUI开头并继承CUIController +* V即View, 视图,代表一个prefab、或GameObject + +CosmosEngine菜单的UI菜单中,提供UI的打包工具,支持把一个UI打包成AssetBundle。 +基于约定由于配置的方式,在使用UIModule时,比如制作了一个UI叫Login登录界面,那么制作UI时命名Login,新建一个脚本CUILogin,并对UI进行打包。那么在CUIModule使用: + +```csharp +CUIModule.Instance.OpenWindow(); +``` + +由于CosmosEngine中所有资源采用异步加载的方式,因此对UI的脚本调用时使用回调进行的: + +```C# +CUIModule.Instance.CallUI(ui=> ui.DoStuff()); +``` + +[回目录](#cn-title) 使用经验 ---------------------------------------------- diff --git a/logs/game.log b/logs/game.log new file mode 100644 index 0000000..d7b1097 --- /dev/null +++ b/logs/game.log @@ -0,0 +1,180 @@ +[22:04:13.5426] ==================================================================================== + +=============================================================================== + +[22:04:13.5866] Application.platform = WindowsEditor + +=============================================================================== + +[22:04:13.5956] Application.dataPath = F:/LocalCode/CosmosEngine/Assets , WritePermission: True + +=============================================================================== + +[22:04:13.6076] Application.streamingAssetsPath = F:/LocalCode/CosmosEngine/Assets/StreamingAssets , WritePermission: True + +=============================================================================== + +[22:04:13.6246] Application.persistentDataPath = C:/Users/Mrkelly/AppData/LocalLow/DefaultCompany/CosmosEngineBootstrap , WritePermission: True + +=============================================================================== + +[22:04:13.6366] Application.temporaryCachePath = C:/Users/Mrkelly/AppData/Local/Temp/DefaultCompany/CosmosEngineBootstrap , WritePermission: True + +=============================================================================== + +[22:04:13.6466] Application.unityVersion = 4.5.1f3 + +=============================================================================== + +[22:04:13.6576] SystemInfo.deviceModel = Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz (8131 MB) + +=============================================================================== + +[22:04:13.9376] SystemInfo.deviceUniqueIdentifier = 0e552d4c2e6c44a06dd48e9c240d722c21b4b554 + +=============================================================================== + +[22:04:13.9486] ==================================================================================== + +=============================================================================== + +[22:04:13.9656] ResourceManager ApplicationPath: file:///F:/LocalCode/CosmosEngine/Assets\../App/ + +=============================================================================== + +[22:04:13.9846] ResourceManager ResourcesPath: file:///F:/LocalCode/CosmosEngine/Assets\StreamingAssets/Win32/ + +=============================================================================== + +[22:04:14.0016] ResourceManager DocumentResourcesPath: file:///F:/LocalCode/CosmosEngine/Assets/../Temp/UnityWinPersistentDataPath/StreamingAssets/Win32/ + +=============================================================================== + +[22:04:14.0176] ================================================================================ + +=============================================================================== + +[22:04:14.1366] Init Module: #CResourceManager# Time:0.02 + +=============================================================================== + +[22:04:14.6326] Init Module: #CUIManager# Time:0.3333333 + +=============================================================================== + +[22:04:14.6386] Finish Init ResourceManager + UIManager! + +=============================================================================== + +[22:04:14.6446] Begin Load tab file... + +=============================================================================== + +[22:04:14.6546] Output the tab file... + +=============================================================================== + +[22:04:14.6696] Id:1, Name: Test Field + +=============================================================================== + +[22:04:14.6826] Id:2, Name: Test Field 2 + +=============================================================================== + +[22:04:14.7607] Init Module: #CGameSettings# Time:0.131787 + +=============================================================================== + +[22:04:36.6469] 生成文件: F:\LocalCode\CosmosEngine\Assets\StreamingAssets\Win32/UI/DemoHome_UI.unity3d + +=============================================================================== + +[22:04:42.5022] ==================================================================================== + +=============================================================================== + +[22:04:42.5202] Application.platform = WindowsEditor + +=============================================================================== + +[22:04:42.5292] Application.dataPath = F:/LocalCode/CosmosEngine/Assets , WritePermission: True + +=============================================================================== + +[22:04:42.5402] Application.streamingAssetsPath = F:/LocalCode/CosmosEngine/Assets/StreamingAssets , WritePermission: True + +=============================================================================== + +[22:04:42.5612] Application.persistentDataPath = C:/Users/Mrkelly/AppData/LocalLow/DefaultCompany/CosmosEngineBootstrap , WritePermission: True + +=============================================================================== + +[22:04:42.5762] Application.temporaryCachePath = C:/Users/Mrkelly/AppData/Local/Temp/DefaultCompany/CosmosEngineBootstrap , WritePermission: True + +=============================================================================== + +[22:04:42.5862] Application.unityVersion = 4.5.1f3 + +=============================================================================== + +[22:04:42.5972] SystemInfo.deviceModel = Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz (8131 MB) + +=============================================================================== + +[22:04:42.6082] SystemInfo.deviceUniqueIdentifier = 0e552d4c2e6c44a06dd48e9c240d722c21b4b554 + +=============================================================================== + +[22:04:42.6172] ==================================================================================== + +=============================================================================== + +[22:04:42.6322] ResourceManager ApplicationPath: file:///F:/LocalCode/CosmosEngine/Assets\../App/ + +=============================================================================== + +[22:04:42.6472] ResourceManager ResourcesPath: file:///F:/LocalCode/CosmosEngine/Assets\StreamingAssets/Win32/ + +=============================================================================== + +[22:04:42.6602] ResourceManager DocumentResourcesPath: file:///F:/LocalCode/CosmosEngine/Assets/../Temp/UnityWinPersistentDataPath/StreamingAssets/Win32/ + +=============================================================================== + +[22:04:42.6782] ================================================================================ + +=============================================================================== + +[22:04:42.7913] Init Module: #CResourceManager# Time:0.02 + +=============================================================================== + +[22:04:43.2453] Init Module: #CUIManager# Time:0.3333333 + +=============================================================================== + +[22:04:43.2503] Finish Init ResourceManager + UIManager! + +=============================================================================== + +[22:04:43.2553] Begin Load tab file... + +=============================================================================== + +[22:04:43.2653] Output the tab file... + +=============================================================================== + +[22:04:43.2773] Id:1, Name: Test Field + +=============================================================================== + +[22:04:43.2873] Id:2, Name: Test Field 2 + +=============================================================================== + +[22:04:43.3463] Init Module: #CGameSettings# Time:0.1037215 + +=============================================================================== +