| | |
| | | /Snxxz_Android.userprefs |
| | | /Assets/VSCode.meta |
| | | /Assets/VSCode |
| | | /Assets/Plugins/Android |
| | |
| | | --- !u!114 &11400000 |
| | | MonoBehaviour: |
| | | m_ObjectHideFlags: 0 |
| | | m_PrefabParentObject: {fileID: 0} |
| | | m_PrefabInternal: {fileID: 0} |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_GameObject: {fileID: 0} |
| | | m_Enabled: 1 |
| | | m_EditorHideFlags: 0 |
| | |
| | | public class AssetSourceSettings : EditorWindow |
| | | { |
| | | |
| | | private bool allFromEditor; |
| | | private bool audioFromEditor; |
| | | private bool effectFromEditor; |
| | | private bool mobFromEditor; |
| | | private bool refdataFromEditor; |
| | | private bool shaderFromEditor; |
| | | private bool sceneFromEditor; |
| | | private bool uiFromEditor; |
| | | private bool builtInFromEditor; |
| | | |
| | | [MenuItem("Tools/资源加载方式")] |
| | | public static void ShowWindow() |
| | | { |
| | |
| | | // 针对某一些打包的特殊性, 这里特指依赖的第三方库含有资源的问题
|
| | | // 这里对有这种特型的渠道的sdk在打包的时候差异化gradle文件
|
| | | // 更名原有文件
|
| | | string _gradleTemplateUrl = EditorApplication.applicationContentsPath + "/PlaybackEngines/AndroidPlayer/Tools/GradleTemplates/";
|
| | | string _gradleFileUrl = _gradleTemplateUrl + "mainTemplate.gradle";
|
| | | string _diffGradleFileUrl = StringUtility.Contact(_sdkPath, "/GradleDiff/", versionConfig.appId, "/mainTemplate.gradle");
|
| | | FileInfo _fileInfo = new FileInfo(_diffGradleFileUrl);
|
| | | // string _gradleTemplateUrl = EditorApplication.applicationContentsPath + "/PlaybackEngines/AndroidPlayer/Tools/GradleTemplates/";
|
| | | // string _gradleFileUrl = _gradleTemplateUrl + "mainTemplate.gradle";
|
| | | // string _diffGradleFileUrl = StringUtility.Contact(_sdkPath, "/GradleDiff/", versionConfig.appId, "/mainTemplate.gradle");
|
| | | // FileInfo _fileInfo = new FileInfo(_diffGradleFileUrl);
|
| | |
|
| | | if (!_fileInfo.Exists)
|
| | | {
|
| | | EditorUtility.DisplayDialog("警告", "Gradle模式需要配置差异文件,但是没有找到该文件: " + _diffGradleFileUrl, "@Hale");
|
| | | return;
|
| | | }
|
| | | // if (!_fileInfo.Exists)
|
| | | // {
|
| | | // EditorUtility.DisplayDialog("警告", "Gradle模式需要配置差异文件,但是没有找到该文件: " + _diffGradleFileUrl, "@Hale");
|
| | | // return;
|
| | | // }
|
| | |
|
| | | _fileInfo.CopyTo(_gradleFileUrl, true);
|
| | | // _fileInfo.CopyTo(_gradleFileUrl, true);
|
| | |
|
| | | // 移动配置文件至打包工作目录中
|
| | |
|
| | | PlayerSettings.Android.keystoreName = Application.dataPath + "/Editor/Keystore/" + versionConfig.keystoreFileName + ".keystore";
|
| | | var keystorePath = Application.dataPath + "/Editor/Keystore/" + versionConfig.keystoreFileName + ".keystore";
|
| | | if (!File.Exists(keystorePath))
|
| | | {
|
| | | Debug.LogError("签名文件不存在");
|
| | | return;
|
| | | }
|
| | | PlayerSettings.Android.keystoreName = keystorePath;
|
| | | PlayerSettings.Android.keystorePass = versionConfig.keystorePassword;
|
| | | PlayerSettings.Android.keyaliasName = versionConfig.keystoreAlias;
|
| | | PlayerSettings.Android.keyaliasPass = versionConfig.keystoreAliasPassword;
|
| | | PlayerSettings.Android.targetSdkVersion = AndroidSdkVersions.AndroidApiLevel22;
|
| | | // PlayerSettings.Android.targetSdkVersion = AndroidSdkVersions.AndroidApiLevel22;
|
| | | PlayerSettings.Android.bundleVersionCode = VersionConfig.GetVersionNumber(versionConfig.version);
|
| | |
|
| | | PlayerSettings.enableInternalProfiler = _development;
|
| | |
| | | --- !u!114 &11400000 |
| | | MonoBehaviour: |
| | | m_ObjectHideFlags: 0 |
| | | m_PrefabParentObject: {fileID: 0} |
| | | m_PrefabInternal: {fileID: 0} |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_GameObject: {fileID: 0} |
| | | m_Enabled: 1 |
| | | m_EditorHideFlags: 0 |
| | |
| | | m_AppId: test |
| | | m_SpID: |
| | | m_VersionAuthority: 0 |
| | | m_Version: 1.100.1 |
| | | m_Version: 2.0.600 |
| | | m_ClientPackageFlag: aaa |
| | | m_Branch: 0 |
| | | m_AssetAccess: 3 |
| | | m_PartAssetPackage: 0 |
| | | m_ProductName: "\u5C11\u5E74\u4FEE\u4ED9\u4F20" |
| | | m_Branch: 2 |
| | | m_AssetAccess: 2 |
| | | m_PartAssetPackage: 1 |
| | | m_ProductName: "\u4ED9\u5B9D\u5947\u7F18" |
| | | m_BundleIdentifier: com.secondworld.snxxz |
| | | m_KeystoreFileName: thesecondworld |
| | | m_KeystorePassword: thesecondworld2018 |
| | | m_KeystoreAlias: thesecondworld |
| | | m_KeystoreAliasPassword: thesecondworld2018 |
| | | m_AppleDeveloperTeamID: |
| | | m_DebugVersion: 1 |
| | | m_DebugVersion: 0 |
| | | m_IsBanShu: 0 |
| | | m_BuildTime: 18/08/06--16:39 |
| | | m_BuildIndex: 100 |
| | | m_BuildTime: 20/11/17--15:01 |
| | | m_BuildIndex: 37 |
| | | m_LogoPosition: {x: -32, y: 144} |
| | | m_BanHao: |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 5ffba793fcd073b4ab51e7b6c397aabf |
| | | timeCreated: 1603279013 |
| | | licenseType: Free |
| | | NativeFormatImporter: |
| | | mainObjectFileID: 11400000 |
| | | externalObjects: {} |
| | | mainObjectFileID: 0 |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| | |
| | | - {fileID: 4800000, guid: 57e6deea7c2924e22a5138e2b70bb4dc, type: 3} |
| | | - {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0} |
| | | - {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0} |
| | | - {fileID: 16003, guid: 0000000000000000f000000000000000, type: 0} |
| | | m_PreloadedShaders: [] |
| | | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, |
| | | type: 0} |
| | |
| | | useOnDemandResources: 0 |
| | | accelerometerFrequency: 0 |
| | | companyName: TheSecondWorld |
| | | productName: "\u5C11\u5E74\u5947\u4FA0\u4F20" |
| | | productName: "\u4ED9\u5B9D\u5947\u7F18" |
| | | defaultCursor: {fileID: 0} |
| | | cursorHotspot: {x: 0, y: 0} |
| | | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} |
| | |
| | | 16:10: 1 |
| | | 16:9: 1 |
| | | Others: 1 |
| | | bundleVersion: 10.1000.1 |
| | | bundleVersion: 2000600 |
| | | preloadedAssets: [] |
| | | metroInputSource: 0 |
| | | wsaTransparentSwapchain: 0 |
| | |
| | | Standalone: com.secondworld.snxxz |
| | | iPhone: com.secondworld.snxxz |
| | | buildNumber: {} |
| | | AndroidBundleVersionCode: 1 |
| | | AndroidMinSdkVersion: 19 |
| | | AndroidBundleVersionCode: 2000600 |
| | | AndroidMinSdkVersion: 21 |
| | | AndroidTargetSdkVersion: 0 |
| | | AndroidPreferredInstallLocation: 0 |
| | | aotOptions: |
| | |
| | | templateDefaultScene: |
| | | AndroidTargetArchitectures: 1 |
| | | AndroidSplashScreenScale: 2 |
| | | androidSplashScreen: {fileID: 2800000, guid: c5496d4d4e002dd4a89fafc536f41554, type: 3} |
| | | AndroidKeystoreName: H:/ProjS1_Android/Assets/Editor/Keystore/thesecondworld.keystore |
| | | androidSplashScreen: {fileID: 2800000, guid: 179f9801f106906489c8b6bcc9896c8a, type: 3} |
| | | AndroidKeystoreName: '{inproject}: Assets/Editor/Keystore/thesecondworld.keystore' |
| | | AndroidKeyaliasName: thesecondworld |
| | | AndroidBuildApkPerCpuArchitecture: 0 |
| | | AndroidTVCompatibility: 0 |
| | |
| | | m_Width: 29 |
| | | m_Height: 29 |
| | | m_Kind: 37245328 |
| | | m_BuildTargetPlatformIcons: [] |
| | | m_BuildTargetPlatformIcons: |
| | | - m_BuildTarget: Android |
| | | m_Icons: |
| | | - m_Textures: [] |
| | | m_Width: 432 |
| | | m_Height: 432 |
| | | m_Kind: 2 |
| | | m_SubKind: |
| | | - m_Textures: [] |
| | | m_Width: 324 |
| | | m_Height: 324 |
| | | m_Kind: 2 |
| | | m_SubKind: |
| | | - m_Textures: [] |
| | | m_Width: 216 |
| | | m_Height: 216 |
| | | m_Kind: 2 |
| | | m_SubKind: |
| | | - m_Textures: [] |
| | | m_Width: 162 |
| | | m_Height: 162 |
| | | m_Kind: 2 |
| | | m_SubKind: |
| | | - m_Textures: [] |
| | | m_Width: 108 |
| | | m_Height: 108 |
| | | m_Kind: 2 |
| | | m_SubKind: |
| | | - m_Textures: [] |
| | | m_Width: 81 |
| | | m_Height: 81 |
| | | m_Kind: 2 |
| | | m_SubKind: |
| | | - m_Textures: [] |
| | | m_Width: 192 |
| | | m_Height: 192 |
| | | m_Kind: 1 |
| | | m_SubKind: |
| | | - m_Textures: [] |
| | | m_Width: 144 |
| | | m_Height: 144 |
| | | m_Kind: 1 |
| | | m_SubKind: |
| | | - m_Textures: [] |
| | | m_Width: 96 |
| | | m_Height: 96 |
| | | m_Kind: 1 |
| | | m_SubKind: |
| | | - m_Textures: [] |
| | | m_Width: 72 |
| | | m_Height: 72 |
| | | m_Kind: 1 |
| | | m_SubKind: |
| | | - m_Textures: [] |
| | | m_Width: 48 |
| | | m_Height: 48 |
| | | m_Kind: 1 |
| | | m_SubKind: |
| | | - m_Textures: [] |
| | | m_Width: 36 |
| | | m_Height: 36 |
| | | m_Kind: 1 |
| | | m_SubKind: |
| | | - m_Textures: |
| | | - {fileID: 2800000, guid: 0118954b3e1a44f4a8971d4be333ae29, type: 3} |
| | | m_Width: 192 |
| | | m_Height: 192 |
| | | m_Kind: 0 |
| | | m_SubKind: |
| | | - m_Textures: |
| | | - {fileID: 2800000, guid: 0118954b3e1a44f4a8971d4be333ae29, type: 3} |
| | | m_Width: 144 |
| | | m_Height: 144 |
| | | m_Kind: 0 |
| | | m_SubKind: |
| | | - m_Textures: |
| | | - {fileID: 2800000, guid: 0118954b3e1a44f4a8971d4be333ae29, type: 3} |
| | | m_Width: 96 |
| | | m_Height: 96 |
| | | m_Kind: 0 |
| | | m_SubKind: |
| | | - m_Textures: |
| | | - {fileID: 2800000, guid: 0118954b3e1a44f4a8971d4be333ae29, type: 3} |
| | | m_Width: 72 |
| | | m_Height: 72 |
| | | m_Kind: 0 |
| | | m_SubKind: |
| | | - m_Textures: |
| | | - {fileID: 2800000, guid: 0118954b3e1a44f4a8971d4be333ae29, type: 3} |
| | | m_Width: 48 |
| | | m_Height: 48 |
| | | m_Kind: 0 |
| | | m_SubKind: |
| | | - m_Textures: |
| | | - {fileID: 2800000, guid: 0118954b3e1a44f4a8971d4be333ae29, type: 3} |
| | | m_Width: 36 |
| | | m_Height: 36 |
| | | m_Kind: 0 |
| | | m_SubKind: |
| | | m_BuildTargetBatching: [] |
| | | m_BuildTargetEncrypting: [] |
| | | m_BuildTargetGraphicsJobs: |
| | |
| | | gcIncremental: 0 |
| | | gcWBarrierValidation: 0 |
| | | apiCompatibilityLevelPerPlatform: |
| | | Android: 3 |
| | | Android: 6 |
| | | iPhone: 3 |
| | | m_RenderingPath: 1 |
| | | m_MobileRenderingPath: 1 |
| | |
| | | m_EditorVersion: 2019.4.13f1c1 |
| | | m_EditorVersionWithRevision: 2019.4.13f1c1 (ddecf0c37a3b) |
| | | m_EditorVersion: 2019.4.14f1c1 |
| | | m_EditorVersionWithRevision: 2019.4.14f1c1 (2f34c1dda2fd) |