├── .gitignore ├── Assets ├── Editor.meta ├── Editor │ ├── XCodePostProcessBuild.cs │ └── XCodePostProcessBuild.cs.meta ├── Plugins.meta ├── Plugins │ ├── Android.meta │ ├── Android │ │ ├── AndroidManifest.xml │ │ └── AndroidManifest.xml.meta │ ├── BuglyPlugins.meta │ └── BuglyPlugins │ │ ├── Android.meta │ │ ├── Android │ │ ├── Bugly_aar_4.0.4.aar │ │ ├── Bugly_aar_4.0.4.aar.meta │ │ ├── libs.meta │ │ └── libs │ │ │ ├── arm64-v8a.meta │ │ │ ├── arm64-v8a │ │ │ ├── libBugly.so │ │ │ └── libBugly.so.meta │ │ │ ├── armeabi-v7a.meta │ │ │ ├── armeabi-v7a │ │ │ ├── libBugly.so │ │ │ └── libBugly.so.meta │ │ │ ├── buglyagent.jar │ │ │ ├── buglyagent.jar.meta │ │ │ ├── x86.meta │ │ │ ├── x86 │ │ │ ├── libBugly.so │ │ │ └── libBugly.so.meta │ │ │ ├── x86_64.meta │ │ │ └── x86_64 │ │ │ ├── libBugly.so │ │ │ └── libBugly.so.meta │ │ ├── BuglyAgent.cs │ │ ├── BuglyAgent.cs.meta │ │ ├── BuglyCallback.cs │ │ ├── BuglyCallback.cs.meta │ │ ├── BuglyInit.cs │ │ ├── BuglyInit.cs.meta │ │ ├── iOS.meta │ │ └── iOS │ │ ├── Bugly.framework.meta │ │ ├── Bugly.framework │ │ ├── Bugly │ │ ├── Bugly.meta │ │ ├── Headers.meta │ │ ├── Headers │ │ │ ├── Bugly.h │ │ │ ├── Bugly.h.meta │ │ │ ├── BuglyConfig.h │ │ │ ├── BuglyConfig.h.meta │ │ │ ├── BuglyLog.h │ │ │ └── BuglyLog.h.meta │ │ ├── Modules.meta │ │ └── Modules │ │ │ ├── module.modulemap │ │ │ └── module.modulemap.meta │ │ ├── BuglyBridge.meta │ │ └── BuglyBridge │ │ ├── BuglyBridge.h │ │ ├── BuglyBridge.h.meta │ │ ├── libBuglyBridge.a │ │ └── libBuglyBridge.a.meta ├── Scenes.meta └── Scenes │ ├── Sample.cs │ ├── Sample.cs.meta │ ├── SampleScene.unity │ └── SampleScene.unity.meta ├── LICENSE ├── Packages ├── manifest.json └── packages-lock.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── MemorySettings.asset ├── NavMeshAreas.asset ├── PackageManagerSettings.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset ├── VersionControlSettings.asset └── boot.config └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | # 3 | # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /[Bb]uilds/ 10 | /[Ll]ogs/ 11 | /[Mm]emoryCaptures/ 12 | 13 | # Asset meta data should only be ignored when the corresponding asset is also ignored 14 | !/[Aa]ssets/**/*.meta 15 | 16 | # Uncomment this line if you wish to ignore the asset store tools plugin 17 | # /[Aa]ssets/AssetStoreTools* 18 | 19 | # Autogenerated Jetbrains Rider plugin 20 | [Aa]ssets/Plugins/Editor/JetBrains* 21 | 22 | # Visual Studio cache directory 23 | .vs/ 24 | 25 | # Gradle cache directory 26 | .gradle/ 27 | 28 | # Autogenerated VS/MD/Consulo solution and project files 29 | ExportedObj/ 30 | .consulo/ 31 | *.csproj 32 | *.unityproj 33 | *.sln 34 | *.suo 35 | *.tmp 36 | *.user 37 | *.userprefs 38 | *.pidb 39 | *.booproj 40 | *.svd 41 | *.pdb 42 | *.mdb 43 | *.opendb 44 | *.VC.db 45 | 46 | # Unity3D generated meta files 47 | *.pidb.meta 48 | *.pdb.meta 49 | *.mdb.meta 50 | 51 | # Unity3D generated file on crash reports 52 | sysinfo.txt 53 | 54 | # Builds 55 | *.apk 56 | *.unitypackage 57 | 58 | # Crashlytics generated file 59 | crashlytics-build.properties 60 | 61 | -------------------------------------------------------------------------------- /Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f5c339cbc312094682e78fb4e3f4788 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Editor/XCodePostProcessBuild.cs: -------------------------------------------------------------------------------- 1 | #if UNITY_IOS 2 | using System; 3 | using System.Collections; 4 | using System.Collections.Generic; 5 | using System.IO; 6 | using UnityEditor; 7 | using UnityEditor.Callbacks; 8 | using UnityEditor.iOS.Xcode; 9 | using UnityEngine; 10 | 11 | public static class XCodePostProcessBuild 12 | { 13 | [PostProcessBuild(int.MaxValue)] 14 | public static void OnPostProcessBuild(BuildTarget target, string pathToBuiltProject) 15 | { 16 | if (target != BuildTarget.iOS) 17 | { 18 | Debug.LogWarning("Target is not iOS. XCodePostProcessBuild will not run"); 19 | return; 20 | } 21 | 22 | string projectPath = PBXProject.GetPBXProjectPath(pathToBuiltProject); 23 | var pbxProject = new PBXProject(); 24 | pbxProject.ReadFromString(File.ReadAllText(projectPath)); 25 | 26 | #if UNITY_2019_3_OR_NEWER 27 | string mainTarget = pbxProject.GetUnityMainTargetGuid(); 28 | string frameworkTarget = pbxProject.GetUnityFrameworkTargetGuid(); 29 | #else 30 | string mainTarget = pbxProject.TargetGuidByName(PBXProject.GetUnityTargetName()); 31 | string frameworkTarget = mainTarget; 32 | #endif 33 | 34 | DisableBitcode(pbxProject,mainTarget,frameworkTarget); 35 | 36 | pbxProject.SetBuildProperty(frameworkTarget, "FRAMEWORK_SEARCH_PATHS", "$(inherited)"); 37 | pbxProject.AddBuildProperty(frameworkTarget, "FRAMEWORK_SEARCH_PATHS", "$(PROJECT_DIR)/Frameworks"); 38 | 39 | SetBugly(frameworkTarget,pbxProject,pathToBuiltProject); 40 | 41 | pbxProject.WriteToFile (projectPath); 42 | } 43 | 44 | static void DisableBitcode(PBXProject pbxProject,string mainTarget,string frameworkTarget) 45 | { 46 | pbxProject.SetBuildProperty(mainTarget, "ENABLE_BITCODE", "NO"); 47 | pbxProject.SetBuildProperty(frameworkTarget, "ENABLE_BITCODE", "NO"); 48 | } 49 | 50 | static void SetBugly(string frameworkTarget,PBXProject pbxProject, string pathToBuiltProject) 51 | { 52 | AddDirectory(pbxProject, pathToBuiltProject, $"Plugins/BuglyPlugins/iOS", "Bugly", null); 53 | pbxProject.AddFileToBuild(frameworkTarget, pbxProject.AddFile("Bugly/Bugly.framework", "Bugly/Bugly.framework", PBXSourceTree.Source)); 54 | pbxProject.AddFileToBuild(frameworkTarget, pbxProject.AddFile("Bugly/BuglyBridge/libBuglyBridge.a", "Bugly/libBuglyBridge.a", PBXSourceTree.Source)); 55 | pbxProject.AddFileToBuild(frameworkTarget, pbxProject.AddFile("Bugly/BuglyBridge/BuglyBridge.h", "Bugly/BuglyBridge.h", PBXSourceTree.Source)); 56 | 57 | pbxProject.AddFileToBuild(frameworkTarget,pbxProject.AddFile("usr/lib/libz.dylib", "Bugly/libz.dylib", PBXSourceTree.Sdk)); 58 | pbxProject.AddFileToBuild(frameworkTarget,pbxProject.AddFile("usr/lib/libc++.dylib", "Bugly/libc++.dylib", PBXSourceTree.Sdk)); 59 | 60 | pbxProject.AddFrameworkToProject(frameworkTarget, "SystemConfiguration.framework", false); 61 | pbxProject.AddFrameworkToProject(frameworkTarget, "Security.framework", false); 62 | pbxProject.AddFrameworkToProject(frameworkTarget, "JavaScriptCore.framework", true); 63 | 64 | pbxProject.AddBuildProperty(frameworkTarget, "FRAMEWORK_SEARCH_PATHS", "$(PROJECT_DIR)/Bugly"); 65 | pbxProject.AddBuildProperty(frameworkTarget, "LIBRARY_SEARCH_PATHS", "$(SRCROOT)/Bugly/BuglyBridge"); 66 | } 67 | 68 | public static void AddDirectory(PBXProject project, string pathToBuiltProject, string assetPath, 69 | string xcodePath, Action callback,bool recursiveDir = false,bool curDirFiles = false) 70 | { 71 | var path = Path.Combine(Application.dataPath, assetPath); 72 | var targetPath = Path.Combine(pathToBuiltProject, xcodePath); 73 | CopyDirectory(path, targetPath); 74 | var info = new DirectoryInfo(targetPath); 75 | 76 | if(recursiveDir) 77 | { 78 | var directories = info.GetDirectories(); 79 | foreach (var dirInfo in directories) 80 | { 81 | string fileGuid = project.AddFile(xcodePath + "/" + dirInfo.Name, xcodePath + "/" + dirInfo.Name, PBXSourceTree.Source); 82 | 83 | if (callback != null) 84 | { 85 | callback(fileGuid); 86 | } 87 | } 88 | } 89 | 90 | if (curDirFiles) 91 | { 92 | var filesList = info.GetFiles(); 93 | foreach (var fileInfo in filesList) 94 | { 95 | string fileGuid = project.AddFile(xcodePath + "/" + fileInfo.Name, xcodePath + "/" + fileInfo.Name, PBXSourceTree.Source); 96 | 97 | if (callback != null) 98 | { 99 | callback(fileGuid); 100 | } 101 | } 102 | } 103 | 104 | } 105 | 106 | public static void CopyDirectory(string sourcePath, string destinationPath) 107 | { 108 | if (destinationPath.EndsWith(".meta") || destinationPath.EndsWith(".DS_Store")) 109 | return; 110 | 111 | DirectoryInfo info = new DirectoryInfo(sourcePath); 112 | Directory.CreateDirectory(destinationPath); 113 | foreach (FileSystemInfo fsi in info.GetFileSystemInfos()) 114 | { 115 | string destName = Path.Combine(destinationPath, fsi.Name); 116 | 117 | if (destName.EndsWith(".meta") || destName.EndsWith(".DS_Store")) 118 | continue; 119 | 120 | if (fsi is System.IO.FileInfo) //如果是文件,复制文件 121 | File.Copy(fsi.FullName, destName); 122 | else //如果是文件夹,新建文件夹,递归 123 | { 124 | Directory.CreateDirectory(destName); 125 | CopyDirectory(fsi.FullName, destName); 126 | } 127 | } 128 | } 129 | } 130 | #endif 131 | -------------------------------------------------------------------------------- /Assets/Editor/XCodePostProcessBuild.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9595dc3411d58cd43b10a355a64b5373 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c9517b45655b8c045b40c521c3890ba3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Android.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 161bf928405ac8c4d95f8ef77f0b9a62 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /Assets/Plugins/Android/AndroidManifest.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a97b50ffca71ce4419218b733fc7a583 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5cef439187fbb41ab879da2b95ac4291 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 694411f45e4e64facb88eebfc2e1df1c 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android/Bugly_aar_4.0.4.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlameskyDexive/FastBugly/db6a30e6e799ede62ffc4cfad5fb68a385eb051a/Assets/Plugins/BuglyPlugins/Android/Bugly_aar_4.0.4.aar -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android/Bugly_aar_4.0.4.aar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ac4f20019f7d7e418453e608498fc9f 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Android: Android 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Any: 21 | second: 22 | enabled: 0 23 | settings: {} 24 | - first: 25 | Editor: Editor 26 | second: 27 | enabled: 0 28 | settings: 29 | DefaultValueInitialized: true 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android/libs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 644a9f5710e62403c94066ef9b61e775 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android/libs/arm64-v8a.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c908b3b2680b6b43886f4de247cd91b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android/libs/arm64-v8a/libBugly.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlameskyDexive/FastBugly/db6a30e6e799ede62ffc4cfad5fb68a385eb051a/Assets/Plugins/BuglyPlugins/Android/libs/arm64-v8a/libBugly.so -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android/libs/arm64-v8a/libBugly.so.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6f67e3b74c2eaa4790f124965920cd3 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | : Any 16 | second: 17 | enabled: 0 18 | settings: 19 | Exclude Android: 0 20 | Exclude Editor: 0 21 | Exclude Linux64: 0 22 | Exclude OSXUniversal: 0 23 | Exclude Win: 0 24 | Exclude Win64: 0 25 | Exclude iOS: 0 26 | - first: 27 | Android: Android 28 | second: 29 | enabled: 1 30 | settings: 31 | CPU: ARM64 32 | - first: 33 | Any: 34 | second: 35 | enabled: 1 36 | settings: {} 37 | - first: 38 | Editor: Editor 39 | second: 40 | enabled: 1 41 | settings: 42 | CPU: AnyCPU 43 | DefaultValueInitialized: true 44 | OS: AnyOS 45 | - first: 46 | Standalone: Linux64 47 | second: 48 | enabled: 1 49 | settings: 50 | CPU: x86_64 51 | - first: 52 | Standalone: OSXUniversal 53 | second: 54 | enabled: 1 55 | settings: 56 | CPU: x86_64 57 | - first: 58 | Standalone: Win 59 | second: 60 | enabled: 1 61 | settings: 62 | CPU: x86 63 | - first: 64 | Standalone: Win64 65 | second: 66 | enabled: 1 67 | settings: 68 | CPU: x86_64 69 | - first: 70 | iPhone: iOS 71 | second: 72 | enabled: 1 73 | settings: 74 | AddToEmbeddedBinaries: false 75 | CPU: AnyCPU 76 | CompileFlags: 77 | FrameworkDependencies: 78 | userData: 79 | assetBundleName: 80 | assetBundleVariant: 81 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android/libs/armeabi-v7a.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb7b442d8e32443e5856838741007f70 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android/libs/armeabi-v7a/libBugly.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlameskyDexive/FastBugly/db6a30e6e799ede62ffc4cfad5fb68a385eb051a/Assets/Plugins/BuglyPlugins/Android/libs/armeabi-v7a/libBugly.so -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android/libs/armeabi-v7a/libBugly.so.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 432060a129574479db0cfd441cdf3d69 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Android: Android 16 | second: 17 | enabled: 1 18 | settings: 19 | CPU: ARMv7 20 | - first: 21 | Any: 22 | second: 23 | enabled: 0 24 | settings: {} 25 | - first: 26 | Editor: Editor 27 | second: 28 | enabled: 0 29 | settings: 30 | DefaultValueInitialized: true 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android/libs/buglyagent.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlameskyDexive/FastBugly/db6a30e6e799ede62ffc4cfad5fb68a385eb051a/Assets/Plugins/BuglyPlugins/Android/libs/buglyagent.jar -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android/libs/buglyagent.jar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1db231dca0f72420cb880590f799d7d5 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Android: Android 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Any: 21 | second: 22 | enabled: 0 23 | settings: {} 24 | - first: 25 | Editor: Editor 26 | second: 27 | enabled: 0 28 | settings: 29 | DefaultValueInitialized: true 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android/libs/x86.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79531ba82725e4071861c982307805c3 3 | folderAsset: yes 4 | timeCreated: 1443426231 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android/libs/x86/libBugly.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlameskyDexive/FastBugly/db6a30e6e799ede62ffc4cfad5fb68a385eb051a/Assets/Plugins/BuglyPlugins/Android/libs/x86/libBugly.so -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android/libs/x86/libBugly.so.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16eaf0ec67588418783d6f5311aa71ce 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Android: Android 16 | second: 17 | enabled: 1 18 | settings: 19 | CPU: x86 20 | - first: 21 | Any: 22 | second: 23 | enabled: 0 24 | settings: {} 25 | - first: 26 | Editor: Editor 27 | second: 28 | enabled: 0 29 | settings: 30 | DefaultValueInitialized: true 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android/libs/x86_64.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b1856c2fc367676428291eacc4e545a0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android/libs/x86_64/libBugly.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlameskyDexive/FastBugly/db6a30e6e799ede62ffc4cfad5fb68a385eb051a/Assets/Plugins/BuglyPlugins/Android/libs/x86_64/libBugly.so -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/Android/libs/x86_64/libBugly.so.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 89d455130712cd54595338b0d8b7e132 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | : Any 16 | second: 17 | enabled: 0 18 | settings: 19 | Exclude Android: 0 20 | Exclude Editor: 0 21 | Exclude Linux64: 0 22 | Exclude OSXUniversal: 0 23 | Exclude Win: 0 24 | Exclude Win64: 0 25 | Exclude iOS: 0 26 | - first: 27 | Android: Android 28 | second: 29 | enabled: 1 30 | settings: 31 | CPU: X86_64 32 | - first: 33 | Any: 34 | second: 35 | enabled: 1 36 | settings: {} 37 | - first: 38 | Editor: Editor 39 | second: 40 | enabled: 1 41 | settings: 42 | CPU: AnyCPU 43 | DefaultValueInitialized: true 44 | OS: AnyOS 45 | - first: 46 | Standalone: Linux64 47 | second: 48 | enabled: 1 49 | settings: 50 | CPU: AnyCPU 51 | - first: 52 | Standalone: OSXUniversal 53 | second: 54 | enabled: 1 55 | settings: 56 | CPU: x86_64 57 | - first: 58 | Standalone: Win 59 | second: 60 | enabled: 1 61 | settings: 62 | CPU: x86 63 | - first: 64 | Standalone: Win64 65 | second: 66 | enabled: 1 67 | settings: 68 | CPU: x86_64 69 | - first: 70 | iPhone: iOS 71 | second: 72 | enabled: 1 73 | settings: 74 | AddToEmbeddedBinaries: false 75 | CPU: AnyCPU 76 | CompileFlags: 77 | FrameworkDependencies: 78 | userData: 79 | assetBundleName: 80 | assetBundleVariant: 81 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/BuglyAgent.cs: -------------------------------------------------------------------------------- 1 | // ---------------------------------------- 2 | // 3 | // BuglyAgent.cs 4 | // 5 | // Author: 6 | // Yeelik, 7 | // 8 | // Copyright (c) 2015 Bugly, Tencent. All rights reserved. 9 | // 10 | // ---------------------------------------- 11 | // 12 | using UnityEngine; 13 | 14 | using System; 15 | using System.Collections; 16 | using System.Collections.Generic; 17 | using System.Diagnostics; 18 | using System.Reflection; 19 | using System.Text; 20 | using System.Text.RegularExpressions; 21 | 22 | using System.Runtime.InteropServices; 23 | 24 | // We dont use the LogType enum in Unity as the numerical order doesnt suit our purposes 25 | /// 26 | /// Log severity. 27 | /// { Log, LogDebug, LogInfo, LogWarning, LogAssert, LogError, LogException } 28 | /// 29 | public enum LogSeverity 30 | { 31 | Log, 32 | LogDebug, 33 | LogInfo, 34 | LogWarning, 35 | LogAssert, 36 | LogError, 37 | LogException 38 | } 39 | 40 | /// 41 | /// Bugly agent. 42 | /// 43 | public sealed class BuglyAgent 44 | { 45 | 46 | // Define delegate support multicasting to replace the 'Application.LogCallback' 47 | public delegate void LogCallbackDelegate (string condition,string stackTrace,LogType type); 48 | 49 | /// 50 | /// Configs the type of the crash reporter and customized log level to upload 51 | /// 52 | /// Type. Default=0, 1=Bugly v2.x MSDK=2 53 | /// Log level. Off=0,Error=1,Warn=2,Info=3,Debug=4 54 | public static void ConfigCrashReporter(int type, int logLevel){ 55 | _SetCrashReporterType (type); 56 | _SetCrashReporterLogLevel (logLevel); 57 | } 58 | 59 | /// 60 | /// Init sdk with the specified appId. 61 | /// This will initialize sdk to report native exception such as obj-c, c/c++, java exceptions, and also enable c# exception handler to report c# exception logs 62 | /// 63 | /// App identifier. 64 | public static void InitWithAppId (string appId) 65 | { 66 | if (IsInitialized) { 67 | DebugLog (null, "BuglyAgent has already been initialized."); 68 | 69 | return; 70 | } 71 | 72 | if (string.IsNullOrEmpty (appId)) { 73 | return; 74 | } 75 | 76 | // init the sdk with app id 77 | InitBuglyAgent (appId); 78 | DebugLog (null, "Initialized with app id: {0}", appId); 79 | 80 | // Register the LogCallbackHandler by Application.RegisterLogCallback(Application.LogCallback) 81 | _RegisterExceptionHandler (); 82 | } 83 | 84 | /// 85 | /// Only Enable the C# exception handler. 86 | /// 87 | /// 88 | /// You can call it when you do not call the 'InitWithAppId(string)', but you must make sure initialized the sdk in elsewhere, 89 | /// such as the native code in associated Android or iOS project. 90 | /// 91 | /// 92 | /// 93 | /// Default Level is LogError, so the LogError, LogException will auto report. 94 | /// 95 | /// 96 | /// 97 | /// You can call the method BuglyAgent.ConfigAutoReportLogLevel(LogSeverity) 98 | /// to change the level to auto report if you known what are you doing. 99 | /// 100 | /// 101 | /// 102 | public static void EnableExceptionHandler () 103 | { 104 | if (IsInitialized) { 105 | DebugLog (null, "BuglyAgent has already been initialized."); 106 | return; 107 | } 108 | 109 | DebugLog (null, "Only enable the exception handler, please make sure you has initialized the sdk in the native code in associated Android or iOS project."); 110 | 111 | // Register the LogCallbackHandler by Application.RegisterLogCallback(Application.LogCallback) 112 | _RegisterExceptionHandler (); 113 | } 114 | 115 | /// 116 | /// Registers the log callback handler. 117 | /// 118 | /// If you need register logcallback using Application.RegisterLogCallback(LogCallback), 119 | /// you can call this method to replace it. 120 | /// 121 | /// 122 | /// 123 | /// Handler. 124 | public static void RegisterLogCallback (LogCallbackDelegate handler) 125 | { 126 | if (handler != null) { 127 | DebugLog (null, "Add log callback handler: {0}", handler); 128 | 129 | _LogCallbackEventHandler += handler; 130 | } 131 | } 132 | 133 | /// 134 | /// Sets the log callback extras handler. 135 | /// 136 | /// Handler. 137 | public static void SetLogCallbackExtrasHandler(Func> handler){ 138 | if (handler != null) { 139 | _LogCallbackExtrasHandler = handler; 140 | 141 | DebugLog(null, "Add log callback extra data handler : {0}", handler); 142 | } 143 | } 144 | 145 | /// 146 | /// Reports the exception. 147 | /// 148 | /// E. 149 | /// Message. 150 | public static void ReportException (System.Exception e, string message) 151 | { 152 | if (!IsInitialized) { 153 | return; 154 | } 155 | 156 | DebugLog (null, "Report exception: {0}\n------------\n{1}\n------------", message, e); 157 | 158 | _HandleException (e, message, false); 159 | } 160 | 161 | /// 162 | /// Reports the exception. 163 | /// 164 | /// Name. 165 | /// Message. 166 | /// Stack trace. 167 | public static void ReportException (string name, string message, string stackTrace) 168 | { 169 | if (!IsInitialized) { 170 | return; 171 | } 172 | 173 | DebugLog (null, "Report exception: {0} {1} \n{2}", name, message, stackTrace); 174 | 175 | _HandleException (LogSeverity.LogException, name, message, stackTrace, false); 176 | } 177 | 178 | /// 179 | /// Unregisters the log callback. 180 | /// 181 | /// Handler. 182 | public static void UnregisterLogCallback (LogCallbackDelegate handler) 183 | { 184 | if (handler != null) { 185 | DebugLog (null, "Remove log callback handler"); 186 | 187 | _LogCallbackEventHandler -= handler; 188 | } 189 | } 190 | 191 | /// 192 | /// Sets the user identifier. 193 | /// 194 | /// User identifier. 195 | public static void SetUserId (string userId) 196 | { 197 | if (!IsInitialized) { 198 | return; 199 | } 200 | DebugLog (null, "Set user id: {0}", userId); 201 | 202 | SetUserInfo (userId); 203 | } 204 | 205 | /// 206 | /// Sets the scene. 207 | /// 208 | /// Scene identifier. 209 | public static void SetScene (int sceneId) 210 | { 211 | if (!IsInitialized) { 212 | return; 213 | } 214 | DebugLog (null, "Set scene: {0}", sceneId); 215 | 216 | SetCurrentScene (sceneId); 217 | } 218 | 219 | /// 220 | /// Adds the scene data. 221 | /// 222 | /// Key. 223 | /// Value. 224 | public static void AddSceneData (string key, string value) 225 | { 226 | if (!IsInitialized) { 227 | return; 228 | } 229 | 230 | DebugLog (null, "Add scene data: [{0}, {1}]", key, value); 231 | 232 | AddKeyAndValueInScene (key, value); 233 | } 234 | 235 | /// 236 | /// Configs the debug mode. 237 | /// 238 | /// If set to true debug mode. 239 | public static void ConfigDebugMode (bool enable) 240 | { 241 | EnableDebugMode (enable); 242 | DebugLog (null, "{0} the log message print to console", enable ? "Enable" : "Disable"); 243 | } 244 | 245 | /// 246 | /// Configs the auto quit application. 247 | /// 248 | /// If set to true auto quit. 249 | public static void ConfigAutoQuitApplication (bool autoQuit) 250 | { 251 | _autoQuitApplicationAfterReport = autoQuit; 252 | } 253 | 254 | /// 255 | /// Configs the auto report log level. Default is LogSeverity.LogError. 256 | /// 257 | /// LogSeverity { Log, LogDebug, LogInfo, LogWarning, LogAssert, LogError, LogException } 258 | /// 259 | /// 260 | /// 261 | /// Level. 262 | public static void ConfigAutoReportLogLevel (LogSeverity level) 263 | { 264 | _autoReportLogLevel = level; 265 | } 266 | 267 | /// 268 | /// Configs the default. 269 | /// 270 | /// Channel. 271 | /// Version. 272 | /// User. 273 | /// Delay. 274 | public static void ConfigDefault (string channel, string version, string user, long delay) 275 | { 276 | DebugLog (null, "Config default channel:{0}, version:{1}, user:{2}, delay:{3}", channel, version, user, delay); 277 | ConfigDefaultBeforeInit (channel, version, user, delay); 278 | } 279 | 280 | /// 281 | /// Logs the debug. 282 | /// 283 | /// Tag. 284 | /// Format. 285 | /// Arguments. 286 | public static void DebugLog (string tag, string format, params object[] args) 287 | { 288 | if(!_debugMode) { 289 | return; 290 | } 291 | 292 | if (string.IsNullOrEmpty (format)) { 293 | return; 294 | } 295 | 296 | Console.WriteLine ("[BuglyAgent] - {0} : {1}", tag, string.Format (format, args)); 297 | } 298 | 299 | /// 300 | /// Prints the log. 301 | /// 302 | /// Level. 303 | /// Format. 304 | /// Arguments. 305 | public static void PrintLog (LogSeverity level, string format, params object[] args) 306 | { 307 | if (string.IsNullOrEmpty (format)) { 308 | return; 309 | } 310 | 311 | LogRecord (level, string.Format (format, args)); 312 | } 313 | 314 | #if UNITY_EDITOR || UNITY_STANDALONE 315 | 316 | #region Interface(Empty) in Editor 317 | private static void InitBuglyAgent (string appId) 318 | { 319 | } 320 | 321 | private static void ConfigDefaultBeforeInit(string channel, string version, string user, long delay){ 322 | } 323 | 324 | private static void EnableDebugMode(bool enable){ 325 | } 326 | 327 | private static void SetUserInfo(string userInfo){ 328 | } 329 | 330 | private static void ReportException (int type,string name, string message, string stackTrace, bool quitProgram) 331 | { 332 | } 333 | 334 | private static void SetCurrentScene(int sceneId) { 335 | } 336 | 337 | private static void AddKeyAndValueInScene(string key, string value){ 338 | } 339 | 340 | private static void AddExtraDataWithException(string key, string value) { 341 | // only impl for iOS 342 | } 343 | 344 | private static void LogRecord(LogSeverity level, string message){ 345 | } 346 | 347 | private static void SetUnityVersion(){ 348 | 349 | } 350 | #endregion 351 | 352 | #elif UNITY_ANDROID 353 | // #if UNITY_ANDROID 354 | 355 | #region Interface for Android 356 | private static readonly string GAME_AGENT_CLASS = "com.tencent.bugly.agent.GameAgent"; 357 | private static readonly int TYPE_U3D_CRASH = 4; 358 | private static readonly int GAME_TYPE_UNITY = 2; 359 | private static bool hasSetGameType = false; 360 | private static AndroidJavaClass _gameAgentClass = null; 361 | 362 | public static AndroidJavaClass GameAgent { 363 | get { 364 | if (_gameAgentClass == null) { 365 | _gameAgentClass = new AndroidJavaClass(GAME_AGENT_CLASS); 366 | // using (AndroidJavaClass clazz = new AndroidJavaClass(CLASS_UNITYAGENT)) { 367 | // _gameAgentClass = clazz.CallStatic ("getInstance"); 368 | // } 369 | } 370 | if (!hasSetGameType) { 371 | // set game type: unity(2). 372 | _gameAgentClass.CallStatic ("setGameType", GAME_TYPE_UNITY); 373 | hasSetGameType = true; 374 | } 375 | return _gameAgentClass; 376 | } 377 | } 378 | 379 | private static string _configChannel; 380 | private static string _configVersion; 381 | private static string _configUser; 382 | private static long _configDelayTime; 383 | 384 | private static void ConfigDefaultBeforeInit(string channel, string version, string user, long delay){ 385 | _configChannel = channel; 386 | _configVersion = version; 387 | _configUser = user; 388 | _configDelayTime = delay; 389 | } 390 | 391 | private static bool _configCrashReporterPackage = false; 392 | 393 | private static void ConfigCrashReporterPackage(){ 394 | 395 | if (!_configCrashReporterPackage) { 396 | try { 397 | GameAgent.CallStatic("setSdkPackageName", _crashReporterPackage); 398 | _configCrashReporterPackage = true; 399 | } catch { 400 | 401 | } 402 | } 403 | 404 | } 405 | 406 | private static void InitBuglyAgent(string appId) 407 | { 408 | if (IsInitialized) { 409 | return; 410 | } 411 | 412 | ConfigCrashReporterPackage(); 413 | 414 | try { 415 | GameAgent.CallStatic("initCrashReport", appId, _configChannel, _configVersion, _configUser, _configDelayTime); 416 | _isInitialized = true; 417 | } catch { 418 | 419 | } 420 | } 421 | 422 | private static void EnableDebugMode(bool enable){ 423 | _debugMode = enable; 424 | 425 | ConfigCrashReporterPackage(); 426 | 427 | try { 428 | GameAgent.CallStatic("setLogEnable", enable); 429 | } catch { 430 | 431 | } 432 | } 433 | 434 | private static void SetUserInfo(string userInfo){ 435 | ConfigCrashReporterPackage(); 436 | 437 | try { 438 | GameAgent.CallStatic("setUserId", userInfo); 439 | } catch { 440 | } 441 | } 442 | 443 | private static void ReportException (int type, string name, string reason, string stackTrace, bool quitProgram) 444 | { 445 | ConfigCrashReporterPackage(); 446 | 447 | try { 448 | GameAgent.CallStatic("postException", TYPE_U3D_CRASH, name, reason, stackTrace, quitProgram); 449 | } catch { 450 | 451 | } 452 | } 453 | 454 | private static void SetCurrentScene(int sceneId) { 455 | ConfigCrashReporterPackage(); 456 | 457 | try { 458 | GameAgent.CallStatic("setUserSceneTag", sceneId); 459 | } catch { 460 | 461 | } 462 | } 463 | 464 | private static void SetUnityVersion(){ 465 | ConfigCrashReporterPackage(); 466 | 467 | try { 468 | GameAgent.CallStatic("setSdkConfig", "UnityVersion", Application.unityVersion); 469 | } catch { 470 | 471 | } 472 | } 473 | 474 | private static void AddKeyAndValueInScene(string key, string value){ 475 | ConfigCrashReporterPackage(); 476 | 477 | try { 478 | GameAgent.CallStatic("putUserData", key, value); 479 | } catch { 480 | 481 | } 482 | } 483 | 484 | private static void AddExtraDataWithException(string key, string value) { 485 | // no impl 486 | } 487 | 488 | private static void LogRecord(LogSeverity level, string message){ 489 | if (level < LogSeverity.LogWarning) { 490 | DebugLog (level.ToString (), message); 491 | } 492 | 493 | ConfigCrashReporterPackage(); 494 | 495 | try { 496 | GameAgent.CallStatic("printLog", string.Format ("<{0}> - {1}", level.ToString (), message)); 497 | } catch { 498 | 499 | } 500 | } 501 | 502 | #endregion 503 | 504 | #elif UNITY_IPHONE || UNITY_IOS 505 | 506 | #region Interface for iOS 507 | 508 | private static bool _crashReporterTypeConfiged = false; 509 | 510 | private static void ConfigCrashReporterType(){ 511 | if (!_crashReporterTypeConfiged) { 512 | try { 513 | _BuglyConfigCrashReporterType(_crashReporterType); 514 | _crashReporterTypeConfiged = true; 515 | } catch { 516 | 517 | } 518 | } 519 | } 520 | 521 | private static void ConfigDefaultBeforeInit(string channel, string version, string user, long delay){ 522 | ConfigCrashReporterType(); 523 | 524 | try { 525 | _BuglyDefaultConfig(channel, version, user, null); 526 | } catch { 527 | 528 | } 529 | } 530 | 531 | private static void EnableDebugMode(bool enable){ 532 | _debugMode = enable; 533 | } 534 | 535 | private static void InitBuglyAgent (string appId) 536 | { 537 | ConfigCrashReporterType(); 538 | 539 | if(!string.IsNullOrEmpty(appId)) { 540 | 541 | _BuglyInit(appId, _debugMode, _crashReproterCustomizedLogLevel); // Log level 542 | } 543 | } 544 | 545 | private static void SetUnityVersion(){ 546 | ConfigCrashReporterType(); 547 | 548 | _BuglySetExtraConfig("UnityVersion", Application.unityVersion); 549 | } 550 | 551 | private static void SetUserInfo(string userInfo){ 552 | if(!string.IsNullOrEmpty(userInfo)) { 553 | ConfigCrashReporterType(); 554 | 555 | _BuglySetUserId(userInfo); 556 | } 557 | } 558 | 559 | private static void ReportException (int type, string name, string reason, string stackTrace, bool quitProgram) 560 | { 561 | ConfigCrashReporterType(); 562 | 563 | string extraInfo = ""; 564 | Dictionary extras = null; 565 | if (_LogCallbackExtrasHandler != null) { 566 | extras = _LogCallbackExtrasHandler(); 567 | } 568 | if (extras == null || extras.Count == 0) { 569 | extras = new Dictionary (); 570 | extras.Add ("UnityVersion", Application.unityVersion); 571 | } 572 | 573 | if (extras != null && extras.Count > 0) { 574 | if (!extras.ContainsKey("UnityVersion")) { 575 | extras.Add ("UnityVersion", Application.unityVersion); 576 | } 577 | 578 | StringBuilder builder = new StringBuilder(); 579 | foreach(KeyValuePair kvp in extras){ 580 | builder.Append(string.Format("\"{0}\" : \"{1}\"", kvp.Key, kvp.Value)).Append(" , "); 581 | } 582 | extraInfo = string.Format("{{ {0} }}", builder.ToString().TrimEnd(" , ".ToCharArray())); 583 | } 584 | 585 | // 4 is C# exception 586 | _BuglyReportException(4, name, reason, stackTrace, extraInfo, quitProgram); 587 | } 588 | 589 | private static void SetCurrentScene(int sceneId) { 590 | ConfigCrashReporterType(); 591 | 592 | _BuglySetTag(sceneId); 593 | } 594 | 595 | private static void AddKeyAndValueInScene(string key, string value){ 596 | ConfigCrashReporterType(); 597 | 598 | _BuglySetKeyValue(key, value); 599 | } 600 | 601 | private static void AddExtraDataWithException(string key, string value) { 602 | 603 | } 604 | 605 | private static void LogRecord(LogSeverity level, string message){ 606 | if (level < LogSeverity.LogWarning) { 607 | DebugLog (level.ToString (), message); 608 | } 609 | 610 | ConfigCrashReporterType(); 611 | 612 | _BuglyLogMessage(LogSeverityToInt(level), null, message); 613 | } 614 | 615 | private static int LogSeverityToInt(LogSeverity logLevel){ 616 | int level = 5; 617 | switch(logLevel) { 618 | case LogSeverity.Log: 619 | level = 5; 620 | break; 621 | case LogSeverity.LogDebug: 622 | level = 4; 623 | break; 624 | case LogSeverity.LogInfo: 625 | level = 3; 626 | break; 627 | case LogSeverity.LogWarning: 628 | case LogSeverity.LogAssert: 629 | level = 2; 630 | break; 631 | case LogSeverity.LogError: 632 | case LogSeverity.LogException: 633 | level = 1; 634 | break; 635 | default: 636 | level = 0; 637 | break; 638 | } 639 | return level; 640 | } 641 | 642 | // --- dllimport start --- 643 | [DllImport("__Internal")] 644 | private static extern void _BuglyInit(string appId, bool debug, int level); 645 | 646 | [DllImport("__Internal")] 647 | private static extern void _BuglySetUserId(string userId); 648 | 649 | [DllImport("__Internal")] 650 | private static extern void _BuglySetTag(int tag); 651 | 652 | [DllImport("__Internal")] 653 | private static extern void _BuglySetKeyValue(string key, string value); 654 | 655 | [DllImport("__Internal")] 656 | private static extern void _BuglyReportException(int type, string name, string reason, string stackTrace, string extras, bool quit); 657 | 658 | [DllImport("__Internal")] 659 | private static extern void _BuglyDefaultConfig(string channel, string version, string user, string deviceId); 660 | 661 | [DllImport("__Internal")] 662 | private static extern void _BuglyLogMessage(int level, string tag, string log); 663 | 664 | [DllImport("__Internal")] 665 | private static extern void _BuglyConfigCrashReporterType(int type); 666 | 667 | [DllImport("__Internal")] 668 | private static extern void _BuglySetExtraConfig(string key, string value); 669 | 670 | // dllimport end 671 | #endregion 672 | 673 | #endif 674 | 675 | #region Privated Fields and Methods 676 | private static event LogCallbackDelegate _LogCallbackEventHandler; 677 | 678 | private static bool _isInitialized = false; 679 | private static LogSeverity _autoReportLogLevel = LogSeverity.LogError; 680 | 681 | private static int _crashReporterType = 1; // Default=0,1=Bugly-V2,MSDKBugly=2, IMSDKBugly=3 682 | 683 | #if UNITY_ANDROID 684 | // The crash reporter package name, default is 'com.tencent.bugly' 685 | private static string _crashReporterPackage = "com.tencent.bugly"; 686 | #endif 687 | #if UNITY_IPHONE || UNITY_IOS 688 | private static int _crashReproterCustomizedLogLevel = 2; // Off=0,Error=1,Warn=2,Info=3,Debug=4 689 | #endif 690 | 691 | #pragma warning disable 414 692 | private static bool _debugMode = false; 693 | private static bool _autoQuitApplicationAfterReport = false; 694 | 695 | private static readonly int EXCEPTION_TYPE_UNCAUGHT = 1; 696 | private static readonly int EXCEPTION_TYPE_CAUGHT = 2; 697 | private static readonly string _pluginVersion = "1.5.1"; 698 | 699 | private static Func> _LogCallbackExtrasHandler; 700 | 701 | public static string PluginVersion { 702 | get { return _pluginVersion; } 703 | } 704 | 705 | public static bool IsInitialized { 706 | get { return _isInitialized; } 707 | } 708 | 709 | public static bool AutoQuitApplicationAfterReport { 710 | get { return _autoQuitApplicationAfterReport; } 711 | } 712 | 713 | private static void _SetCrashReporterType(int type){ 714 | _crashReporterType = type; 715 | 716 | if (_crashReporterType == 2) { 717 | #if UNITY_ANDROID 718 | _crashReporterPackage = "com.tencent.bugly.msdk"; 719 | #endif 720 | } 721 | 722 | } 723 | 724 | private static void _SetCrashReporterLogLevel(int logLevel){ 725 | #if UNITY_IPHONE || UNITY_IOS 726 | _crashReproterCustomizedLogLevel = logLevel; 727 | #endif 728 | } 729 | 730 | private static void _RegisterExceptionHandler () 731 | { 732 | try { 733 | // hold only one instance 734 | 735 | #if UNITY_5_3_OR_NEWER 736 | Application.logMessageReceived += _OnLogCallbackHandler; 737 | #else 738 | Application.RegisterLogCallback (_OnLogCallbackHandler); 739 | #endif 740 | AppDomain.CurrentDomain.UnhandledException += _OnUncaughtExceptionHandler; 741 | 742 | _isInitialized = true; 743 | 744 | DebugLog (null, "Register the log callback in Unity {0}", Application.unityVersion); 745 | } catch { 746 | 747 | } 748 | 749 | SetUnityVersion (); 750 | } 751 | 752 | private static void _UnregisterExceptionHandler () 753 | { 754 | try { 755 | #if UNITY_5_3_OR_NEWER 756 | Application.logMessageReceived -= _OnLogCallbackHandler; 757 | #else 758 | Application.RegisterLogCallback (null); 759 | #endif 760 | System.AppDomain.CurrentDomain.UnhandledException -= _OnUncaughtExceptionHandler; 761 | DebugLog (null, "Unregister the log callback in unity {0}", Application.unityVersion); 762 | } catch { 763 | 764 | } 765 | } 766 | 767 | private static void _OnLogCallbackHandler (string condition, string stackTrace, LogType type) 768 | { 769 | if (_LogCallbackEventHandler != null) { 770 | _LogCallbackEventHandler (condition, stackTrace, type); 771 | } 772 | 773 | if (!IsInitialized) { 774 | return; 775 | } 776 | 777 | if (!string.IsNullOrEmpty (condition) && condition.Contains ("[BuglyAgent] ")) { 778 | return; 779 | } 780 | 781 | if (_uncaughtAutoReportOnce) { 782 | return; 783 | } 784 | 785 | // convert the log level 786 | LogSeverity logLevel = LogSeverity.Log; 787 | switch (type) { 788 | case LogType.Exception: 789 | logLevel = LogSeverity.LogException; 790 | break; 791 | case LogType.Error: 792 | logLevel = LogSeverity.LogError; 793 | break; 794 | case LogType.Assert: 795 | logLevel = LogSeverity.LogAssert; 796 | break; 797 | case LogType.Warning: 798 | logLevel = LogSeverity.LogWarning; 799 | break; 800 | case LogType.Log: 801 | logLevel = LogSeverity.LogDebug; 802 | break; 803 | default: 804 | break; 805 | } 806 | 807 | if (LogSeverity.Log == logLevel) { 808 | return; 809 | } 810 | 811 | _HandleException (logLevel, null, condition, stackTrace, true); 812 | } 813 | 814 | private static void _OnUncaughtExceptionHandler (object sender, System.UnhandledExceptionEventArgs args) 815 | { 816 | if (args == null || args.ExceptionObject == null) { 817 | return; 818 | } 819 | 820 | try { 821 | if (args.ExceptionObject.GetType () != typeof(System.Exception)) { 822 | return; 823 | } 824 | } catch { 825 | if (UnityEngine.Debug.isDebugBuild == true) { 826 | UnityEngine.Debug.Log ("BuglyAgent: Failed to report uncaught exception"); 827 | } 828 | 829 | return; 830 | } 831 | 832 | if (!IsInitialized) { 833 | return; 834 | } 835 | 836 | if (_uncaughtAutoReportOnce) { 837 | return; 838 | } 839 | 840 | _HandleException ((System.Exception)args.ExceptionObject, null, true); 841 | } 842 | 843 | private static void _HandleException (System.Exception e, string message, bool uncaught) 844 | { 845 | if (e == null) { 846 | return; 847 | } 848 | 849 | if (!IsInitialized) { 850 | return; 851 | } 852 | 853 | string name = e.GetType ().Name; 854 | string reason = e.Message; 855 | 856 | if (!string.IsNullOrEmpty (message)) { 857 | reason = string.Format ("{0}{1}***{2}", reason, Environment.NewLine, message); 858 | } 859 | 860 | StringBuilder stackTraceBuilder = new StringBuilder (""); 861 | 862 | StackTrace stackTrace = new StackTrace (e, true); 863 | int count = stackTrace.FrameCount; 864 | for (int i = 0; i < count; i++) { 865 | StackFrame frame = stackTrace.GetFrame (i); 866 | 867 | stackTraceBuilder.AppendFormat ("{0}.{1}", frame.GetMethod ().DeclaringType.Name, frame.GetMethod ().Name); 868 | 869 | ParameterInfo[] parameters = frame.GetMethod ().GetParameters (); 870 | if (parameters == null || parameters.Length == 0) { 871 | stackTraceBuilder.Append (" () "); 872 | } else { 873 | stackTraceBuilder.Append (" ("); 874 | 875 | int pcount = parameters.Length; 876 | 877 | ParameterInfo param = null; 878 | for (int p = 0; p < pcount; p++) { 879 | param = parameters [p]; 880 | stackTraceBuilder.AppendFormat ("{0} {1}", param.ParameterType.Name, param.Name); 881 | 882 | if (p != pcount - 1) { 883 | stackTraceBuilder.Append (", "); 884 | } 885 | } 886 | param = null; 887 | 888 | stackTraceBuilder.Append (") "); 889 | } 890 | 891 | string fileName = frame.GetFileName (); 892 | if (!string.IsNullOrEmpty (fileName) && !fileName.ToLower ().Equals ("unknown")) { 893 | fileName = fileName.Replace ("\\", "/"); 894 | 895 | int loc = fileName.ToLower ().IndexOf ("/assets/"); 896 | if (loc < 0) { 897 | loc = fileName.ToLower ().IndexOf ("assets/"); 898 | } 899 | 900 | if (loc > 0) { 901 | fileName = fileName.Substring (loc); 902 | } 903 | 904 | stackTraceBuilder.AppendFormat ("(at {0}:{1})", fileName, frame.GetFileLineNumber ()); 905 | } 906 | stackTraceBuilder.AppendLine (); 907 | } 908 | 909 | // report 910 | _reportException (uncaught, name, reason, stackTraceBuilder.ToString ()); 911 | } 912 | 913 | private static void _reportException (bool uncaught, string name, string reason, string stackTrace) 914 | { 915 | if (string.IsNullOrEmpty (name)) { 916 | return; 917 | } 918 | 919 | if (string.IsNullOrEmpty (stackTrace)) { 920 | stackTrace = StackTraceUtility.ExtractStackTrace (); 921 | } 922 | 923 | if (string.IsNullOrEmpty (stackTrace)) { 924 | stackTrace = "Empty"; 925 | } else { 926 | 927 | try { 928 | string[] frames = stackTrace.Split ('\n'); 929 | 930 | if (frames != null && frames.Length > 0) { 931 | 932 | StringBuilder trimFrameBuilder = new StringBuilder (); 933 | 934 | string frame = null; 935 | int count = frames.Length; 936 | for (int i = 0; i < count; i++) { 937 | frame = frames [i]; 938 | 939 | if (string.IsNullOrEmpty (frame) || string.IsNullOrEmpty (frame.Trim ())) { 940 | continue; 941 | } 942 | 943 | frame = frame.Trim (); 944 | 945 | // System.Collections.Generic 946 | if (frame.StartsWith ("System.Collections.Generic.") || frame.StartsWith ("ShimEnumerator")) { 947 | continue; 948 | } 949 | if (frame.StartsWith ("Bugly")) { 950 | continue; 951 | } 952 | if (frame.Contains ("..ctor")) { 953 | continue; 954 | } 955 | 956 | int start = frame.ToLower ().IndexOf ("(at"); 957 | int end = frame.ToLower ().IndexOf ("/assets/"); 958 | 959 | if (start > 0 && end > 0) { 960 | trimFrameBuilder.AppendFormat ("{0}(at {1}", frame.Substring (0, start).Replace (":", "."), frame.Substring (end)); 961 | } else { 962 | trimFrameBuilder.Append (frame.Replace (":", ".")); 963 | } 964 | 965 | trimFrameBuilder.AppendLine (); 966 | } 967 | 968 | stackTrace = trimFrameBuilder.ToString (); 969 | } 970 | } catch { 971 | PrintLog(LogSeverity.LogWarning,"{0}", "Error to parse the stack trace"); 972 | } 973 | 974 | } 975 | 976 | PrintLog (LogSeverity.LogError, "ReportException: {0} {1}\n*********\n{2}\n*********", name, reason, stackTrace); 977 | 978 | _uncaughtAutoReportOnce = uncaught && _autoQuitApplicationAfterReport; 979 | 980 | ReportException (uncaught ? EXCEPTION_TYPE_UNCAUGHT : EXCEPTION_TYPE_CAUGHT, name, reason, stackTrace, uncaught && _autoQuitApplicationAfterReport); 981 | } 982 | 983 | private static void _HandleException (LogSeverity logLevel, string name, string message, string stackTrace, bool uncaught) 984 | { 985 | if (!IsInitialized) { 986 | DebugLog (null, "It has not been initialized."); 987 | return; 988 | } 989 | 990 | if (logLevel == LogSeverity.Log) { 991 | return; 992 | } 993 | 994 | if ((uncaught && logLevel < _autoReportLogLevel)) { 995 | DebugLog (null, "Not report exception for level {0}", logLevel.ToString ()); 996 | return; 997 | } 998 | 999 | string type = null; 1000 | string reason = null; 1001 | 1002 | if (!string.IsNullOrEmpty (message)) { 1003 | try { 1004 | if ((LogSeverity.LogException == logLevel) && message.Contains ("Exception")) { 1005 | 1006 | Match match = new Regex (@"^(?\S+):\s*(?.*)", RegexOptions.Singleline).Match (message); 1007 | 1008 | if (match.Success) { 1009 | type = match.Groups ["errorType"].Value.Trim(); 1010 | reason = match.Groups ["errorMessage"].Value.Trim (); 1011 | } 1012 | } else if ((LogSeverity.LogError == logLevel) && message.StartsWith ("Unhandled Exception:")) { 1013 | 1014 | Match match = new Regex (@"^Unhandled\s+Exception:\s*(?\S+):\s*(?.*)", RegexOptions.Singleline).Match(message); 1015 | 1016 | if (match.Success) { 1017 | string exceptionName = match.Groups ["exceptionName"].Value.Trim(); 1018 | string exceptionDetail = match.Groups ["exceptionDetail"].Value.Trim (); 1019 | 1020 | // 1021 | int dotLocation = exceptionName.LastIndexOf("."); 1022 | if (dotLocation > 0 && dotLocation != exceptionName.Length) { 1023 | type = exceptionName.Substring(dotLocation + 1); 1024 | } else { 1025 | type = exceptionName; 1026 | } 1027 | 1028 | int stackLocation = exceptionDetail.IndexOf(" at "); 1029 | if (stackLocation > 0) { 1030 | // 1031 | reason = exceptionDetail.Substring(0, stackLocation); 1032 | // substring after " at " 1033 | string callStacks = exceptionDetail.Substring(stackLocation + 3).Replace(" at ", "\n").Replace("in :0","").Replace("[0x00000]",""); 1034 | // 1035 | stackTrace = string.Format("{0}\n{1}", stackTrace, callStacks.Trim()); 1036 | 1037 | } else { 1038 | reason = exceptionDetail; 1039 | } 1040 | 1041 | // for LuaScriptException 1042 | if(type.Equals("LuaScriptException") && exceptionDetail.Contains(".lua") && exceptionDetail.Contains("stack traceback:")) { 1043 | stackLocation = exceptionDetail.IndexOf("stack traceback:"); 1044 | if(stackLocation > 0) { 1045 | reason = exceptionDetail.Substring(0, stackLocation); 1046 | // substring after "stack traceback:" 1047 | string callStacks = exceptionDetail.Substring(stackLocation + 16).Replace(" [", " \n["); 1048 | 1049 | // 1050 | stackTrace = string.Format("{0}\n{1}", stackTrace, callStacks.Trim()); 1051 | } 1052 | } 1053 | } 1054 | 1055 | } 1056 | } catch { 1057 | 1058 | } 1059 | 1060 | if (string.IsNullOrEmpty (reason)) { 1061 | reason = message; 1062 | } 1063 | } 1064 | 1065 | if (string.IsNullOrEmpty (name)) { 1066 | if (string.IsNullOrEmpty (type)) { 1067 | type = string.Format ("Unity{0}", logLevel.ToString ()); 1068 | } 1069 | } else { 1070 | type = name; 1071 | } 1072 | 1073 | _reportException (uncaught, type, reason, stackTrace); 1074 | } 1075 | 1076 | private static bool _uncaughtAutoReportOnce = false; 1077 | 1078 | #endregion 1079 | 1080 | } -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/BuglyAgent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be621fe31508b4f2ab134ee879ec97b4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/BuglyCallback.cs: -------------------------------------------------------------------------------- 1 | // ---------------------------------------- 2 | // 3 | // BuglyCallbackDelegate.cs 4 | // 5 | // Author: 6 | // Yeelik, 7 | // 8 | // Copyright (c) 2015 Bugly, Tencent. All rights reserved. 9 | // 10 | // ---------------------------------------- 11 | // 12 | using UnityEngine; 13 | using System.Collections; 14 | 15 | public abstract class BuglyCallback 16 | { 17 | // The delegate of callback handler which Call the Application.RegisterLogCallback(Application.LogCallback) 18 | /// 19 | /// Raises the application log callback handler event. 20 | /// 21 | /// Condition. 22 | /// Stack trace. 23 | /// Type. 24 | public abstract void OnApplicationLogCallbackHandler (string condition, string stackTrace, LogType type); 25 | 26 | } 27 | 28 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/BuglyCallback.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 78e76f643d1884dcab602d5fe79b08e1 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/BuglyInit.cs: -------------------------------------------------------------------------------- 1 | // ---------------------------------------- 2 | // 3 | // BuglyInit.cs 4 | // 5 | // Author: 6 | // Yeelik, 7 | // 8 | // Copyright (c) 2015 Bugly, Tencent. All rights reserved. 9 | // 10 | // ---------------------------------------- 11 | // 12 | using UnityEngine; 13 | using System.Collections; 14 | using System.Collections.Generic; 15 | 16 | public class BuglyInit : MonoBehaviour 17 | { 18 | /// 19 | /// Your Bugly App ID. Every app has a special identifier that allows Bugly to associate error monitoring data with your app. 20 | /// Your App ID can be found on the "Setting" page of the app you are trying to monitor. 21 | /// 22 | /// A real App ID looks like this: 90000xxxx 23 | private const string BuglyAppID = "YOUR APP ID GOES HERE"; 24 | 25 | void Awake () 26 | { 27 | // Enable the debug log print 28 | BuglyAgent.ConfigDebugMode (true); 29 | // Config default channel, version, user 30 | BuglyAgent.ConfigDefault (null, null, null, 0); 31 | // Config auto report log level, default is LogSeverity.LogError, so the LogError, LogException log will auto report 32 | BuglyAgent.ConfigAutoReportLogLevel (LogSeverity.LogError); 33 | // Config auto quit the application make sure only the first one c# exception log will be report, please don't set TRUE if you do not known what are you doing. 34 | BuglyAgent.ConfigAutoQuitApplication (false); 35 | // If you need register Application.RegisterLogCallback(LogCallback), you can replace it with this method to make sure your function is ok. 36 | BuglyAgent.RegisterLogCallback (null); 37 | 38 | // Init the bugly sdk and enable the c# exception handler. 39 | BuglyAgent.InitWithAppId (BuglyAppID); 40 | 41 | // TODO Required. If you do not need call 'InitWithAppId(string)' to initialize the sdk(may be you has initialized the sdk it associated Android or iOS project), 42 | // please call this method to enable c# exception handler only. 43 | BuglyAgent.EnableExceptionHandler (); 44 | 45 | // TODO NOT Required. If you need to report extra data with exception, you can set the extra handler 46 | BuglyAgent.SetLogCallbackExtrasHandler (MyLogCallbackExtrasHandler); 47 | 48 | Destroy (this); 49 | } 50 | 51 | // Extra data handler to packet data and report them with exception. 52 | // Please do not do hard work in this handler 53 | static Dictionary MyLogCallbackExtrasHandler () 54 | { 55 | // TODO Test log, please do not copy it 56 | BuglyAgent.PrintLog (LogSeverity.Log, "extra handler"); 57 | 58 | // TODO Sample code, please do not copy it 59 | Dictionary extras = new Dictionary (); 60 | extras.Add ("ScreenSolution", string.Format ("{0}x{1}", Screen.width, Screen.height)); 61 | extras.Add ("deviceModel", SystemInfo.deviceModel); 62 | extras.Add ("deviceName", SystemInfo.deviceName); 63 | extras.Add ("deviceType", SystemInfo.deviceType.ToString ()); 64 | 65 | extras.Add ("deviceUId", SystemInfo.deviceUniqueIdentifier); 66 | extras.Add ("gDId", string.Format ("{0}", SystemInfo.graphicsDeviceID)); 67 | extras.Add ("gDName", SystemInfo.graphicsDeviceName); 68 | extras.Add ("gDVdr", SystemInfo.graphicsDeviceVendor); 69 | extras.Add ("gDVer", SystemInfo.graphicsDeviceVersion); 70 | extras.Add ("gDVdrID", string.Format ("{0}", SystemInfo.graphicsDeviceVendorID)); 71 | 72 | extras.Add ("graphicsMemorySize", string.Format ("{0}", SystemInfo.graphicsMemorySize)); 73 | extras.Add ("systemMemorySize", string.Format ("{0}", SystemInfo.systemMemorySize)); 74 | extras.Add ("UnityVersion", Application.unityVersion); 75 | 76 | BuglyAgent.PrintLog (LogSeverity.LogInfo, "Package extra data"); 77 | return extras; 78 | } 79 | } 80 | 81 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/BuglyInit.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a717f6955eddf4463ad541714a1b5483 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 367f45ee79117cb4c94e64bfa6d4847d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/Bugly.framework.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 75b10080bdc104b83beb6663fc9985fb 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Bugly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlameskyDexive/FastBugly/db6a30e6e799ede62ffc4cfad5fb68a385eb051a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Bugly -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Bugly.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0dd2027a6278544d4acc46c208b9f5f5 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2e39c573403bc479cb19650e7436097c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/Bugly.h: -------------------------------------------------------------------------------- 1 | // 2 | // Bugly.h 3 | // 4 | // Version: 2.5(5) 5 | // 6 | // Copyright (c) 2017年 Tencent. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "BuglyConfig.h" 12 | #import "BuglyLog.h" 13 | 14 | BLY_START_NONNULL 15 | 16 | @interface Bugly : NSObject 17 | 18 | /** 19 | * 初始化Bugly,使用默认BuglyConfigs 20 | * 21 | * @param appId 注册Bugly分配的应用唯一标识 22 | */ 23 | + (void)startWithAppId:(NSString * BLY_NULLABLE)appId; 24 | 25 | /** 26 | * 使用指定配置初始化Bugly 27 | * 28 | * @param appId 注册Bugly分配的应用唯一标识 29 | * @param config 传入配置的 BuglyConfig 30 | */ 31 | + (void)startWithAppId:(NSString * BLY_NULLABLE)appId 32 | config:(BuglyConfig * BLY_NULLABLE)config; 33 | 34 | /** 35 | * 使用指定配置初始化Bugly 36 | * 37 | * @param appId 注册Bugly分配的应用唯一标识 38 | * @param development 是否开发设备 39 | * @param config 传入配置的 BuglyConfig 40 | */ 41 | + (void)startWithAppId:(NSString * BLY_NULLABLE)appId 42 | developmentDevice:(BOOL)development 43 | config:(BuglyConfig * BLY_NULLABLE)config; 44 | 45 | /** 46 | * 设置用户标识 47 | * 48 | * @param userId 用户标识 49 | */ 50 | + (void)setUserIdentifier:(NSString *)userId; 51 | 52 | /** 53 | * 更新版本信息 54 | * 55 | * @param version 应用版本信息 56 | */ 57 | + (void)updateAppVersion:(NSString *)version; 58 | 59 | /** 60 | * 设置关键数据,随崩溃信息上报 61 | * 62 | * @param value KEY 63 | * @param key VALUE 64 | */ 65 | + (void)setUserValue:(NSString *)value 66 | forKey:(NSString *)key; 67 | 68 | /** 69 | * 获取关键数据 70 | * 71 | * @return 关键数据 72 | */ 73 | + (NSDictionary * BLY_NULLABLE)allUserValues; 74 | 75 | /** 76 | * 设置标签 77 | * 78 | * @param tag 标签ID,可在网站生成 79 | */ 80 | + (void)setTag:(NSUInteger)tag; 81 | 82 | /** 83 | * 获取当前设置标签 84 | * 85 | * @return 当前标签ID 86 | */ 87 | + (NSUInteger)currentTag; 88 | 89 | /** 90 | * 获取设备ID 91 | * 92 | * @return 设备ID 93 | */ 94 | + (NSString *)buglyDeviceId; 95 | 96 | /** 97 | * 上报自定义Objective-C异常 98 | * 99 | * @param exception 异常信息 100 | */ 101 | + (void)reportException:(NSException *)exception; 102 | 103 | /** 104 | * 上报错误 105 | * 106 | * @param error 错误信息 107 | */ 108 | + (void)reportError:(NSError *)error; 109 | 110 | /** 111 | * @brief 上报自定义错误 112 | * 113 | * @param category 类型(Cocoa=3,CSharp=4,JS=5,Lua=6) 114 | * @param aName 名称 115 | * @param aReason 错误原因 116 | * @param aStackArray 堆栈 117 | * @param info 附加数据 118 | * @param terminate 上报后是否退出应用进程 119 | */ 120 | + (void)reportExceptionWithCategory:(NSUInteger)category 121 | name:(NSString *)aName 122 | reason:(NSString *)aReason 123 | callStack:(NSArray *)aStackArray 124 | extraInfo:(NSDictionary *)info 125 | terminateApp:(BOOL)terminate; 126 | 127 | /** 128 | * SDK 版本信息 129 | * 130 | * @return SDK版本号 131 | */ 132 | + (NSString *)sdkVersion; 133 | 134 | /** 135 | * APP 版本信息 136 | * 137 | * @return SDK版本号 138 | */ 139 | + (NSString *)appVersion; 140 | 141 | /** 142 | * App 是否发生了连续闪退 143 | * 如果 启动SDK 且 5秒内 闪退,且次数达到 3次 则判定为连续闪退 144 | * 145 | * @return 是否连续闪退 146 | */ 147 | + (BOOL)isAppCrashedOnStartUpExceedTheLimit; 148 | 149 | BLY_END_NONNULL 150 | 151 | @end 152 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/Bugly.h.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 841e5a51a12834159aeebd4cbad0d2ce 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/BuglyConfig.h: -------------------------------------------------------------------------------- 1 | // 2 | // BuglyConfig.h 3 | // Bugly 4 | // 5 | // Copyright (c) 2016年 Tencent. All rights reserved. 6 | // 7 | 8 | #pragma once 9 | 10 | #define BLY_UNAVAILABLE(x) __attribute__((unavailable(x))) 11 | 12 | #if __has_feature(nullability) 13 | #define BLY_NONNULL __nonnull 14 | #define BLY_NULLABLE __nullable 15 | #define BLY_START_NONNULL _Pragma("clang assume_nonnull begin") 16 | #define BLY_END_NONNULL _Pragma("clang assume_nonnull end") 17 | #else 18 | #define BLY_NONNULL 19 | #define BLY_NULLABLE 20 | #define BLY_START_NONNULL 21 | #define BLY_END_NONNULL 22 | #endif 23 | 24 | #import 25 | 26 | #import "BuglyLog.h" 27 | 28 | BLY_START_NONNULL 29 | 30 | @protocol BuglyDelegate 31 | 32 | @optional 33 | /** 34 | * 发生异常时回调 35 | * 36 | * @param exception 异常信息 37 | * 38 | * @return 返回需上报记录,随异常上报一起上报 39 | */ 40 | - (NSString * BLY_NULLABLE)attachmentForException:(NSException * BLY_NULLABLE)exception; 41 | 42 | 43 | /** 44 | * 策略激活时回调 45 | * 46 | * @param tacticInfo 47 | * 48 | * @return app是否弹框展示 49 | */ 50 | - (BOOL) h5AlertForTactic:(NSDictionary *)tacticInfo; 51 | 52 | @end 53 | 54 | @interface BuglyConfig : NSObject 55 | 56 | /** 57 | * SDK Debug信息开关, 默认关闭 58 | */ 59 | @property (nonatomic, assign) BOOL debugMode; 60 | 61 | /** 62 | * 设置自定义渠道标识 63 | */ 64 | @property (nonatomic, copy) NSString *channel; 65 | 66 | /** 67 | * 设置自定义版本号 68 | */ 69 | @property (nonatomic, copy) NSString *version; 70 | 71 | /** 72 | * 设置自定义设备唯一标识 73 | */ 74 | @property (nonatomic, copy) NSString *deviceIdentifier; 75 | 76 | /** 77 | * 卡顿监控开关,默认关闭 78 | */ 79 | @property (nonatomic) BOOL blockMonitorEnable; 80 | 81 | /** 82 | * 卡顿监控判断间隔,单位为秒 83 | */ 84 | @property (nonatomic) NSTimeInterval blockMonitorTimeout; 85 | 86 | /** 87 | * 设置 App Groups Id (如有使用 Bugly iOS Extension SDK,请设置该值) 88 | */ 89 | @property (nonatomic, copy) NSString *applicationGroupIdentifier; 90 | 91 | /** 92 | * 进程内还原开关,默认开启 93 | */ 94 | @property (nonatomic) BOOL symbolicateInProcessEnable; 95 | 96 | /** 97 | * 非正常退出事件记录开关,默认关闭 98 | */ 99 | @property (nonatomic) BOOL unexpectedTerminatingDetectionEnable; 100 | 101 | /** 102 | * 页面信息记录开关,默认开启 103 | */ 104 | @property (nonatomic) BOOL viewControllerTrackingEnable; 105 | 106 | /** 107 | * Bugly Delegate 108 | */ 109 | @property (nonatomic, assign) id delegate; 110 | 111 | /** 112 | * 控制自定义日志上报,默认值为BuglyLogLevelSilent,即关闭日志记录功能。 113 | * 如果设置为BuglyLogLevelWarn,则在崩溃时会上报Warn、Error接口打印的日志 114 | */ 115 | @property (nonatomic, assign) BuglyLogLevel reportLogLevel; 116 | 117 | /** 118 | * 崩溃数据过滤器,如果崩溃堆栈的模块名包含过滤器中设置的关键字,则崩溃数据不会进行上报 119 | * 例如,过滤崩溃堆栈中包含搜狗输入法的数据,可以添加过滤器关键字SogouInputIPhone.dylib等 120 | */ 121 | @property (nonatomic, copy) NSArray *excludeModuleFilter; 122 | 123 | /** 124 | * 控制台日志上报开关,默认开启 125 | */ 126 | @property (nonatomic, assign) BOOL consolelogEnable; 127 | 128 | /** 129 | * 崩溃退出超时,如果监听到崩溃后,App一直没有退出,则到达超时时间后会自动abort进程退出 130 | * 默认值 5s, 单位 秒 131 | * 当赋值为0时,则不会自动abort进程退出 132 | */ 133 | @property (nonatomic, assign) NSUInteger crashAbortTimeout; 134 | 135 | @end 136 | BLY_END_NONNULL 137 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/BuglyConfig.h.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dca72c35ab06f4c9abf2877ad9a9f718 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/BuglyLog.h: -------------------------------------------------------------------------------- 1 | // 2 | // BuglyLog.h 3 | // Bugly 4 | // 5 | // Copyright (c) 2017年 Tencent. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | // Log level for Bugly Log 11 | typedef NS_ENUM(NSUInteger, BuglyLogLevel) { 12 | BuglyLogLevelSilent = 0, 13 | BuglyLogLevelError = 1, 14 | BuglyLogLevelWarn = 2, 15 | BuglyLogLevelInfo = 3, 16 | BuglyLogLevelDebug = 4, 17 | BuglyLogLevelVerbose = 5, 18 | }; 19 | #pragma mark - 20 | 21 | OBJC_EXTERN void BLYLog(BuglyLogLevel level, NSString *format, ...) NS_FORMAT_FUNCTION(2, 3); 22 | 23 | OBJC_EXTERN void BLYLogv(BuglyLogLevel level, NSString *format, va_list args) NS_FORMAT_FUNCTION(2, 0); 24 | 25 | #pragma mark - 26 | #define BUGLY_LOG_MACRO(_level, fmt, ...) [BuglyLog level:_level tag:nil log:fmt, ##__VA_ARGS__] 27 | 28 | #define BLYLogError(fmt, ...) BUGLY_LOG_MACRO(BuglyLogLevelError, fmt, ##__VA_ARGS__) 29 | #define BLYLogWarn(fmt, ...) BUGLY_LOG_MACRO(BuglyLogLevelWarn, fmt, ##__VA_ARGS__) 30 | #define BLYLogInfo(fmt, ...) BUGLY_LOG_MACRO(BuglyLogLevelInfo, fmt, ##__VA_ARGS__) 31 | #define BLYLogDebug(fmt, ...) BUGLY_LOG_MACRO(BuglyLogLevelDebug, fmt, ##__VA_ARGS__) 32 | #define BLYLogVerbose(fmt, ...) BUGLY_LOG_MACRO(BuglyLogLevelVerbose, fmt, ##__VA_ARGS__) 33 | 34 | #pragma mark - Interface 35 | @interface BuglyLog : NSObject 36 | 37 | /** 38 | * @brief 初始化日志模块 39 | * 40 | * @param level 设置默认日志级别,默认BLYLogLevelSilent 41 | * 42 | * @param printConsole 是否打印到控制台,默认NO 43 | */ 44 | + (void)initLogger:(BuglyLogLevel) level consolePrint:(BOOL)printConsole; 45 | 46 | /** 47 | * @brief 打印BLYLogLevelInfo日志 48 | * 49 | * @param format 日志内容 总日志大小限制为:字符串长度30k,条数200 50 | */ 51 | + (void)log:(NSString *)format, ... NS_FORMAT_FUNCTION(1, 2); 52 | 53 | /** 54 | * @brief 打印日志 55 | * 56 | * @param level 日志级别 57 | * @param message 日志内容 总日志大小限制为:字符串长度30k,条数200 58 | */ 59 | + (void)level:(BuglyLogLevel) level logs:(NSString *)message; 60 | 61 | /** 62 | * @brief 打印日志 63 | * 64 | * @param level 日志级别 65 | * @param format 日志内容 总日志大小限制为:字符串长度30k,条数200 66 | */ 67 | + (void)level:(BuglyLogLevel) level log:(NSString *)format, ... NS_FORMAT_FUNCTION(2, 3); 68 | 69 | /** 70 | * @brief 打印日志 71 | * 72 | * @param level 日志级别 73 | * @param tag 日志模块分类 74 | * @param format 日志内容 总日志大小限制为:字符串长度30k,条数200 75 | */ 76 | + (void)level:(BuglyLogLevel) level tag:(NSString *) tag log:(NSString *)format, ... NS_FORMAT_FUNCTION(3, 4); 77 | 78 | @end 79 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/BuglyLog.h.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52d616a4d69ce46469563ec4166a5da7 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Modules.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 877eab29b0d76443883ae4dbb398cb69 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module Bugly { 2 | umbrella header "Bugly.h" 3 | 4 | export * 5 | module * { export * } 6 | 7 | link framework "Foundation" 8 | link framework "Security" 9 | link framework "SystemConfiguration" 10 | link "c++" 11 | link "z" 12 | } 13 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Modules/module.modulemap.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 01fcf8f3340eb42758a274ba09bbfa74 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/BuglyBridge.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6b25bfcf65a44ec0a0e6973f612af2a 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/BuglyBridge/BuglyBridge.h: -------------------------------------------------------------------------------- 1 | // 2 | // BuglyBridge.h 3 | // BuglyAgent 4 | // 5 | // Created by Yeelik on 15/11/25. 6 | // Copyright © 2015年 Bugly. All rights reserved. 7 | // 8 | // Version: 1.3.3 9 | // 10 | 11 | #import 12 | 13 | #pragma mark - Interface for Bridge 14 | 15 | #ifdef __cplusplus 16 | extern "C"{ 17 | #endif 18 | 19 | /** 20 | * @brief 初始化 21 | * 22 | * @param appId 应用标识 23 | * @param debug 是否开启debug模式,开启后会在控制台打印调试信息,默认为NO 24 | * @param level 自定义日志上报级别,使用SDK接口打印的日志会跟崩溃信息一起上报,默认为Info(即Info、Warning、Error级别的日志都会上报) 25 | * Debug=4,Info=3,Warnning=2,Error=1,Off=0 26 | */ 27 | void _BuglyInit(const char * appId, bool debug, int level); 28 | 29 | /** 30 | * @brief 设置用户唯一标识 31 | * 32 | * @param userId 33 | */ 34 | void _BuglySetUserId(const char * userId); 35 | 36 | /** 37 | * @brief 设置自定义标签 38 | * 39 | * @param tag 40 | */ 41 | void _BuglySetTag(int tag); 42 | 43 | /** 44 | * @brief 设置自定义键值对数据 45 | * 46 | * @param key 47 | * @param value 48 | */ 49 | void _BuglySetKeyValue(const char * key, const char * value); 50 | 51 | /** 52 | * @brief 自定义异常数据上报 53 | * 54 | * @param type 55 | * @param name 异常类型 56 | * @param reason 异常原因 57 | * @param stackTrace 异常堆栈 58 | * @param extras 附加数据 59 | * @param quit 上报后是否退出应用 60 | */ 61 | void _BuglyReportException(int type, const char * name, const char * reason, const char * stackTrace, const char * extras, bool quit); 62 | 63 | /** 64 | * @brief 设置默认的应用配置,在初始化之前调用 65 | * 66 | * @param channel 渠道 67 | * @param version 应用版本 68 | * @param user 用户 69 | * @param deviceId 设备唯一标识 70 | */ 71 | void _BuglyDefaultConfig(const char * channel, const char * version, const char *user, const char * deviceId); 72 | 73 | /** 74 | * @brief 自定义日志打印接口 75 | * 76 | * @param level 日志级别, 1=Error、2=Warning、3=Info、4=Debug 77 | * @param tag 日志标签 78 | * @param log 日志内容 79 | */ 80 | void _BuglyLogMessage(int level, const char * tag, const char * log); 81 | 82 | /** 83 | * @brief 设置崩溃上报组件的类别 84 | * 85 | * @param type 0=Default、1=Bugly、2=MSDK、3=IMSDK 86 | */ 87 | void _BuglyConfigCrashReporterType(int type); 88 | 89 | /** 90 | * @brief 设置额外的配置信息 91 | * 92 | * @param key 93 | * @param value 94 | */ 95 | void _BuglySetExtraConfig(const char *key, const char * value); 96 | 97 | #ifdef __cplusplus 98 | } // extern "C" 99 | #endif 100 | 101 | #pragma mark - 102 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/BuglyBridge/BuglyBridge.h.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aded946ff2bdf40ff9ac3e5c10f8fa5d 3 | timeCreated: 1497947595 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 0 13 | settings: {} 14 | Editor: 15 | enabled: 1 16 | settings: 17 | DefaultValueInitialized: true 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/BuglyBridge/libBuglyBridge.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlameskyDexive/FastBugly/db6a30e6e799ede62ffc4cfad5fb68a385eb051a/Assets/Plugins/BuglyPlugins/iOS/BuglyBridge/libBuglyBridge.a -------------------------------------------------------------------------------- /Assets/Plugins/BuglyPlugins/iOS/BuglyBridge/libBuglyBridge.a.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e4622a66135549e18a59de3c9348ba7 3 | timeCreated: 1497947594 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 0 13 | settings: {} 14 | Editor: 15 | enabled: 1 16 | settings: 17 | DefaultValueInitialized: true 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ac544a90255ca04e9cd2217ac20eaca 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Sample.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class Sample : MonoBehaviour 6 | { 7 | void Start() 8 | { 9 | //初始化bugly的appid,在bugly创建获取 10 | #if UNITY_IOS 11 | BuglyAgent.InitWithAppId ("your ios app id"); 12 | #elif UNITY_ANDROID 13 | BuglyAgent.InitWithAppId ("812665466a"); 14 | #endif 15 | 16 | BuglyAgent.ConfigDebugMode(true); 17 | BuglyAgent.EnableExceptionHandler(); 18 | Debug.LogError($"init bugly"); 19 | 20 | exception += $"init bugly\n"; 21 | } 22 | 23 | private GUIStyle style = new GUIStyle(); 24 | private string exception; 25 | private List numbers = new List(); 26 | 27 | void TestNullReference() 28 | { 29 | style.fontSize = 22; 30 | try 31 | { 32 | GameObject go = null; 33 | go.name = ""; 34 | } 35 | catch (Exception e) 36 | { 37 | Debug.LogError($"{e}"); 38 | exception += $"{e}\n"; 39 | } 40 | } 41 | 42 | void TestOutOfRange() 43 | { 44 | try 45 | { 46 | numbers[1] = 1; 47 | } 48 | catch (Exception e) 49 | { 50 | Debug.LogError($"{e}"); 51 | exception += $"{e}\n"; 52 | } 53 | } 54 | 55 | 56 | void OnGUI() 57 | { 58 | GUILayout.Space(150); 59 | GUILayout.BeginHorizontal(); 60 | if (GUILayout.Button("TestNullReference", GUILayout.Width(200), GUILayout.Height(60))) 61 | { 62 | TestNullReference(); 63 | } 64 | GUILayout.Space(50); 65 | if (GUILayout.Button("OutOfRange", GUILayout.Width(200), GUILayout.Height(60))) 66 | { 67 | TestOutOfRange(); 68 | } 69 | GUILayout.EndHorizontal(); 70 | 71 | if (!string.IsNullOrEmpty(exception)) 72 | { 73 | GUI.Label(new Rect(0, 100, Screen.width, Screen.height), $"{exception}", style); 74 | } 75 | 76 | 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /Assets/Scenes/Sample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2250cb5e16b0bb74d9ffd63ebe3f978e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 705507994} 41 | m_IndirectSpecularColor: {r: 0.44657826, g: 0.49641263, b: 0.57481676, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 12 47 | m_GIWorkflowMode: 1 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 0 56 | m_LightmapEditorSettings: 57 | serializedVersion: 12 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_AtlasSize: 1024 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_ExtractAmbientOcclusion: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 1 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVREnvironmentSampleCount: 500 81 | m_PVREnvironmentReferencePointCount: 2048 82 | m_PVRFilteringMode: 2 83 | m_PVRDenoiserTypeDirect: 0 84 | m_PVRDenoiserTypeIndirect: 0 85 | m_PVRDenoiserTypeAO: 0 86 | m_PVRFilterTypeDirect: 0 87 | m_PVRFilterTypeIndirect: 0 88 | m_PVRFilterTypeAO: 0 89 | m_PVREnvironmentMIS: 0 90 | m_PVRCulling: 1 91 | m_PVRFilteringGaussRadiusDirect: 1 92 | m_PVRFilteringGaussRadiusIndirect: 5 93 | m_PVRFilteringGaussRadiusAO: 2 94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 96 | m_PVRFilteringAtrousPositionSigmaAO: 1 97 | m_ExportTrainingData: 0 98 | m_TrainingDataDestination: TrainingData 99 | m_LightProbeSampleCountMultiplier: 4 100 | m_LightingDataAsset: {fileID: 0} 101 | m_LightingSettings: {fileID: 880853559} 102 | --- !u!196 &4 103 | NavMeshSettings: 104 | serializedVersion: 2 105 | m_ObjectHideFlags: 0 106 | m_BuildSettings: 107 | serializedVersion: 2 108 | agentTypeID: 0 109 | agentRadius: 0.5 110 | agentHeight: 2 111 | agentSlope: 45 112 | agentClimb: 0.4 113 | ledgeDropHeight: 0 114 | maxJumpAcrossDistance: 0 115 | minRegionArea: 2 116 | manualCellSize: 0 117 | cellSize: 0.16666667 118 | manualTileSize: 0 119 | tileSize: 256 120 | accuratePlacement: 0 121 | maxJobWorkers: 0 122 | preserveTilesOutsideBounds: 0 123 | debug: 124 | m_Flags: 0 125 | m_NavMeshData: {fileID: 0} 126 | --- !u!1 &705507993 127 | GameObject: 128 | m_ObjectHideFlags: 0 129 | m_CorrespondingSourceObject: {fileID: 0} 130 | m_PrefabInstance: {fileID: 0} 131 | m_PrefabAsset: {fileID: 0} 132 | serializedVersion: 6 133 | m_Component: 134 | - component: {fileID: 705507995} 135 | - component: {fileID: 705507994} 136 | m_Layer: 0 137 | m_Name: Directional Light 138 | m_TagString: Untagged 139 | m_Icon: {fileID: 0} 140 | m_NavMeshLayer: 0 141 | m_StaticEditorFlags: 0 142 | m_IsActive: 1 143 | --- !u!108 &705507994 144 | Light: 145 | m_ObjectHideFlags: 0 146 | m_CorrespondingSourceObject: {fileID: 0} 147 | m_PrefabInstance: {fileID: 0} 148 | m_PrefabAsset: {fileID: 0} 149 | m_GameObject: {fileID: 705507993} 150 | m_Enabled: 1 151 | serializedVersion: 10 152 | m_Type: 1 153 | m_Shape: 0 154 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 155 | m_Intensity: 1 156 | m_Range: 10 157 | m_SpotAngle: 30 158 | m_InnerSpotAngle: 21.80208 159 | m_CookieSize: 10 160 | m_Shadows: 161 | m_Type: 2 162 | m_Resolution: -1 163 | m_CustomResolution: -1 164 | m_Strength: 1 165 | m_Bias: 0.05 166 | m_NormalBias: 0.4 167 | m_NearPlane: 0.2 168 | m_CullingMatrixOverride: 169 | e00: 1 170 | e01: 0 171 | e02: 0 172 | e03: 0 173 | e10: 0 174 | e11: 1 175 | e12: 0 176 | e13: 0 177 | e20: 0 178 | e21: 0 179 | e22: 1 180 | e23: 0 181 | e30: 0 182 | e31: 0 183 | e32: 0 184 | e33: 1 185 | m_UseCullingMatrixOverride: 0 186 | m_Cookie: {fileID: 0} 187 | m_DrawHalo: 0 188 | m_Flare: {fileID: 0} 189 | m_RenderMode: 0 190 | m_CullingMask: 191 | serializedVersion: 2 192 | m_Bits: 4294967295 193 | m_RenderingLayerMask: 1 194 | m_Lightmapping: 1 195 | m_LightShadowCasterMode: 0 196 | m_AreaSize: {x: 1, y: 1} 197 | m_BounceIntensity: 1 198 | m_ColorTemperature: 6570 199 | m_UseColorTemperature: 0 200 | m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} 201 | m_UseBoundingSphereOverride: 0 202 | m_UseViewFrustumForShadowCasterCull: 1 203 | m_ShadowRadius: 0 204 | m_ShadowAngle: 0 205 | --- !u!4 &705507995 206 | Transform: 207 | m_ObjectHideFlags: 0 208 | m_CorrespondingSourceObject: {fileID: 0} 209 | m_PrefabInstance: {fileID: 0} 210 | m_PrefabAsset: {fileID: 0} 211 | m_GameObject: {fileID: 705507993} 212 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 213 | m_LocalPosition: {x: 0, y: 3, z: 0} 214 | m_LocalScale: {x: 1, y: 1, z: 1} 215 | m_ConstrainProportionsScale: 0 216 | m_Children: [] 217 | m_Father: {fileID: 0} 218 | m_RootOrder: 1 219 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 220 | --- !u!850595691 &880853559 221 | LightingSettings: 222 | m_ObjectHideFlags: 0 223 | m_CorrespondingSourceObject: {fileID: 0} 224 | m_PrefabInstance: {fileID: 0} 225 | m_PrefabAsset: {fileID: 0} 226 | m_Name: Settings.lighting 227 | serializedVersion: 4 228 | m_GIWorkflowMode: 1 229 | m_EnableBakedLightmaps: 1 230 | m_EnableRealtimeLightmaps: 0 231 | m_RealtimeEnvironmentLighting: 1 232 | m_BounceScale: 1 233 | m_AlbedoBoost: 1 234 | m_IndirectOutputScale: 1 235 | m_UsingShadowmask: 1 236 | m_BakeBackend: 1 237 | m_LightmapMaxSize: 1024 238 | m_BakeResolution: 40 239 | m_Padding: 2 240 | m_LightmapCompression: 3 241 | m_AO: 0 242 | m_AOMaxDistance: 1 243 | m_CompAOExponent: 1 244 | m_CompAOExponentDirect: 0 245 | m_ExtractAO: 0 246 | m_MixedBakeMode: 2 247 | m_LightmapsBakeMode: 1 248 | m_FilterMode: 1 249 | m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0} 250 | m_ExportTrainingData: 0 251 | m_TrainingDataDestination: TrainingData 252 | m_RealtimeResolution: 2 253 | m_ForceWhiteAlbedo: 0 254 | m_ForceUpdates: 0 255 | m_FinalGather: 0 256 | m_FinalGatherRayCount: 256 257 | m_FinalGatherFiltering: 1 258 | m_PVRCulling: 1 259 | m_PVRSampling: 1 260 | m_PVRDirectSampleCount: 32 261 | m_PVRSampleCount: 500 262 | m_PVREnvironmentSampleCount: 500 263 | m_PVREnvironmentReferencePointCount: 2048 264 | m_LightProbeSampleCountMultiplier: 4 265 | m_PVRBounces: 2 266 | m_PVRMinBounces: 2 267 | m_PVREnvironmentMIS: 0 268 | m_PVRFilteringMode: 2 269 | m_PVRDenoiserTypeDirect: 0 270 | m_PVRDenoiserTypeIndirect: 0 271 | m_PVRDenoiserTypeAO: 0 272 | m_PVRFilterTypeDirect: 0 273 | m_PVRFilterTypeIndirect: 0 274 | m_PVRFilterTypeAO: 0 275 | m_PVRFilteringGaussRadiusDirect: 1 276 | m_PVRFilteringGaussRadiusIndirect: 5 277 | m_PVRFilteringGaussRadiusAO: 2 278 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 279 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 280 | m_PVRFilteringAtrousPositionSigmaAO: 1 281 | m_PVRTiledBaking: 0 282 | --- !u!1 &963194225 283 | GameObject: 284 | m_ObjectHideFlags: 0 285 | m_CorrespondingSourceObject: {fileID: 0} 286 | m_PrefabInstance: {fileID: 0} 287 | m_PrefabAsset: {fileID: 0} 288 | serializedVersion: 6 289 | m_Component: 290 | - component: {fileID: 963194228} 291 | - component: {fileID: 963194227} 292 | - component: {fileID: 963194226} 293 | - component: {fileID: 963194229} 294 | m_Layer: 0 295 | m_Name: Main Camera 296 | m_TagString: MainCamera 297 | m_Icon: {fileID: 0} 298 | m_NavMeshLayer: 0 299 | m_StaticEditorFlags: 0 300 | m_IsActive: 1 301 | --- !u!81 &963194226 302 | AudioListener: 303 | m_ObjectHideFlags: 0 304 | m_CorrespondingSourceObject: {fileID: 0} 305 | m_PrefabInstance: {fileID: 0} 306 | m_PrefabAsset: {fileID: 0} 307 | m_GameObject: {fileID: 963194225} 308 | m_Enabled: 1 309 | --- !u!20 &963194227 310 | Camera: 311 | m_ObjectHideFlags: 0 312 | m_CorrespondingSourceObject: {fileID: 0} 313 | m_PrefabInstance: {fileID: 0} 314 | m_PrefabAsset: {fileID: 0} 315 | m_GameObject: {fileID: 963194225} 316 | m_Enabled: 1 317 | serializedVersion: 2 318 | m_ClearFlags: 1 319 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 320 | m_projectionMatrixMode: 1 321 | m_GateFitMode: 2 322 | m_FOVAxisMode: 0 323 | m_SensorSize: {x: 36, y: 24} 324 | m_LensShift: {x: 0, y: 0} 325 | m_FocalLength: 50 326 | m_NormalizedViewPortRect: 327 | serializedVersion: 2 328 | x: 0 329 | y: 0 330 | width: 1 331 | height: 1 332 | near clip plane: 0.3 333 | far clip plane: 1000 334 | field of view: 60 335 | orthographic: 0 336 | orthographic size: 5 337 | m_Depth: -1 338 | m_CullingMask: 339 | serializedVersion: 2 340 | m_Bits: 4294967295 341 | m_RenderingPath: -1 342 | m_TargetTexture: {fileID: 0} 343 | m_TargetDisplay: 0 344 | m_TargetEye: 3 345 | m_HDR: 1 346 | m_AllowMSAA: 1 347 | m_AllowDynamicResolution: 0 348 | m_ForceIntoRT: 0 349 | m_OcclusionCulling: 1 350 | m_StereoConvergence: 10 351 | m_StereoSeparation: 0.022 352 | --- !u!4 &963194228 353 | Transform: 354 | m_ObjectHideFlags: 0 355 | m_CorrespondingSourceObject: {fileID: 0} 356 | m_PrefabInstance: {fileID: 0} 357 | m_PrefabAsset: {fileID: 0} 358 | m_GameObject: {fileID: 963194225} 359 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 360 | m_LocalPosition: {x: 0, y: 1, z: -10} 361 | m_LocalScale: {x: 1, y: 1, z: 1} 362 | m_ConstrainProportionsScale: 0 363 | m_Children: [] 364 | m_Father: {fileID: 0} 365 | m_RootOrder: 0 366 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 367 | --- !u!114 &963194229 368 | MonoBehaviour: 369 | m_ObjectHideFlags: 0 370 | m_CorrespondingSourceObject: {fileID: 0} 371 | m_PrefabInstance: {fileID: 0} 372 | m_PrefabAsset: {fileID: 0} 373 | m_GameObject: {fileID: 963194225} 374 | m_Enabled: 1 375 | m_EditorHideFlags: 0 376 | m_Script: {fileID: 11500000, guid: 2250cb5e16b0bb74d9ffd63ebe3f978e, type: 3} 377 | m_Name: 378 | m_EditorClassIdentifier: 379 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fc0d4010bbf28b4594072e72b8655ab 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Flamesky 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.ide.visualstudio": "2.0.16", 4 | "com.unity.modules.ai": "1.0.0", 5 | "com.unity.modules.androidjni": "1.0.0", 6 | "com.unity.modules.animation": "1.0.0", 7 | "com.unity.modules.assetbundle": "1.0.0", 8 | "com.unity.modules.audio": "1.0.0", 9 | "com.unity.modules.cloth": "1.0.0", 10 | "com.unity.modules.director": "1.0.0", 11 | "com.unity.modules.imageconversion": "1.0.0", 12 | "com.unity.modules.imgui": "1.0.0", 13 | "com.unity.modules.jsonserialize": "1.0.0", 14 | "com.unity.modules.screencapture": "1.0.0", 15 | "com.unity.modules.ui": "1.0.0", 16 | "com.unity.modules.umbra": "1.0.0", 17 | "com.unity.modules.unitywebrequest": "1.0.0", 18 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 19 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 20 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 21 | "com.unity.modules.unitywebrequestwww": "1.0.0", 22 | "com.unity.modules.vehicles": "1.0.0" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Packages/packages-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.ext.nunit": { 4 | "version": "1.0.6", 5 | "depth": 2, 6 | "source": "registry", 7 | "dependencies": {}, 8 | "url": "https://packages.unity.com" 9 | }, 10 | "com.unity.ide.visualstudio": { 11 | "version": "2.0.16", 12 | "depth": 0, 13 | "source": "registry", 14 | "dependencies": { 15 | "com.unity.test-framework": "1.1.9" 16 | }, 17 | "url": "https://packages.unity.com" 18 | }, 19 | "com.unity.test-framework": { 20 | "version": "1.1.31", 21 | "depth": 1, 22 | "source": "registry", 23 | "dependencies": { 24 | "com.unity.ext.nunit": "1.0.6", 25 | "com.unity.modules.imgui": "1.0.0", 26 | "com.unity.modules.jsonserialize": "1.0.0" 27 | }, 28 | "url": "https://packages.unity.com" 29 | }, 30 | "com.unity.modules.ai": { 31 | "version": "1.0.0", 32 | "depth": 0, 33 | "source": "builtin", 34 | "dependencies": {} 35 | }, 36 | "com.unity.modules.androidjni": { 37 | "version": "1.0.0", 38 | "depth": 0, 39 | "source": "builtin", 40 | "dependencies": {} 41 | }, 42 | "com.unity.modules.animation": { 43 | "version": "1.0.0", 44 | "depth": 0, 45 | "source": "builtin", 46 | "dependencies": {} 47 | }, 48 | "com.unity.modules.assetbundle": { 49 | "version": "1.0.0", 50 | "depth": 0, 51 | "source": "builtin", 52 | "dependencies": {} 53 | }, 54 | "com.unity.modules.audio": { 55 | "version": "1.0.0", 56 | "depth": 0, 57 | "source": "builtin", 58 | "dependencies": {} 59 | }, 60 | "com.unity.modules.cloth": { 61 | "version": "1.0.0", 62 | "depth": 0, 63 | "source": "builtin", 64 | "dependencies": { 65 | "com.unity.modules.physics": "1.0.0" 66 | } 67 | }, 68 | "com.unity.modules.director": { 69 | "version": "1.0.0", 70 | "depth": 0, 71 | "source": "builtin", 72 | "dependencies": { 73 | "com.unity.modules.audio": "1.0.0", 74 | "com.unity.modules.animation": "1.0.0" 75 | } 76 | }, 77 | "com.unity.modules.imageconversion": { 78 | "version": "1.0.0", 79 | "depth": 0, 80 | "source": "builtin", 81 | "dependencies": {} 82 | }, 83 | "com.unity.modules.imgui": { 84 | "version": "1.0.0", 85 | "depth": 0, 86 | "source": "builtin", 87 | "dependencies": {} 88 | }, 89 | "com.unity.modules.jsonserialize": { 90 | "version": "1.0.0", 91 | "depth": 0, 92 | "source": "builtin", 93 | "dependencies": {} 94 | }, 95 | "com.unity.modules.physics": { 96 | "version": "1.0.0", 97 | "depth": 1, 98 | "source": "builtin", 99 | "dependencies": {} 100 | }, 101 | "com.unity.modules.screencapture": { 102 | "version": "1.0.0", 103 | "depth": 0, 104 | "source": "builtin", 105 | "dependencies": { 106 | "com.unity.modules.imageconversion": "1.0.0" 107 | } 108 | }, 109 | "com.unity.modules.ui": { 110 | "version": "1.0.0", 111 | "depth": 0, 112 | "source": "builtin", 113 | "dependencies": {} 114 | }, 115 | "com.unity.modules.umbra": { 116 | "version": "1.0.0", 117 | "depth": 0, 118 | "source": "builtin", 119 | "dependencies": {} 120 | }, 121 | "com.unity.modules.unitywebrequest": { 122 | "version": "1.0.0", 123 | "depth": 0, 124 | "source": "builtin", 125 | "dependencies": {} 126 | }, 127 | "com.unity.modules.unitywebrequestassetbundle": { 128 | "version": "1.0.0", 129 | "depth": 0, 130 | "source": "builtin", 131 | "dependencies": { 132 | "com.unity.modules.assetbundle": "1.0.0", 133 | "com.unity.modules.unitywebrequest": "1.0.0" 134 | } 135 | }, 136 | "com.unity.modules.unitywebrequestaudio": { 137 | "version": "1.0.0", 138 | "depth": 0, 139 | "source": "builtin", 140 | "dependencies": { 141 | "com.unity.modules.unitywebrequest": "1.0.0", 142 | "com.unity.modules.audio": "1.0.0" 143 | } 144 | }, 145 | "com.unity.modules.unitywebrequesttexture": { 146 | "version": "1.0.0", 147 | "depth": 0, 148 | "source": "builtin", 149 | "dependencies": { 150 | "com.unity.modules.unitywebrequest": "1.0.0", 151 | "com.unity.modules.imageconversion": "1.0.0" 152 | } 153 | }, 154 | "com.unity.modules.unitywebrequestwww": { 155 | "version": "1.0.0", 156 | "depth": 0, 157 | "source": "builtin", 158 | "dependencies": { 159 | "com.unity.modules.unitywebrequest": "1.0.0", 160 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 161 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 162 | "com.unity.modules.audio": "1.0.0", 163 | "com.unity.modules.assetbundle": "1.0.0", 164 | "com.unity.modules.imageconversion": "1.0.0" 165 | } 166 | }, 167 | "com.unity.modules.vehicles": { 168 | "version": "1.0.0", 169 | "depth": 0, 170 | "source": "builtin", 171 | "dependencies": { 172 | "com.unity.modules.physics": "1.0.0" 173 | } 174 | } 175 | } 176 | } 177 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_EnableOutputSuspension: 1 16 | m_SpatializerPlugin: 17 | m_AmbisonicDecoderPlugin: 18 | m_DisableAudio: 0 19 | m_VirtualizeEffects: 1 20 | m_RequestedDSPBufferSize: 0 21 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 13 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_DefaultMaxDepenetrationVelocity: 10 11 | m_SleepThreshold: 0.005 12 | m_DefaultContactOffset: 0.01 13 | m_DefaultSolverIterations: 6 14 | m_DefaultSolverVelocityIterations: 1 15 | m_QueriesHitBackfaces: 0 16 | m_QueriesHitTriggers: 1 17 | m_EnableAdaptiveForce: 0 18 | m_ClothInterCollisionDistance: 0.1 19 | m_ClothInterCollisionStiffness: 0.2 20 | m_ContactsGeneration: 1 21 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 22 | m_AutoSimulation: 1 23 | m_AutoSyncTransforms: 0 24 | m_ReuseCollisionCallbacks: 0 25 | m_ClothInterCollisionSettingsToggle: 0 26 | m_ClothGravity: {x: 0, y: -9.81, z: 0} 27 | m_ContactPairsMode: 0 28 | m_BroadphaseType: 0 29 | m_WorldBounds: 30 | m_Center: {x: 0, y: 0, z: 0} 31 | m_Extent: {x: 250, y: 250, z: 250} 32 | m_WorldSubdivisions: 8 33 | m_FrictionType: 0 34 | m_EnableEnhancedDeterminism: 0 35 | m_EnableUnifiedHeightmaps: 1 36 | m_ImprovedPatchFriction: 0 37 | m_SolverType: 0 38 | m_DefaultMaxAngularSpeed: 50 39 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/Scenes/SampleScene.unity 10 | guid: 9fc0d4010bbf28b4594072e72b8655ab 11 | m_configObjects: {} 12 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 11 7 | m_SerializationMode: 2 8 | m_LineEndingsForNewScripts: 2 9 | m_DefaultBehaviorMode: 0 10 | m_PrefabRegularEnvironment: {fileID: 0} 11 | m_PrefabUIEnvironment: {fileID: 0} 12 | m_SpritePackerMode: 0 13 | m_SpritePackerPaddingPower: 1 14 | m_Bc7TextureCompressor: 0 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;asmref;rsp;java;cpp;c;mm;m;h 20 | m_ProjectGenerationRootNamespace: 21 | m_EnableTextureStreamingInEditMode: 1 22 | m_EnableTextureStreamingInPlayMode: 1 23 | m_AsyncShaderCompilation: 1 24 | m_CachingShaderPreprocessor: 1 25 | m_PrefabModeAllowAutoSave: 1 26 | m_EnterPlayModeOptionsEnabled: 0 27 | m_EnterPlayModeOptions: 3 28 | m_GameObjectNamingDigits: 1 29 | m_GameObjectNamingScheme: 0 30 | m_AssetNamingUsesSpace: 1 31 | m_UseLegacyProbeSampleCount: 0 32 | m_SerializeInlineMappingsOnOneLine: 1 33 | m_DisableCookiesInLightmapper: 0 34 | m_AssetPipelineMode: 1 35 | m_RefreshImportMode: 0 36 | m_CacheServerMode: 0 37 | m_CacheServerEndpoint: 38 | m_CacheServerNamespacePrefix: default 39 | m_CacheServerEnableDownload: 1 40 | m_CacheServerEnableUpload: 1 41 | m_CacheServerEnableAuth: 0 42 | m_CacheServerEnableTls: 0 43 | m_CacheServerValidationMode: 2 44 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 14 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_VideoShadersIncludeMode: 2 32 | m_AlwaysIncludedShaders: 33 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 38 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 39 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0} 40 | m_PreloadedShaders: [] 41 | m_PreloadShadersBatchTimeLimit: -1 42 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} 43 | m_CustomRenderPipeline: {fileID: 0} 44 | m_TransparencySortMode: 0 45 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 46 | m_DefaultRenderingPath: 1 47 | m_DefaultMobileRenderingPath: 1 48 | m_TierSettings: [] 49 | m_LightmapStripping: 0 50 | m_FogStripping: 0 51 | m_InstancingStripping: 0 52 | m_LightmapKeepPlain: 1 53 | m_LightmapKeepDirCombined: 1 54 | m_LightmapKeepDynamicPlain: 1 55 | m_LightmapKeepDynamicDirCombined: 1 56 | m_LightmapKeepShadowMask: 1 57 | m_LightmapKeepSubtractive: 1 58 | m_FogKeepLinear: 1 59 | m_FogKeepExp: 1 60 | m_FogKeepExp2: 1 61 | m_AlbedoSwatchInfos: [] 62 | m_LightsUseLinearIntensity: 0 63 | m_LightsUseColorTemperature: 0 64 | m_DefaultRenderingLayerMask: 1 65 | m_LogWhenShaderIsCompiled: 0 66 | m_SRPDefaultSettings: {} 67 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | m_UsePhysicalKeys: 0 297 | -------------------------------------------------------------------------------- /ProjectSettings/MemorySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!387306366 &1 4 | MemorySettings: 5 | m_ObjectHideFlags: 0 6 | m_EditorMemorySettings: 7 | m_MainAllocatorBlockSize: -1 8 | m_ThreadAllocatorBlockSize: -1 9 | m_MainGfxBlockSize: -1 10 | m_ThreadGfxBlockSize: -1 11 | m_CacheBlockSize: -1 12 | m_TypetreeBlockSize: -1 13 | m_ProfilerBlockSize: -1 14 | m_ProfilerEditorBlockSize: -1 15 | m_BucketAllocatorGranularity: -1 16 | m_BucketAllocatorBucketsCount: -1 17 | m_BucketAllocatorBlockSize: -1 18 | m_BucketAllocatorBlockCount: -1 19 | m_ProfilerBucketAllocatorGranularity: -1 20 | m_ProfilerBucketAllocatorBucketsCount: -1 21 | m_ProfilerBucketAllocatorBlockSize: -1 22 | m_ProfilerBucketAllocatorBlockCount: -1 23 | m_TempAllocatorSizeMain: -1 24 | m_JobTempAllocatorBlockSize: -1 25 | m_BackgroundJobTempAllocatorBlockSize: -1 26 | m_JobTempAllocatorReducedBlockSize: -1 27 | m_TempAllocatorSizeGIBakingWorker: -1 28 | m_TempAllocatorSizeNavMeshWorker: -1 29 | m_TempAllocatorSizeAudioWorker: -1 30 | m_TempAllocatorSizeCloudWorker: -1 31 | m_TempAllocatorSizeGfx: -1 32 | m_TempAllocatorSizeJobWorker: -1 33 | m_TempAllocatorSizeBackgroundWorker: -1 34 | m_TempAllocatorSizePreloadManager: -1 35 | m_PlatformMemorySettings: {} 36 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | maxJobWorkers: 0 89 | preserveTilesOutsideBounds: 0 90 | debug: 91 | m_Flags: 0 92 | m_SettingNames: 93 | - Humanoid 94 | -------------------------------------------------------------------------------- /ProjectSettings/PackageManagerSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &1 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 61 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | m_EnablePreReleasePackages: 0 16 | m_EnablePackageDependencies: 0 17 | m_AdvancedSettingsExpanded: 1 18 | m_ScopedRegistriesSettingsExpanded: 1 19 | m_SeeAllPackageVersions: 0 20 | oneTimeWarningShown: 0 21 | m_Registries: 22 | - m_Id: main 23 | m_Name: 24 | m_Url: https://packages.unity.com 25 | m_Scopes: [] 26 | m_IsDefault: 1 27 | m_Capabilities: 7 28 | m_UserSelectedRegistryName: 29 | m_UserAddingNewScopedRegistry: 0 30 | m_RegistryInfoDraft: 31 | m_Modified: 0 32 | m_ErrorMessage: 33 | m_UserModificationsInstanceId: -868 34 | m_OriginalInstanceId: -870 35 | m_LoadAssets: 0 36 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_SimulationMode: 0 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 0 46 | m_AutoSyncTransforms: 0 47 | m_AlwaysShowColliders: 0 48 | m_ShowColliderSleep: 1 49 | m_ShowColliderContacts: 0 50 | m_ShowColliderAABB: 0 51 | m_ContactArrowScale: 0.2 52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 57 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_DefaultPresets: {} 8 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 23 7 | productGUID: 977b447d35635e14bbdd960835beedbb 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: Flamesky 16 | productName: FastBugly 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.12156863, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1920 46 | defaultScreenHeight: 1080 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | mipStripping: 0 53 | numberOfMipsStripped: 0 54 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 55 | iosShowActivityIndicatorOnLoading: -1 56 | androidShowActivityIndicatorOnLoading: -1 57 | iosUseCustomAppBackgroundBehavior: 0 58 | iosAllowHTTPDownload: 1 59 | allowedAutorotateToPortrait: 1 60 | allowedAutorotateToPortraitUpsideDown: 1 61 | allowedAutorotateToLandscapeRight: 1 62 | allowedAutorotateToLandscapeLeft: 1 63 | useOSAutorotation: 1 64 | use32BitDisplayBuffer: 1 65 | preserveFramebufferAlpha: 0 66 | disableDepthAndStencilBuffers: 0 67 | androidStartInFullscreen: 1 68 | androidRenderOutsideSafeArea: 1 69 | androidUseSwappy: 1 70 | androidBlitType: 0 71 | androidResizableWindow: 0 72 | androidDefaultWindowWidth: 1920 73 | androidDefaultWindowHeight: 1080 74 | androidMinimumWindowWidth: 400 75 | androidMinimumWindowHeight: 300 76 | androidFullscreenMode: 1 77 | defaultIsNativeResolution: 1 78 | macRetinaSupport: 1 79 | runInBackground: 0 80 | captureSingleScreen: 0 81 | muteOtherAudioSources: 0 82 | Prepare IOS For Recording: 0 83 | Force IOS Speakers When Recording: 0 84 | deferSystemGesturesMode: 0 85 | hideHomeButton: 0 86 | submitAnalytics: 1 87 | usePlayerLog: 1 88 | bakeCollisionMeshes: 0 89 | forceSingleInstance: 0 90 | useFlipModelSwapchain: 1 91 | resizableWindow: 0 92 | useMacAppStoreValidation: 0 93 | macAppStoreCategory: public.app-category.games 94 | gpuSkinning: 0 95 | xboxPIXTextureCapture: 0 96 | xboxEnableAvatar: 0 97 | xboxEnableKinect: 0 98 | xboxEnableKinectAutoTracking: 0 99 | xboxEnableFitness: 0 100 | visibleInBackground: 1 101 | allowFullscreenSwitch: 1 102 | fullscreenMode: 1 103 | xboxSpeechDB: 0 104 | xboxEnableHeadOrientation: 0 105 | xboxEnableGuest: 0 106 | xboxEnablePIXSampling: 0 107 | metalFramebufferOnly: 0 108 | xboxOneResolution: 0 109 | xboxOneSResolution: 0 110 | xboxOneXResolution: 3 111 | xboxOneMonoLoggingLevel: 0 112 | xboxOneLoggingLevel: 1 113 | xboxOneDisableEsram: 0 114 | xboxOneEnableTypeOptimization: 0 115 | xboxOnePresentImmediateThreshold: 0 116 | switchQueueCommandMemory: 1048576 117 | switchQueueControlMemory: 16384 118 | switchQueueComputeMemory: 262144 119 | switchNVNShaderPoolsGranularity: 33554432 120 | switchNVNDefaultPoolsGranularity: 16777216 121 | switchNVNOtherPoolsGranularity: 16777216 122 | switchNVNMaxPublicTextureIDCount: 0 123 | switchNVNMaxPublicSamplerIDCount: 0 124 | stadiaPresentMode: 0 125 | stadiaTargetFramerate: 0 126 | vulkanNumSwapchainBuffers: 3 127 | vulkanEnableSetSRGBWrite: 0 128 | vulkanEnablePreTransform: 0 129 | vulkanEnableLateAcquireNextImage: 0 130 | vulkanEnableCommandBufferRecycling: 1 131 | m_SupportedAspectRatios: 132 | 4:3: 1 133 | 5:4: 1 134 | 16:10: 1 135 | 16:9: 1 136 | Others: 1 137 | bundleVersion: 1.0 138 | preloadedAssets: [] 139 | metroInputSource: 0 140 | wsaTransparentSwapchain: 0 141 | m_HolographicPauseOnTrackingLoss: 1 142 | xboxOneDisableKinectGpuReservation: 1 143 | xboxOneEnable7thCore: 1 144 | vrSettings: 145 | enable360StereoCapture: 0 146 | isWsaHolographicRemotingEnabled: 0 147 | enableFrameTimingStats: 0 148 | enableOpenGLProfilerGPURecorders: 1 149 | useHDRDisplay: 0 150 | D3DHDRBitDepth: 0 151 | m_ColorGamuts: 00000000 152 | targetPixelDensity: 30 153 | resolutionScalingMode: 0 154 | resetResolutionOnWindowResize: 0 155 | androidSupportedAspectRatio: 1 156 | androidMaxAspectRatio: 2.1 157 | applicationIdentifier: 158 | Android: com.Flamesky.FastBugly 159 | Standalone: com.DefaultCompany.FastBugly 160 | buildNumber: 161 | Standalone: 0 162 | iPhone: 0 163 | tvOS: 0 164 | overrideDefaultApplicationIdentifier: 1 165 | AndroidBundleVersionCode: 1 166 | AndroidMinSdkVersion: 22 167 | AndroidTargetSdkVersion: 0 168 | AndroidPreferredInstallLocation: 1 169 | aotOptions: 170 | stripEngineCode: 1 171 | iPhoneStrippingLevel: 0 172 | iPhoneScriptCallOptimization: 0 173 | ForceInternetPermission: 0 174 | ForceSDCardPermission: 0 175 | CreateWallpaper: 0 176 | APKExpansionFiles: 0 177 | keepLoadedShadersAlive: 0 178 | StripUnusedMeshComponents: 0 179 | VertexChannelCompressionMask: 4054 180 | iPhoneSdkVersion: 988 181 | iOSTargetOSVersionString: 11.0 182 | tvOSSdkVersion: 0 183 | tvOSRequireExtendedGameController: 0 184 | tvOSTargetOSVersionString: 11.0 185 | uIPrerenderedIcon: 0 186 | uIRequiresPersistentWiFi: 0 187 | uIRequiresFullScreen: 1 188 | uIStatusBarHidden: 1 189 | uIExitOnSuspend: 0 190 | uIStatusBarStyle: 0 191 | appleTVSplashScreen: {fileID: 0} 192 | appleTVSplashScreen2x: {fileID: 0} 193 | tvOSSmallIconLayers: [] 194 | tvOSSmallIconLayers2x: [] 195 | tvOSLargeIconLayers: [] 196 | tvOSLargeIconLayers2x: [] 197 | tvOSTopShelfImageLayers: [] 198 | tvOSTopShelfImageLayers2x: [] 199 | tvOSTopShelfImageWideLayers: [] 200 | tvOSTopShelfImageWideLayers2x: [] 201 | iOSLaunchScreenType: 0 202 | iOSLaunchScreenPortrait: {fileID: 0} 203 | iOSLaunchScreenLandscape: {fileID: 0} 204 | iOSLaunchScreenBackgroundColor: 205 | serializedVersion: 2 206 | rgba: 0 207 | iOSLaunchScreenFillPct: 100 208 | iOSLaunchScreenSize: 100 209 | iOSLaunchScreenCustomXibPath: 210 | iOSLaunchScreeniPadType: 0 211 | iOSLaunchScreeniPadImage: {fileID: 0} 212 | iOSLaunchScreeniPadBackgroundColor: 213 | serializedVersion: 2 214 | rgba: 0 215 | iOSLaunchScreeniPadFillPct: 100 216 | iOSLaunchScreeniPadSize: 100 217 | iOSLaunchScreeniPadCustomXibPath: 218 | iOSLaunchScreenCustomStoryboardPath: 219 | iOSLaunchScreeniPadCustomStoryboardPath: 220 | iOSDeviceRequirements: [] 221 | iOSURLSchemes: [] 222 | macOSURLSchemes: [] 223 | iOSBackgroundModes: 0 224 | iOSMetalForceHardShadows: 0 225 | metalEditorSupport: 1 226 | metalAPIValidation: 1 227 | iOSRenderExtraFrameOnPause: 0 228 | iosCopyPluginsCodeInsteadOfSymlink: 0 229 | appleDeveloperTeamID: 230 | iOSManualSigningProvisioningProfileID: 231 | tvOSManualSigningProvisioningProfileID: 232 | iOSManualSigningProvisioningProfileType: 0 233 | tvOSManualSigningProvisioningProfileType: 0 234 | appleEnableAutomaticSigning: 0 235 | iOSRequireARKit: 0 236 | iOSAutomaticallyDetectAndAddCapabilities: 1 237 | appleEnableProMotion: 0 238 | shaderPrecisionModel: 0 239 | clonedFromGUID: 00000000000000000000000000000000 240 | templatePackageId: 241 | templateDefaultScene: 242 | useCustomMainManifest: 0 243 | useCustomLauncherManifest: 0 244 | useCustomMainGradleTemplate: 0 245 | useCustomLauncherGradleManifest: 0 246 | useCustomBaseGradleTemplate: 0 247 | useCustomGradlePropertiesTemplate: 0 248 | useCustomProguardFile: 0 249 | AndroidTargetArchitectures: 2 250 | AndroidTargetDevices: 0 251 | AndroidSplashScreenScale: 0 252 | androidSplashScreen: {fileID: 0} 253 | AndroidKeystoreName: 254 | AndroidKeyaliasName: 255 | AndroidBuildApkPerCpuArchitecture: 0 256 | AndroidTVCompatibility: 0 257 | AndroidIsGame: 1 258 | AndroidEnableTango: 0 259 | androidEnableBanner: 1 260 | androidUseLowAccuracyLocation: 0 261 | androidUseCustomKeystore: 0 262 | m_AndroidBanners: 263 | - width: 320 264 | height: 180 265 | banner: {fileID: 0} 266 | androidGamepadSupportLevel: 0 267 | chromeosInputEmulation: 1 268 | AndroidMinifyWithR8: 0 269 | AndroidMinifyRelease: 0 270 | AndroidMinifyDebug: 0 271 | AndroidValidateAppBundleSize: 1 272 | AndroidAppBundleSizeToValidate: 150 273 | m_BuildTargetIcons: [] 274 | m_BuildTargetPlatformIcons: 275 | - m_BuildTarget: iPhone 276 | m_Icons: 277 | - m_Textures: [] 278 | m_Width: 180 279 | m_Height: 180 280 | m_Kind: 0 281 | m_SubKind: iPhone 282 | - m_Textures: [] 283 | m_Width: 120 284 | m_Height: 120 285 | m_Kind: 0 286 | m_SubKind: iPhone 287 | - m_Textures: [] 288 | m_Width: 167 289 | m_Height: 167 290 | m_Kind: 0 291 | m_SubKind: iPad 292 | - m_Textures: [] 293 | m_Width: 152 294 | m_Height: 152 295 | m_Kind: 0 296 | m_SubKind: iPad 297 | - m_Textures: [] 298 | m_Width: 76 299 | m_Height: 76 300 | m_Kind: 0 301 | m_SubKind: iPad 302 | - m_Textures: [] 303 | m_Width: 120 304 | m_Height: 120 305 | m_Kind: 3 306 | m_SubKind: iPhone 307 | - m_Textures: [] 308 | m_Width: 80 309 | m_Height: 80 310 | m_Kind: 3 311 | m_SubKind: iPhone 312 | - m_Textures: [] 313 | m_Width: 80 314 | m_Height: 80 315 | m_Kind: 3 316 | m_SubKind: iPad 317 | - m_Textures: [] 318 | m_Width: 40 319 | m_Height: 40 320 | m_Kind: 3 321 | m_SubKind: iPad 322 | - m_Textures: [] 323 | m_Width: 87 324 | m_Height: 87 325 | m_Kind: 1 326 | m_SubKind: iPhone 327 | - m_Textures: [] 328 | m_Width: 58 329 | m_Height: 58 330 | m_Kind: 1 331 | m_SubKind: iPhone 332 | - m_Textures: [] 333 | m_Width: 29 334 | m_Height: 29 335 | m_Kind: 1 336 | m_SubKind: iPhone 337 | - m_Textures: [] 338 | m_Width: 58 339 | m_Height: 58 340 | m_Kind: 1 341 | m_SubKind: iPad 342 | - m_Textures: [] 343 | m_Width: 29 344 | m_Height: 29 345 | m_Kind: 1 346 | m_SubKind: iPad 347 | - m_Textures: [] 348 | m_Width: 60 349 | m_Height: 60 350 | m_Kind: 2 351 | m_SubKind: iPhone 352 | - m_Textures: [] 353 | m_Width: 40 354 | m_Height: 40 355 | m_Kind: 2 356 | m_SubKind: iPhone 357 | - m_Textures: [] 358 | m_Width: 40 359 | m_Height: 40 360 | m_Kind: 2 361 | m_SubKind: iPad 362 | - m_Textures: [] 363 | m_Width: 20 364 | m_Height: 20 365 | m_Kind: 2 366 | m_SubKind: iPad 367 | - m_Textures: [] 368 | m_Width: 1024 369 | m_Height: 1024 370 | m_Kind: 4 371 | m_SubKind: App Store 372 | - m_BuildTarget: Android 373 | m_Icons: 374 | - m_Textures: [] 375 | m_Width: 432 376 | m_Height: 432 377 | m_Kind: 2 378 | m_SubKind: 379 | - m_Textures: [] 380 | m_Width: 324 381 | m_Height: 324 382 | m_Kind: 2 383 | m_SubKind: 384 | - m_Textures: [] 385 | m_Width: 216 386 | m_Height: 216 387 | m_Kind: 2 388 | m_SubKind: 389 | - m_Textures: [] 390 | m_Width: 162 391 | m_Height: 162 392 | m_Kind: 2 393 | m_SubKind: 394 | - m_Textures: [] 395 | m_Width: 108 396 | m_Height: 108 397 | m_Kind: 2 398 | m_SubKind: 399 | - m_Textures: [] 400 | m_Width: 81 401 | m_Height: 81 402 | m_Kind: 2 403 | m_SubKind: 404 | - m_Textures: [] 405 | m_Width: 192 406 | m_Height: 192 407 | m_Kind: 1 408 | m_SubKind: 409 | - m_Textures: [] 410 | m_Width: 144 411 | m_Height: 144 412 | m_Kind: 1 413 | m_SubKind: 414 | - m_Textures: [] 415 | m_Width: 96 416 | m_Height: 96 417 | m_Kind: 1 418 | m_SubKind: 419 | - m_Textures: [] 420 | m_Width: 72 421 | m_Height: 72 422 | m_Kind: 1 423 | m_SubKind: 424 | - m_Textures: [] 425 | m_Width: 48 426 | m_Height: 48 427 | m_Kind: 1 428 | m_SubKind: 429 | - m_Textures: [] 430 | m_Width: 36 431 | m_Height: 36 432 | m_Kind: 1 433 | m_SubKind: 434 | - m_Textures: [] 435 | m_Width: 192 436 | m_Height: 192 437 | m_Kind: 0 438 | m_SubKind: 439 | - m_Textures: [] 440 | m_Width: 144 441 | m_Height: 144 442 | m_Kind: 0 443 | m_SubKind: 444 | - m_Textures: [] 445 | m_Width: 96 446 | m_Height: 96 447 | m_Kind: 0 448 | m_SubKind: 449 | - m_Textures: [] 450 | m_Width: 72 451 | m_Height: 72 452 | m_Kind: 0 453 | m_SubKind: 454 | - m_Textures: [] 455 | m_Width: 48 456 | m_Height: 48 457 | m_Kind: 0 458 | m_SubKind: 459 | - m_Textures: [] 460 | m_Width: 36 461 | m_Height: 36 462 | m_Kind: 0 463 | m_SubKind: 464 | m_BuildTargetBatching: [] 465 | m_BuildTargetGraphicsJobs: [] 466 | m_BuildTargetGraphicsJobMode: [] 467 | m_BuildTargetGraphicsAPIs: [] 468 | m_BuildTargetVRSettings: [] 469 | openGLRequireES31: 0 470 | openGLRequireES31AEP: 0 471 | openGLRequireES32: 0 472 | m_TemplateCustomTags: {} 473 | mobileMTRendering: 474 | Android: 1 475 | iPhone: 1 476 | tvOS: 1 477 | m_BuildTargetGroupLightmapEncodingQuality: [] 478 | m_BuildTargetGroupLightmapSettings: [] 479 | m_BuildTargetNormalMapEncoding: [] 480 | m_BuildTargetDefaultTextureCompressionFormat: [] 481 | playModeTestRunnerEnabled: 0 482 | runPlayModeTestAsEditModeTest: 0 483 | actionOnDotNetUnhandledException: 1 484 | enableInternalProfiler: 0 485 | logObjCUncaughtExceptions: 1 486 | enableCrashReportAPI: 0 487 | cameraUsageDescription: 488 | locationUsageDescription: 489 | microphoneUsageDescription: 490 | bluetoothUsageDescription: 491 | switchNMETAOverride: 492 | switchNetLibKey: 493 | switchSocketMemoryPoolSize: 6144 494 | switchSocketAllocatorPoolSize: 128 495 | switchSocketConcurrencyLimit: 14 496 | switchScreenResolutionBehavior: 2 497 | switchUseCPUProfiler: 0 498 | switchUseGOLDLinker: 0 499 | switchLTOSetting: 0 500 | switchApplicationID: 0x01004b9000490000 501 | switchNSODependencies: 502 | switchTitleNames_0: 503 | switchTitleNames_1: 504 | switchTitleNames_2: 505 | switchTitleNames_3: 506 | switchTitleNames_4: 507 | switchTitleNames_5: 508 | switchTitleNames_6: 509 | switchTitleNames_7: 510 | switchTitleNames_8: 511 | switchTitleNames_9: 512 | switchTitleNames_10: 513 | switchTitleNames_11: 514 | switchTitleNames_12: 515 | switchTitleNames_13: 516 | switchTitleNames_14: 517 | switchTitleNames_15: 518 | switchPublisherNames_0: 519 | switchPublisherNames_1: 520 | switchPublisherNames_2: 521 | switchPublisherNames_3: 522 | switchPublisherNames_4: 523 | switchPublisherNames_5: 524 | switchPublisherNames_6: 525 | switchPublisherNames_7: 526 | switchPublisherNames_8: 527 | switchPublisherNames_9: 528 | switchPublisherNames_10: 529 | switchPublisherNames_11: 530 | switchPublisherNames_12: 531 | switchPublisherNames_13: 532 | switchPublisherNames_14: 533 | switchPublisherNames_15: 534 | switchIcons_0: {fileID: 0} 535 | switchIcons_1: {fileID: 0} 536 | switchIcons_2: {fileID: 0} 537 | switchIcons_3: {fileID: 0} 538 | switchIcons_4: {fileID: 0} 539 | switchIcons_5: {fileID: 0} 540 | switchIcons_6: {fileID: 0} 541 | switchIcons_7: {fileID: 0} 542 | switchIcons_8: {fileID: 0} 543 | switchIcons_9: {fileID: 0} 544 | switchIcons_10: {fileID: 0} 545 | switchIcons_11: {fileID: 0} 546 | switchIcons_12: {fileID: 0} 547 | switchIcons_13: {fileID: 0} 548 | switchIcons_14: {fileID: 0} 549 | switchIcons_15: {fileID: 0} 550 | switchSmallIcons_0: {fileID: 0} 551 | switchSmallIcons_1: {fileID: 0} 552 | switchSmallIcons_2: {fileID: 0} 553 | switchSmallIcons_3: {fileID: 0} 554 | switchSmallIcons_4: {fileID: 0} 555 | switchSmallIcons_5: {fileID: 0} 556 | switchSmallIcons_6: {fileID: 0} 557 | switchSmallIcons_7: {fileID: 0} 558 | switchSmallIcons_8: {fileID: 0} 559 | switchSmallIcons_9: {fileID: 0} 560 | switchSmallIcons_10: {fileID: 0} 561 | switchSmallIcons_11: {fileID: 0} 562 | switchSmallIcons_12: {fileID: 0} 563 | switchSmallIcons_13: {fileID: 0} 564 | switchSmallIcons_14: {fileID: 0} 565 | switchSmallIcons_15: {fileID: 0} 566 | switchManualHTML: 567 | switchAccessibleURLs: 568 | switchLegalInformation: 569 | switchMainThreadStackSize: 1048576 570 | switchPresenceGroupId: 571 | switchLogoHandling: 0 572 | switchReleaseVersion: 0 573 | switchDisplayVersion: 1.0.0 574 | switchStartupUserAccount: 0 575 | switchTouchScreenUsage: 0 576 | switchSupportedLanguagesMask: 0 577 | switchLogoType: 0 578 | switchApplicationErrorCodeCategory: 579 | switchUserAccountSaveDataSize: 0 580 | switchUserAccountSaveDataJournalSize: 0 581 | switchApplicationAttribute: 0 582 | switchCardSpecSize: -1 583 | switchCardSpecClock: -1 584 | switchRatingsMask: 0 585 | switchRatingsInt_0: 0 586 | switchRatingsInt_1: 0 587 | switchRatingsInt_2: 0 588 | switchRatingsInt_3: 0 589 | switchRatingsInt_4: 0 590 | switchRatingsInt_5: 0 591 | switchRatingsInt_6: 0 592 | switchRatingsInt_7: 0 593 | switchRatingsInt_8: 0 594 | switchRatingsInt_9: 0 595 | switchRatingsInt_10: 0 596 | switchRatingsInt_11: 0 597 | switchRatingsInt_12: 0 598 | switchLocalCommunicationIds_0: 599 | switchLocalCommunicationIds_1: 600 | switchLocalCommunicationIds_2: 601 | switchLocalCommunicationIds_3: 602 | switchLocalCommunicationIds_4: 603 | switchLocalCommunicationIds_5: 604 | switchLocalCommunicationIds_6: 605 | switchLocalCommunicationIds_7: 606 | switchParentalControl: 0 607 | switchAllowsScreenshot: 1 608 | switchAllowsVideoCapturing: 1 609 | switchAllowsRuntimeAddOnContentInstall: 0 610 | switchDataLossConfirmation: 0 611 | switchUserAccountLockEnabled: 0 612 | switchSystemResourceMemory: 16777216 613 | switchSupportedNpadStyles: 22 614 | switchNativeFsCacheSize: 32 615 | switchIsHoldTypeHorizontal: 0 616 | switchSupportedNpadCount: 8 617 | switchSocketConfigEnabled: 0 618 | switchTcpInitialSendBufferSize: 32 619 | switchTcpInitialReceiveBufferSize: 64 620 | switchTcpAutoSendBufferSizeMax: 256 621 | switchTcpAutoReceiveBufferSizeMax: 256 622 | switchUdpSendBufferSize: 9 623 | switchUdpReceiveBufferSize: 42 624 | switchSocketBufferEfficiency: 4 625 | switchSocketInitializeEnabled: 1 626 | switchNetworkInterfaceManagerInitializeEnabled: 1 627 | switchPlayerConnectionEnabled: 1 628 | switchUseNewStyleFilepaths: 0 629 | switchUseMicroSleepForYield: 1 630 | switchEnableRamDiskSupport: 0 631 | switchMicroSleepForYieldTime: 25 632 | switchRamDiskSpaceSize: 12 633 | ps4NPAgeRating: 12 634 | ps4NPTitleSecret: 635 | ps4NPTrophyPackPath: 636 | ps4ParentalLevel: 11 637 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 638 | ps4Category: 0 639 | ps4MasterVersion: 01.00 640 | ps4AppVersion: 01.00 641 | ps4AppType: 0 642 | ps4ParamSfxPath: 643 | ps4VideoOutPixelFormat: 0 644 | ps4VideoOutInitialWidth: 1920 645 | ps4VideoOutBaseModeInitialWidth: 1920 646 | ps4VideoOutReprojectionRate: 60 647 | ps4PronunciationXMLPath: 648 | ps4PronunciationSIGPath: 649 | ps4BackgroundImagePath: 650 | ps4StartupImagePath: 651 | ps4StartupImagesFolder: 652 | ps4IconImagesFolder: 653 | ps4SaveDataImagePath: 654 | ps4SdkOverride: 655 | ps4BGMPath: 656 | ps4ShareFilePath: 657 | ps4ShareOverlayImagePath: 658 | ps4PrivacyGuardImagePath: 659 | ps4ExtraSceSysFile: 660 | ps4NPtitleDatPath: 661 | ps4RemotePlayKeyAssignment: -1 662 | ps4RemotePlayKeyMappingDir: 663 | ps4PlayTogetherPlayerCount: 0 664 | ps4EnterButtonAssignment: 2 665 | ps4ApplicationParam1: 0 666 | ps4ApplicationParam2: 0 667 | ps4ApplicationParam3: 0 668 | ps4ApplicationParam4: 0 669 | ps4DownloadDataSize: 0 670 | ps4GarlicHeapSize: 2048 671 | ps4ProGarlicHeapSize: 2560 672 | playerPrefsMaxSize: 32768 673 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 674 | ps4pnSessions: 1 675 | ps4pnPresence: 1 676 | ps4pnFriends: 1 677 | ps4pnGameCustomData: 1 678 | playerPrefsSupport: 0 679 | enableApplicationExit: 0 680 | resetTempFolder: 1 681 | restrictedAudioUsageRights: 0 682 | ps4UseResolutionFallback: 0 683 | ps4ReprojectionSupport: 0 684 | ps4UseAudio3dBackend: 0 685 | ps4UseLowGarlicFragmentationMode: 1 686 | ps4SocialScreenEnabled: 0 687 | ps4ScriptOptimizationLevel: 2 688 | ps4Audio3dVirtualSpeakerCount: 14 689 | ps4attribCpuUsage: 0 690 | ps4PatchPkgPath: 691 | ps4PatchLatestPkgPath: 692 | ps4PatchChangeinfoPath: 693 | ps4PatchDayOne: 0 694 | ps4attribUserManagement: 0 695 | ps4attribMoveSupport: 0 696 | ps4attrib3DSupport: 0 697 | ps4attribShareSupport: 0 698 | ps4attribExclusiveVR: 0 699 | ps4disableAutoHideSplash: 0 700 | ps4videoRecordingFeaturesUsed: 0 701 | ps4contentSearchFeaturesUsed: 0 702 | ps4CompatibilityPS5: 0 703 | ps4AllowPS5Detection: 0 704 | ps4GPU800MHz: 1 705 | ps4attribEyeToEyeDistanceSettingVR: 0 706 | ps4IncludedModules: [] 707 | ps4attribVROutputEnabled: 0 708 | monoEnv: 709 | splashScreenBackgroundSourceLandscape: {fileID: 0} 710 | splashScreenBackgroundSourcePortrait: {fileID: 0} 711 | blurSplashScreenBackground: 1 712 | spritePackerPolicy: 713 | webGLMemorySize: 32 714 | webGLExceptionSupport: 1 715 | webGLNameFilesAsHashes: 0 716 | webGLDataCaching: 1 717 | webGLDebugSymbols: 0 718 | webGLEmscriptenArgs: 719 | webGLModulesDirectory: 720 | webGLTemplate: APPLICATION:Default 721 | webGLAnalyzeBuildSize: 0 722 | webGLUseEmbeddedResources: 0 723 | webGLCompressionFormat: 0 724 | webGLWasmArithmeticExceptions: 0 725 | webGLLinkerTarget: 1 726 | webGLThreadsSupport: 0 727 | webGLDecompressionFallback: 0 728 | scriptingDefineSymbols: {} 729 | additionalCompilerArguments: {} 730 | platformArchitecture: {} 731 | scriptingBackend: 732 | Android: 1 733 | il2cppCompilerConfiguration: {} 734 | managedStrippingLevel: {} 735 | incrementalIl2cppBuild: {} 736 | suppressCommonWarnings: 1 737 | allowUnsafeCode: 0 738 | useDeterministicCompilation: 1 739 | enableRoslynAnalyzers: 1 740 | additionalIl2CppArgs: 741 | scriptingRuntimeVersion: 1 742 | gcIncremental: 1 743 | assemblyVersionValidation: 1 744 | gcWBarrierValidation: 0 745 | apiCompatibilityLevelPerPlatform: {} 746 | m_RenderingPath: 1 747 | m_MobileRenderingPath: 1 748 | metroPackageName: FastBugly 749 | metroPackageVersion: 750 | metroCertificatePath: 751 | metroCertificatePassword: 752 | metroCertificateSubject: 753 | metroCertificateIssuer: 754 | metroCertificateNotAfter: 0000000000000000 755 | metroApplicationDescription: FastBugly 756 | wsaImages: {} 757 | metroTileShortName: 758 | metroTileShowName: 0 759 | metroMediumTileShowName: 0 760 | metroLargeTileShowName: 0 761 | metroWideTileShowName: 0 762 | metroSupportStreamingInstall: 0 763 | metroLastRequiredScene: 0 764 | metroDefaultTileSize: 1 765 | metroTileForegroundText: 2 766 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 767 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, a: 1} 768 | metroSplashScreenUseBackgroundColor: 0 769 | platformCapabilities: {} 770 | metroTargetDeviceFamilies: {} 771 | metroFTAName: 772 | metroFTAFileTypes: [] 773 | metroProtocolName: 774 | vcxProjDefaultLanguage: 775 | XboxOneProductId: 776 | XboxOneUpdateKey: 777 | XboxOneSandboxId: 778 | XboxOneContentId: 779 | XboxOneTitleId: 780 | XboxOneSCId: 781 | XboxOneGameOsOverridePath: 782 | XboxOnePackagingOverridePath: 783 | XboxOneAppManifestOverridePath: 784 | XboxOneVersion: 1.0.0.0 785 | XboxOnePackageEncryption: 0 786 | XboxOnePackageUpdateGranularity: 2 787 | XboxOneDescription: 788 | XboxOneLanguage: 789 | - enus 790 | XboxOneCapability: [] 791 | XboxOneGameRating: {} 792 | XboxOneIsContentPackage: 0 793 | XboxOneEnhancedXboxCompatibilityMode: 0 794 | XboxOneEnableGPUVariability: 1 795 | XboxOneSockets: {} 796 | XboxOneSplashScreen: {fileID: 0} 797 | XboxOneAllowedProductIds: [] 798 | XboxOnePersistentLocalStorageSize: 0 799 | XboxOneXTitleMemory: 8 800 | XboxOneOverrideIdentityName: 801 | XboxOneOverrideIdentityPublisher: 802 | vrEditorSettings: {} 803 | cloudServicesEnabled: {} 804 | luminIcon: 805 | m_Name: 806 | m_ModelFolderPath: 807 | m_PortalFolderPath: 808 | luminCert: 809 | m_CertPath: 810 | m_SignPackage: 1 811 | luminIsChannelApp: 0 812 | luminVersion: 813 | m_VersionCode: 1 814 | m_VersionName: 815 | apiCompatibilityLevel: 6 816 | activeInputHandler: 0 817 | cloudProjectId: 818 | framebufferDepthMemorylessMode: 0 819 | qualitySettingsNames: [] 820 | projectName: 821 | organizationId: 822 | cloudEnabled: 0 823 | legacyClampBlendShapeWeights: 0 824 | playerDataPath: 825 | forceSRGBBlit: 1 826 | virtualTexturingSupportEnabled: 0 827 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2021.3.9f1 2 | m_EditorVersionWithRevision: 2021.3.9f1 (ad3870b89536) 3 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | skinWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 4 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 16 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | customRenderPipeline: {fileID: 0} 44 | excludedTargetPlatforms: [] 45 | - serializedVersion: 2 46 | name: Low 47 | pixelLightCount: 0 48 | shadows: 0 49 | shadowResolution: 0 50 | shadowProjection: 1 51 | shadowCascades: 1 52 | shadowDistance: 20 53 | shadowNearPlaneOffset: 3 54 | shadowCascade2Split: 0.33333334 55 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 56 | shadowmaskMode: 0 57 | skinWeights: 2 58 | textureQuality: 0 59 | anisotropicTextures: 0 60 | antiAliasing: 0 61 | softParticles: 0 62 | softVegetation: 0 63 | realtimeReflectionProbes: 0 64 | billboardsFaceCameraPosition: 0 65 | vSyncCount: 0 66 | lodBias: 0.4 67 | maximumLODLevel: 0 68 | streamingMipmapsActive: 0 69 | streamingMipmapsAddAllCameras: 1 70 | streamingMipmapsMemoryBudget: 512 71 | streamingMipmapsRenderersPerFrame: 512 72 | streamingMipmapsMaxLevelReduction: 2 73 | streamingMipmapsMaxFileIORequests: 1024 74 | particleRaycastBudget: 16 75 | asyncUploadTimeSlice: 2 76 | asyncUploadBufferSize: 16 77 | asyncUploadPersistentBuffer: 1 78 | resolutionScalingFixedDPIFactor: 1 79 | customRenderPipeline: {fileID: 0} 80 | excludedTargetPlatforms: [] 81 | - serializedVersion: 2 82 | name: Medium 83 | pixelLightCount: 1 84 | shadows: 1 85 | shadowResolution: 0 86 | shadowProjection: 1 87 | shadowCascades: 1 88 | shadowDistance: 20 89 | shadowNearPlaneOffset: 3 90 | shadowCascade2Split: 0.33333334 91 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 92 | shadowmaskMode: 0 93 | skinWeights: 2 94 | textureQuality: 0 95 | anisotropicTextures: 1 96 | antiAliasing: 0 97 | softParticles: 0 98 | softVegetation: 0 99 | realtimeReflectionProbes: 0 100 | billboardsFaceCameraPosition: 0 101 | vSyncCount: 1 102 | lodBias: 0.7 103 | maximumLODLevel: 0 104 | streamingMipmapsActive: 0 105 | streamingMipmapsAddAllCameras: 1 106 | streamingMipmapsMemoryBudget: 512 107 | streamingMipmapsRenderersPerFrame: 512 108 | streamingMipmapsMaxLevelReduction: 2 109 | streamingMipmapsMaxFileIORequests: 1024 110 | particleRaycastBudget: 64 111 | asyncUploadTimeSlice: 2 112 | asyncUploadBufferSize: 16 113 | asyncUploadPersistentBuffer: 1 114 | resolutionScalingFixedDPIFactor: 1 115 | customRenderPipeline: {fileID: 0} 116 | excludedTargetPlatforms: [] 117 | - serializedVersion: 2 118 | name: High 119 | pixelLightCount: 2 120 | shadows: 2 121 | shadowResolution: 1 122 | shadowProjection: 1 123 | shadowCascades: 2 124 | shadowDistance: 40 125 | shadowNearPlaneOffset: 3 126 | shadowCascade2Split: 0.33333334 127 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 128 | shadowmaskMode: 1 129 | skinWeights: 2 130 | textureQuality: 0 131 | anisotropicTextures: 1 132 | antiAliasing: 0 133 | softParticles: 0 134 | softVegetation: 1 135 | realtimeReflectionProbes: 1 136 | billboardsFaceCameraPosition: 1 137 | vSyncCount: 1 138 | lodBias: 1 139 | maximumLODLevel: 0 140 | streamingMipmapsActive: 0 141 | streamingMipmapsAddAllCameras: 1 142 | streamingMipmapsMemoryBudget: 512 143 | streamingMipmapsRenderersPerFrame: 512 144 | streamingMipmapsMaxLevelReduction: 2 145 | streamingMipmapsMaxFileIORequests: 1024 146 | particleRaycastBudget: 256 147 | asyncUploadTimeSlice: 2 148 | asyncUploadBufferSize: 16 149 | asyncUploadPersistentBuffer: 1 150 | resolutionScalingFixedDPIFactor: 1 151 | customRenderPipeline: {fileID: 0} 152 | excludedTargetPlatforms: [] 153 | - serializedVersion: 2 154 | name: Very High 155 | pixelLightCount: 3 156 | shadows: 2 157 | shadowResolution: 2 158 | shadowProjection: 1 159 | shadowCascades: 2 160 | shadowDistance: 70 161 | shadowNearPlaneOffset: 3 162 | shadowCascade2Split: 0.33333334 163 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 164 | shadowmaskMode: 1 165 | skinWeights: 4 166 | textureQuality: 0 167 | anisotropicTextures: 2 168 | antiAliasing: 2 169 | softParticles: 1 170 | softVegetation: 1 171 | realtimeReflectionProbes: 1 172 | billboardsFaceCameraPosition: 1 173 | vSyncCount: 1 174 | lodBias: 1.5 175 | maximumLODLevel: 0 176 | streamingMipmapsActive: 0 177 | streamingMipmapsAddAllCameras: 1 178 | streamingMipmapsMemoryBudget: 512 179 | streamingMipmapsRenderersPerFrame: 512 180 | streamingMipmapsMaxLevelReduction: 2 181 | streamingMipmapsMaxFileIORequests: 1024 182 | particleRaycastBudget: 1024 183 | asyncUploadTimeSlice: 2 184 | asyncUploadBufferSize: 16 185 | asyncUploadPersistentBuffer: 1 186 | resolutionScalingFixedDPIFactor: 1 187 | customRenderPipeline: {fileID: 0} 188 | excludedTargetPlatforms: [] 189 | - serializedVersion: 2 190 | name: Ultra 191 | pixelLightCount: 4 192 | shadows: 2 193 | shadowResolution: 2 194 | shadowProjection: 1 195 | shadowCascades: 4 196 | shadowDistance: 150 197 | shadowNearPlaneOffset: 3 198 | shadowCascade2Split: 0.33333334 199 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 200 | shadowmaskMode: 1 201 | skinWeights: 255 202 | textureQuality: 0 203 | anisotropicTextures: 2 204 | antiAliasing: 2 205 | softParticles: 1 206 | softVegetation: 1 207 | realtimeReflectionProbes: 1 208 | billboardsFaceCameraPosition: 1 209 | vSyncCount: 1 210 | lodBias: 2 211 | maximumLODLevel: 0 212 | streamingMipmapsActive: 0 213 | streamingMipmapsAddAllCameras: 1 214 | streamingMipmapsMemoryBudget: 512 215 | streamingMipmapsRenderersPerFrame: 512 216 | streamingMipmapsMaxLevelReduction: 2 217 | streamingMipmapsMaxFileIORequests: 1024 218 | particleRaycastBudget: 4096 219 | asyncUploadTimeSlice: 2 220 | asyncUploadBufferSize: 16 221 | asyncUploadPersistentBuffer: 1 222 | resolutionScalingFixedDPIFactor: 1 223 | customRenderPipeline: {fileID: 0} 224 | excludedTargetPlatforms: [] 225 | m_PerPlatformDefaultQuality: 226 | Android: 2 227 | EmbeddedLinux: 5 228 | GameCoreScarlett: 5 229 | GameCoreXboxOne: 5 230 | LinuxHeadlessSimulation: 5 231 | Lumin: 5 232 | Nintendo Switch: 5 233 | PS4: 5 234 | PS5: 5 235 | Server: 5 236 | Stadia: 5 237 | Standalone: 5 238 | WebGL: 3 239 | Windows Store Apps: 5 240 | XboxOne: 5 241 | iPhone: 2 242 | tvOS: 2 243 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_DashboardUrl: https://dashboard.unity3d.com 13 | m_TestInitMode: 0 14 | CrashReportingSettings: 15 | m_EventUrl: https://perf-events.cloud.unity3d.com 16 | m_Enabled: 0 17 | m_LogBufferSize: 10 18 | m_CaptureEditorExceptions: 1 19 | UnityPurchasingSettings: 20 | m_Enabled: 0 21 | m_TestMode: 0 22 | UnityAnalyticsSettings: 23 | m_Enabled: 0 24 | m_TestMode: 0 25 | m_InitializeOnStartup: 1 26 | UnityAdsSettings: 27 | m_Enabled: 0 28 | m_InitializeOnStartup: 1 29 | m_TestMode: 0 30 | m_IosGameId: 31 | m_AndroidGameId: 32 | m_GameIds: {} 33 | m_GameId: 34 | PerformanceReportingSettings: 35 | m_Enabled: 0 36 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_StripUpdateShader: {fileID: 0} 10 | m_RenderPipeSettingsPath: 11 | m_FixedTimeStep: 0.016666668 12 | m_MaxDeltaTime: 0.05 13 | m_CompiledVersion: 0 14 | m_RuntimeVersion: 0 15 | m_RuntimeResources: {fileID: 0} 16 | -------------------------------------------------------------------------------- /ProjectSettings/VersionControlSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!890905787 &1 4 | VersionControlSettings: 5 | m_ObjectHideFlags: 0 6 | m_Mode: Visible Meta Files 7 | m_CollabEditorSettings: 8 | inProgressEnabled: 1 9 | -------------------------------------------------------------------------------- /ProjectSettings/boot.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlameskyDexive/FastBugly/db6a30e6e799ede62ffc4cfad5fb68a385eb051a/ProjectSettings/boot.config -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # FastBugly 2 | 3 | 快速接入bugly到unity,支持Unity2021(Unity5以上版本都支持,当前测试工程为2021.3.9f1) 4 | 5 | ### 使用方式 6 | Clone工程,打开SampleScene,双击打开Sample.cs代码,把自己bugly后台的appid填入BuglyAgent.InitWithAppId ("your app id"); 随后打安卓包测试即可在后台看到异常上报。 7 | 8 | ### 初衷 9 | 鹅厂提供的官方demo工程打包后台也查不到日志,N年不更新,为此本人做了部分修改测试,提供一个快速接入工程的demo。 10 | 11 | Unity2021因为版本原因腾讯官方工程不能使用,而且Unity2021不允许Plugins/Android出现res目录,需要打包成aar,所以改用了原生安卓sdk的aar包。 12 | 13 | ### 待做 14 | 打包放到UPM,方便快速接入 15 | --------------------------------------------------------------------------------