Assets/Editor/Tool/ClientPackage.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Assets/Editor/Tool/ClientPackage_Standalone.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Assets/Editor/Video.meta | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Assets/Editor/Video/CreateRoleMovie.mp4 | 补丁 | 查看 | 原始文档 | blame | 历史 | |
Assets/Editor/Video/CreateRoleMovie.mp4.meta | 补丁 | 查看 | 原始文档 | blame | 历史 |
Assets/Editor/Tool/ClientPackage.cs
@@ -508,6 +508,7 @@ EditorUtility.SetDirty(newVersionConfig); SetIconAndSplashImage(versionName); SetCreateRoleAnimation(); PlayerSettings.companyName = "TheSecondWorld"; PlayerSettings.productName = newVersionConfig.productName; @@ -587,6 +588,22 @@ } } public static void SetCreateRoleAnimation() { var from = "Assets/Editor/Video/CreateRoleMovie.mp4"; var to = "Assets/StreamingAssets/CreateRoleMovie.mp4"; if (!Directory.Exists(Application.dataPath + "StreamingAssets")) { Directory.CreateDirectory(Application.dataPath + "StreamingAssets"); } if (AssetDatabase.LoadAssetAtPath<UnityEngine.Video.VideoClip>(to) == null) { AssetDatabase.CopyAsset(from, to); } } static BuildTargetGroup GetBuildTarget() { #if UNITY_ANDROID Assets/Editor/Tool/ClientPackage_Standalone.cs
@@ -362,6 +362,7 @@ EditorUtility.SetDirty(newVersionConfig); SetIconAndSplashImage(versionName); SetCreateRoleAnimation(); PlayerSettings.companyName = "TheSecondWorld"; PlayerSettings.productName = newVersionConfig.productName; @@ -432,4 +433,20 @@ PlayerSettings.SplashScreen.logos = new PlayerSettings.SplashScreenLogo[] { splashScreenLogo }; } public static void SetCreateRoleAnimation() { var from = "Assets/Editor/Video/CreateRoleMovie.mp4"; var to = "Assets/Resources/CreateRoleMovie.mp4"; if (!Directory.Exists(Application.dataPath + "Resources")) { Directory.CreateDirectory(Application.dataPath + "Resources"); } if (AssetDatabase.LoadAssetAtPath<UnityEngine.Video.VideoClip>(to) == null) { AssetDatabase.CopyAsset(from, to); } } } Assets/Editor/Video.meta
New file @@ -0,0 +1,9 @@ fileFormatVersion: 2 guid: 4deb7948e20b1b74f917b6efeb2f575a folderAsset: yes timeCreated: 1558320256 licenseType: Pro DefaultImporter: userData: assetBundleName: assetBundleVariant: Assets/Editor/Video/CreateRoleMovie.mp4Binary files differ
Assets/Editor/Video/CreateRoleMovie.mp4.meta