From 1597c0834701bfcf16ffa47d4e1d32a84a6e436d Mon Sep 17 00:00:00 2001 From: stelledge <1030110910@qq.com> Date: Thu, 18 Mar 2021 20:58:42 +0800 Subject: [PATCH] android platform transplant? file read failling --- Assembly-CSharp.csproj | 11 +- Assets/Plugins/Android/AndroidManifest.xml | 18 +++ Assets/Scenes/gameplay.unity | 167 +++++++++++++++++++++ Assets/scripts/MusicData.cs | 13 +- Assets/scripts/MusicLoader.cs | 13 +- Assets/scripts/MusicPlayer.cs | 13 +- Assets/scripts/MusicWheelItem.cs | 1 - Assets/scripts/debugtext.cs | 88 +++++++++++ ProjectSettings/GraphicsSettings.asset | 1 + ProjectSettings/ProjectSettings.asset | 117 +++++++++++++-- 10 files changed, 418 insertions(+), 24 deletions(-) create mode 100644 Assets/Plugins/Android/AndroidManifest.xml create mode 100644 Assets/scripts/debugtext.cs diff --git a/Assembly-CSharp.csproj b/Assembly-CSharp.csproj index d7fdce6..e8d4aae 100644 --- a/Assembly-CSharp.csproj +++ b/Assembly-CSharp.csproj @@ -22,7 +22,7 @@ full false Temp\bin\Debug\ - DEBUG;TRACE;UNITY_2019_4_20;UNITY_2019_4;UNITY_2019;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_6_OR_NEWER;UNITY_2017_1_OR_NEWER;UNITY_2017_2_OR_NEWER;UNITY_2017_3_OR_NEWER;UNITY_2017_4_OR_NEWER;UNITY_2018_1_OR_NEWER;UNITY_2018_2_OR_NEWER;UNITY_2018_3_OR_NEWER;UNITY_2018_4_OR_NEWER;UNITY_2019_1_OR_NEWER;UNITY_2019_2_OR_NEWER;UNITY_2019_3_OR_NEWER;UNITY_2019_4_OR_NEWER;PLATFORM_ARCH_64;UNITY_64;UNITY_INCLUDE_TESTS;ENABLE_AR;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_EVENT_QUEUE;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_TEXTURE_STREAMING;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_VR;ENABLE_WEBCAM;ENABLE_UNITYWEBREQUEST;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_SERVICES_USE_WEBREQUEST;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_HUB_LICENSE;ENABLE_WEBSOCKET_CLIENT;ENABLE_DIRECTOR_AUDIO;ENABLE_DIRECTOR_TEXTURE;ENABLE_MANAGED_JOBS;ENABLE_MANAGED_TRANSFORM_JOBS;ENABLE_MANAGED_ANIMATION_JOBS;ENABLE_MANAGED_AUDIO_JOBS;INCLUDE_DYNAMIC_GI;ENABLE_MONO_BDWGC;ENABLE_SCRIPTING_GC_WBARRIERS;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;ENABLE_VIDEO;PLATFORM_STANDALONE;PLATFORM_STANDALONE_WIN;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_OUT_OF_PROCESS_CRASH_HANDLER;ENABLE_CLUSTER_SYNC;ENABLE_CLUSTERINPUT;GFXDEVICE_WAITFOREVENT_MESSAGEPUMP;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;NET_STANDARD_2_0;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;ENABLE_UNITY_COLLECTIONS_CHECKS;ENABLE_BURST_AOT;UNITY_TEAM_LICENSE;ENABLE_VSTU;ENABLE_CUSTOM_RENDER_TEXTURE;ENABLE_DIRECTOR;ENABLE_LOCALIZATION;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_TILEMAP;ENABLE_TIMELINE;ENABLE_LEGACY_INPUT_MANAGER;CSHARP_7_OR_LATER;CSHARP_7_3_OR_NEWER + DEBUG;TRACE;UNITY_2019_4_20;UNITY_2019_4;UNITY_2019;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_6_OR_NEWER;UNITY_2017_1_OR_NEWER;UNITY_2017_2_OR_NEWER;UNITY_2017_3_OR_NEWER;UNITY_2017_4_OR_NEWER;UNITY_2018_1_OR_NEWER;UNITY_2018_2_OR_NEWER;UNITY_2018_3_OR_NEWER;UNITY_2018_4_OR_NEWER;UNITY_2019_1_OR_NEWER;UNITY_2019_2_OR_NEWER;UNITY_2019_3_OR_NEWER;UNITY_2019_4_OR_NEWER;UNITY_INCLUDE_TESTS;ENABLE_AR;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_EVENT_QUEUE;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_TEXTURE_STREAMING;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_VR;ENABLE_WEBCAM;ENABLE_UNITYWEBREQUEST;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_SERVICES_USE_WEBREQUEST;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_CLOUD_SERVICES_NATIVE_CRASH_REPORTING;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_HUB_LICENSE;ENABLE_WEBSOCKET_CLIENT;ENABLE_DIRECTOR_AUDIO;ENABLE_DIRECTOR_TEXTURE;ENABLE_MANAGED_JOBS;ENABLE_MANAGED_TRANSFORM_JOBS;ENABLE_MANAGED_ANIMATION_JOBS;ENABLE_MANAGED_AUDIO_JOBS;ENABLE_RUNTIME_PERMISSIONS;ENABLE_ENGINE_CODE_STRIPPING;ENABLE_ONSCREEN_KEYBOARD;INCLUDE_DYNAMIC_GI;ENABLE_MONO_BDWGC;ENABLE_SCRIPTING_GC_WBARRIERS;PLATFORM_SUPPORTS_MONO;ENABLE_VIDEO;PLATFORM_ANDROID;UNITY_ANDROID;UNITY_ANDROID_API;ENABLE_EGL;ENABLE_NETWORK;ENABLE_RUNTIME_GI;ENABLE_CRUNCH_TEXTURE_COMPRESSION;PLATFORM_SUPPORTS_ADS_ID;UNITY_CAN_SHOW_SPLASH_SCREEN;UNITY_HAS_GOOGLEVR;UNITY_HAS_TANGO;ENABLE_SPATIALTRACKING;UNITY_ASTC_ONLY_DECOMPRESS;ENABLE_UNITYADS_RUNTIME;UNITY_UNITYADS_API;ENABLE_MONO;NET_STANDARD_2_0;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;ENABLE_UNITY_COLLECTIONS_CHECKS;ENABLE_BURST_AOT;UNITY_TEAM_LICENSE;ENABLE_VSTU;ENABLE_CUSTOM_RENDER_TEXTURE;ENABLE_DIRECTOR;ENABLE_LOCALIZATION;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_TILEMAP;ENABLE_TIMELINE;ENABLE_LEGACY_INPUT_MANAGER;CSHARP_7_OR_LATER;CSHARP_7_3_OR_NEWER prompt 4 0169 @@ -49,7 +49,7 @@ Unity/VSTU 4.9.1.0 Game:1 - StandaloneWindows64:19 + Android:13 2019.4.20f1c1 @@ -84,6 +84,7 @@ + C:/Program Files/Unity/Hub/Editor/2019.4.20f1c1/Editor/Data/Managed/UnityEngine/UnityEngine.dll @@ -111,12 +112,6 @@ C:/Program Files/Unity/Hub/Editor/2019.4.20f1c1/Editor/Data/Managed/UnityEngine/UnityEngine.ClothModule.dll - - C:/Program Files/Unity/Hub/Editor/2019.4.20f1c1/Editor/Data/Managed/UnityEngine/UnityEngine.ClusterInputModule.dll - - - C:/Program Files/Unity/Hub/Editor/2019.4.20f1c1/Editor/Data/Managed/UnityEngine/UnityEngine.ClusterRendererModule.dll - C:/Program Files/Unity/Hub/Editor/2019.4.20f1c1/Editor/Data/Managed/UnityEngine/UnityEngine.CoreModule.dll diff --git a/Assets/Plugins/Android/AndroidManifest.xml b/Assets/Plugins/Android/AndroidManifest.xml new file mode 100644 index 0000000..c23e562 --- /dev/null +++ b/Assets/Plugins/Android/AndroidManifest.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + diff --git a/Assets/Scenes/gameplay.unity b/Assets/Scenes/gameplay.unity index fb7b2a9..ffdeae8 100644 --- a/Assets/Scenes/gameplay.unity +++ b/Assets/Scenes/gameplay.unity @@ -476,6 +476,7 @@ RectTransform: - {fileID: 85128991} - {fileID: 676209737} - {fileID: 775839459} + - {fileID: 2000048559} m_Father: {fileID: 0} m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -3989,6 +3990,172 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1919517976} m_CullTransparentMesh: 0 +--- !u!1 &2000048558 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2000048559} + - component: {fileID: 2000048562} + - component: {fileID: 2000048561} + - component: {fileID: 2000048560} + m_Layer: 5 + m_Name: DebugText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2000048559 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2000048558} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 195393353} + m_RootOrder: 7 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -305.5, y: -259.2} + m_SizeDelta: {x: 397.09326, y: 37.579346} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &2000048560 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2000048558} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c867419884d8c8942a0824a97f7c012a, type: 3} + m_Name: + m_EditorClassIdentifier: + style: + m_Name: + m_Normal: + m_Background: {fileID: 0} + m_ScaledBackgrounds: [] + m_TextColor: {r: 0, g: 0, b: 0, a: 1} + m_Hover: + m_Background: {fileID: 0} + m_ScaledBackgrounds: [] + m_TextColor: {r: 0, g: 0, b: 0, a: 1} + m_Active: + m_Background: {fileID: 0} + m_ScaledBackgrounds: [] + m_TextColor: {r: 0, g: 0, b: 0, a: 1} + m_Focused: + m_Background: {fileID: 0} + m_ScaledBackgrounds: [] + m_TextColor: {r: 0, g: 0, b: 0, a: 1} + m_OnNormal: + m_Background: {fileID: 0} + m_ScaledBackgrounds: [] + m_TextColor: {r: 0, g: 0, b: 0, a: 1} + m_OnHover: + m_Background: {fileID: 0} + m_ScaledBackgrounds: [] + m_TextColor: {r: 0, g: 0, b: 0, a: 1} + m_OnActive: + m_Background: {fileID: 0} + m_ScaledBackgrounds: [] + m_TextColor: {r: 0, g: 0, b: 0, a: 1} + m_OnFocused: + m_Background: {fileID: 0} + m_ScaledBackgrounds: [] + m_TextColor: {r: 0, g: 0, b: 0, a: 1} + m_Border: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_Margin: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_Overflow: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_Font: {fileID: 0} + m_FontSize: 0 + m_FontStyle: 0 + m_Alignment: 0 + m_WordWrap: 0 + m_RichText: 1 + m_TextClipping: 0 + m_ImagePosition: 0 + m_ContentOffset: {x: 0, y: 0} + m_FixedWidth: 0 + m_FixedHeight: 0 + m_StretchWidth: 1 + m_StretchHeight: 0 + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 0 + height: 0 + IntervalSize: 16 + ClearTime: 1 +--- !u!114 &2000048561 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2000048558} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: +--- !u!222 &2000048562 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2000048558} + m_CullTransparentMesh: 0 --- !u!1 &2115507993 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/scripts/MusicData.cs b/Assets/scripts/MusicData.cs index 7aedb4e..3e25baf 100644 --- a/Assets/scripts/MusicData.cs +++ b/Assets/scripts/MusicData.cs @@ -46,7 +46,7 @@ public static int GetWheelItemCount() public class MusicDataPath { public static string MUSICPATH_DEBUG = "D:/Unitykit/MusicData/"; - + public static string MUSICPATH_ANDROID = Application.persistentDataPath+ "/MusicData/"; public static string MUSICPATH = System.Environment.CurrentDirectory+"/MusicData/"; //result: X:\xxx\xxx(.exe文件所在的目录) } @@ -83,3 +83,14 @@ public MusicFolder(){ musicdata = new List(); } } + +public static class FileManager +{ + public static byte[] ReadBytes(string path) + { + byte[] bytes = new byte[0]; + //在这里做文件读取 + + return bytes; + } +} \ No newline at end of file diff --git a/Assets/scripts/MusicLoader.cs b/Assets/scripts/MusicLoader.cs index a1f4e09..5970dd5 100644 --- a/Assets/scripts/MusicLoader.cs +++ b/Assets/scripts/MusicLoader.cs @@ -27,7 +27,13 @@ public static void InitMusicLoader() { MUSICPATH = MusicDataPath.MUSICPATH_DEBUG; } - + if (!Directory.Exists(MUSICPATH)) + { + MUSICPATH = MusicDataPath.MUSICPATH_ANDROID; + } + //MUSICPATH = MusicDataPath.MUSICPATH_ANDROID; + debugtext.Add("MyDebug", "MUSICPATH " + MUSICPATH); + Debug.Log("MUSICPATH " + MUSICPATH); musicfolders = new List(); MusicFolder temp_musicfolder; MusicData temp_music = new MusicData(); @@ -50,8 +56,8 @@ public static void InitMusicLoader() temp_musicfolder.musicdata.Clear(); foreach(string[] info in musiclist){ //temp_music.SetMusicData(info); - info[6] = MUSICPATH + musicsets[i].Name + '/' + info[6]; - info[7] = MUSICPATH + musicsets[i].Name + '/' + info[7]; + info[6] = MUSICPATH + musicsets[i].Name + "//" + info[6]; + info[7] = MUSICPATH + musicsets[i].Name + "//" + info[7]; temp_musicfolder.musicdata.Add(new MusicData(info)); } Debug.Log( "Loaded pack csv:" + musicsets[i].Name ); @@ -112,7 +118,6 @@ private static void ReadAndLoadMusicFolderAsync(object obj) { MusicFolder mf = obj as MusicFolder; Debug.Log("Start loading " + mf.Name); - AudioClip clip; foreach (MusicData md in mf.musicdata) { //string musicfilepath = cLocalPath + md.music; diff --git a/Assets/scripts/MusicPlayer.cs b/Assets/scripts/MusicPlayer.cs index a3c7526..3560aa4 100644 --- a/Assets/scripts/MusicPlayer.cs +++ b/Assets/scripts/MusicPlayer.cs @@ -76,8 +76,15 @@ public static void LoadAudio(string audioName, string path) { return; } + if (!File.Exists(path)) + { + Debug.Log("No such file:" + path); + debugtext.Add("MyDebug", "No such file: " + path); + } + AudioClip clip; FileStream fileStream = new FileStream(path, FileMode.Open, FileAccess.Read); + debugtext.Add("Music Loading",path); fileStream.Seek(0, SeekOrigin.Begin); //创建文件长度缓冲区 byte[] bytes = new byte[fileStream.Length]; @@ -87,15 +94,19 @@ public static void LoadAudio(string audioName, string path) fileStream.Close(); fileStream.Dispose(); fileStream = null; + /* if (bytes.Length != 0) { //WWW www = new WWW(musicfilepath); clip = NAudioPlayer.FromMp3Data(bytes); + } else { clip = null; - } + debugtext.Add("MyDebug", "Load " + audioName + "failed"); + }*/ + clip = NAudioPlayer.FromMp3Data(bytes); audioDic.Add(audioName, clip); Debug.Log("Load " + audioName); } diff --git a/Assets/scripts/MusicWheelItem.cs b/Assets/scripts/MusicWheelItem.cs index a929d2a..8b22ce0 100644 --- a/Assets/scripts/MusicWheelItem.cs +++ b/Assets/scripts/MusicWheelItem.cs @@ -121,7 +121,6 @@ public void ButtonClicked() fileStream.Close(); fileStream.Dispose(); fileStream = null; - //创建Texture //int width = 570; //int height = 880; diff --git a/Assets/scripts/debugtext.cs b/Assets/scripts/debugtext.cs new file mode 100644 index 0000000..e6c5c41 --- /dev/null +++ b/Assets/scripts/debugtext.cs @@ -0,0 +1,88 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class debugtext : MonoBehaviour +{ + static List messages = new List(); + static List names = new List(); + + public GUIStyle style = null; + public Rect rect; + + public float IntervalSize = 24; + //绘制持续时间(秒) + public float ClearTime = 5; + float nowTime = 0; + + void Start() + { + } + + void Update() + { + if (nowTime < ClearTime) + nowTime += Time.deltaTime; + else + { + messages.Clear(); + names.Clear(); + nowTime = 0; + } + } + + void OnGUI() + { + Display(); + } + + void Display() + { + for (int i = 0; i < names.Count; i++) + { + GUI.Box(new Rect(0, i * IntervalSize, rect.width, rect.height), + names[i] + " : " + messages[i], style); + } + + } + + public static void Add(string name, string message) + { + if (names.Contains(name) == false) + { + names.Add(name); + messages.Add(message); + } + else + { + for (int i = 0; i < names.Count; i++) + { + if (names[i] == name) + { + messages[i] = message; + break; + } + } + + } + } + + public static void Add(string name, object mess) + { + string message = mess.ToString(); + Add(name, message); + } + + public static void Add(string name, bool mess) + { + string message; + + if (mess == true) + message = mess.ToString() + "~~~~~~~"; + else + message = mess.ToString() + "....."; + + Add(name, message); + } + +} diff --git a/ProjectSettings/GraphicsSettings.asset b/ProjectSettings/GraphicsSettings.asset index 0dca0e0..b0ec2cf 100644 --- a/ProjectSettings/GraphicsSettings.asset +++ b/ProjectSettings/GraphicsSettings.asset @@ -35,6 +35,7 @@ GraphicsSettings: - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0} - {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} diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index e4ea30c..401f95a 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -12,7 +12,7 @@ PlayerSettings: targetDevice: 2 useOnDemandResources: 0 accelerometerFrequency: 60 - companyName: DefaultCompany + companyName: stelledge productName: Nijigen Music Master defaultCursor: {fileID: 0} cursorHotspot: {x: 0, y: 0} @@ -60,8 +60,8 @@ PlayerSettings: androidShowActivityIndicatorOnLoading: -1 iosUseCustomAppBackgroundBehavior: 0 iosAllowHTTPDownload: 1 - allowedAutorotateToPortrait: 1 - allowedAutorotateToPortraitUpsideDown: 1 + allowedAutorotateToPortrait: 0 + allowedAutorotateToPortraitUpsideDown: 0 allowedAutorotateToLandscapeRight: 1 allowedAutorotateToLandscapeLeft: 1 useOSAutorotation: 1 @@ -131,7 +131,7 @@ PlayerSettings: 16:10: 1 16:9: 1 Others: 1 - bundleVersion: 0.1 + bundleVersion: 0.1.2.x preloadedAssets: [] metroInputSource: 0 wsaTransparentSwapchain: 0 @@ -172,13 +172,13 @@ PlayerSettings: m_ColorGamuts: 00000000 targetPixelDensity: 30 resolutionScalingMode: 0 - androidSupportedAspectRatio: 1 + androidSupportedAspectRatio: 0 androidMaxAspectRatio: 2.1 applicationIdentifier: Standalone: com.Company.ProductName buildNumber: {} AndroidBundleVersionCode: 1 - AndroidMinSdkVersion: 19 + AndroidMinSdkVersion: 26 AndroidTargetSdkVersion: 0 AndroidPreferredInstallLocation: 1 aotOptions: @@ -186,7 +186,7 @@ PlayerSettings: iPhoneStrippingLevel: 0 iPhoneScriptCallOptimization: 0 ForceInternetPermission: 0 - ForceSDCardPermission: 0 + ForceSDCardPermission: 1 CreateWallpaper: 0 APKExpansionFiles: 0 keepLoadedShadersAlive: 0 @@ -271,8 +271,107 @@ PlayerSettings: androidGamepadSupportLevel: 0 AndroidValidateAppBundleSize: 1 AndroidAppBundleSizeToValidate: 150 - m_BuildTargetIcons: [] - m_BuildTargetPlatformIcons: [] + m_BuildTargetIcons: + - m_BuildTarget: + m_Icons: + - serializedVersion: 2 + m_Icon: {fileID: 2800000, guid: 1a43137618cf80d4bb9a3859996d5ac6, type: 3} + m_Width: 128 + m_Height: 128 + m_Kind: 0 + 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: 0 + m_SubKind: + - m_Textures: [] + m_Width: 144 + m_Height: 144 + m_Kind: 0 + m_SubKind: + - m_Textures: [] + m_Width: 96 + m_Height: 96 + m_Kind: 0 + m_SubKind: + - m_Textures: [] + m_Width: 72 + m_Height: 72 + m_Kind: 0 + m_SubKind: + - m_Textures: [] + m_Width: 48 + m_Height: 48 + m_Kind: 0 + m_SubKind: + - m_Textures: [] + m_Width: 36 + m_Height: 36 + m_Kind: 0 + 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_BuildTargetBatching: [] m_BuildTargetEncrypting: [] m_BuildTargetGraphicsJobs: