├── .gitignore ├── Assets ├── Icon.psd ├── Icon.psd.meta ├── LogViewer.meta ├── LogViewer │ ├── Editor.meta │ ├── Editor │ │ ├── LogViewerWindow.cs │ │ └── LogViewerWindow.cs.meta │ ├── LogFile.cs │ ├── LogFile.cs.meta │ ├── LogViewerOnGUI.cs │ ├── LogViewerOnGUI.cs.meta │ ├── Resources.meta │ ├── Resources │ │ ├── console.culled.png │ │ ├── console.culled.png.meta │ │ ├── d_console.erroricon@2x.png │ │ ├── d_console.erroricon@2x.png.meta │ │ ├── d_console.infoicon@2x.png │ │ └── d_console.infoicon@2x.png.meta │ ├── Styles.cs │ └── Styles.cs.meta ├── LogViewerPlayer.cs ├── LogViewerPlayer.cs.meta ├── Main.unity ├── Main.unity.meta ├── UnityWindowsFileDrag-Drop.meta └── UnityWindowsFileDrag-Drop │ ├── B83.Win32.cs │ ├── B83.Win32.cs.meta │ ├── LICENSE │ ├── LICENSE.meta │ ├── README.md │ └── README.md.meta ├── 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 ├── SceneTemplateSettings.json ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset ├── VersionControlSettings.asset ├── XRSettings.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/main/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /[Bb]uilds/ 10 | /[Ll]ogs/ 11 | /[Uu]ser[Ss]ettings/ 12 | 13 | # MemoryCaptures can get excessive in size. 14 | # They also could contain extremely sensitive data 15 | /[Mm]emoryCaptures/ 16 | 17 | # Recordings can get excessive in size 18 | /[Rr]ecordings/ 19 | 20 | # Uncomment this line if you wish to ignore the asset store tools plugin 21 | # /[Aa]ssets/AssetStoreTools* 22 | 23 | # Autogenerated Jetbrains Rider plugin 24 | /[Aa]ssets/Plugins/Editor/JetBrains* 25 | 26 | # Visual Studio cache directory 27 | .vs/ 28 | 29 | # Gradle cache directory 30 | .gradle/ 31 | 32 | # Autogenerated VS/MD/Consulo solution and project files 33 | ExportedObj/ 34 | .consulo/ 35 | *.csproj 36 | *.unityproj 37 | *.sln 38 | *.suo 39 | *.tmp 40 | *.user 41 | *.userprefs 42 | *.pidb 43 | *.booproj 44 | *.svd 45 | *.pdb 46 | *.mdb 47 | *.opendb 48 | *.VC.db 49 | *.vsconfig 50 | 51 | # Unity3D generated meta files 52 | *.pidb.meta 53 | *.pdb.meta 54 | *.mdb.meta 55 | 56 | # Unity3D generated file on crash reports 57 | sysinfo.txt 58 | 59 | # Builds 60 | *.apk 61 | *.aab 62 | *.unitypackage 63 | *.app 64 | 65 | # Crashlytics generated file 66 | crashlytics-build.properties 67 | 68 | # Packed Addressables 69 | /[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin* 70 | 71 | # Temporary auto-generated Android Assets 72 | /[Aa]ssets/[Ss]treamingAssets/aa.meta 73 | /[Aa]ssets/[Ss]treamingAssets/aa/* -------------------------------------------------------------------------------- /Assets/Icon.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IronWarrior/UnityLogViewer/0980642efc239ecf8aa91d0cbfaf8c9dabd0469e/Assets/Icon.psd -------------------------------------------------------------------------------- /Assets/Icon.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cafee23eff403f1458fc82068b1979d2 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 12 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | ignoreMasterTextureLimit: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: 1 33 | maxTextureSize: 2048 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 1 37 | aniso: 1 38 | mipBias: 0 39 | wrapU: 0 40 | wrapV: 0 41 | wrapW: 0 42 | nPOTScale: 1 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 0 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 1 53 | alphaUsage: 1 54 | alphaIsTransparency: 1 55 | spriteTessellationDetail: -1 56 | textureType: 0 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | flipbookRows: 1 60 | flipbookColumns: 1 61 | maxTextureSizeSet: 0 62 | compressionQualitySet: 0 63 | textureFormatSet: 0 64 | ignorePngGamma: 0 65 | applyGammaDecoding: 0 66 | cookieLightType: 0 67 | platformSettings: 68 | - serializedVersion: 3 69 | buildTarget: DefaultTexturePlatform 70 | maxTextureSize: 2048 71 | resizeAlgorithm: 0 72 | textureFormat: -1 73 | textureCompression: 1 74 | compressionQuality: 50 75 | crunchedCompression: 0 76 | allowsAlphaSplitting: 0 77 | overridden: 0 78 | androidETC2FallbackOverride: 0 79 | forceMaximumCompressionQuality_BC6H_BC7: 0 80 | - serializedVersion: 3 81 | buildTarget: WebGL 82 | maxTextureSize: 2048 83 | resizeAlgorithm: 0 84 | textureFormat: -1 85 | textureCompression: 1 86 | compressionQuality: 50 87 | crunchedCompression: 0 88 | allowsAlphaSplitting: 0 89 | overridden: 0 90 | androidETC2FallbackOverride: 0 91 | forceMaximumCompressionQuality_BC6H_BC7: 0 92 | - serializedVersion: 3 93 | buildTarget: Standalone 94 | maxTextureSize: 2048 95 | resizeAlgorithm: 0 96 | textureFormat: -1 97 | textureCompression: 1 98 | compressionQuality: 50 99 | crunchedCompression: 0 100 | allowsAlphaSplitting: 0 101 | overridden: 0 102 | androidETC2FallbackOverride: 0 103 | forceMaximumCompressionQuality_BC6H_BC7: 0 104 | - serializedVersion: 3 105 | buildTarget: Android 106 | maxTextureSize: 2048 107 | resizeAlgorithm: 0 108 | textureFormat: -1 109 | textureCompression: 1 110 | compressionQuality: 50 111 | crunchedCompression: 0 112 | allowsAlphaSplitting: 0 113 | overridden: 0 114 | androidETC2FallbackOverride: 0 115 | forceMaximumCompressionQuality_BC6H_BC7: 0 116 | - serializedVersion: 3 117 | buildTarget: Server 118 | maxTextureSize: 2048 119 | resizeAlgorithm: 0 120 | textureFormat: -1 121 | textureCompression: 1 122 | compressionQuality: 50 123 | crunchedCompression: 0 124 | allowsAlphaSplitting: 0 125 | overridden: 0 126 | androidETC2FallbackOverride: 0 127 | forceMaximumCompressionQuality_BC6H_BC7: 0 128 | spriteSheet: 129 | serializedVersion: 2 130 | sprites: [] 131 | outline: [] 132 | physicsShape: [] 133 | bones: [] 134 | spriteID: 135 | internalID: 0 136 | vertices: [] 137 | indices: 138 | edges: [] 139 | weights: [] 140 | secondaryTextures: [] 141 | nameFileIdTable: {} 142 | spritePackingTag: 143 | pSDRemoveMatte: 1 144 | pSDShowRemoveMatteOption: 1 145 | userData: 146 | assetBundleName: 147 | assetBundleVariant: 148 | -------------------------------------------------------------------------------- /Assets/LogViewer.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1de43fad0f0ed8944a1be2fbb838fe2b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/LogViewer/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a64177a2983da1e44af6f532cb302009 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/LogViewer/Editor/LogViewerWindow.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | using UnityEditor; 3 | using UnityEngine; 4 | 5 | namespace LogViewer 6 | { 7 | public class LogViewerWindow : EditorWindow 8 | { 9 | [MenuItem("Window/Analysis/Log Viewer")] 10 | public static void Open() 11 | { 12 | GetWindow("Log Viewer"); 13 | } 14 | 15 | private LogViewerOnGUI viewer; 16 | 17 | private void OnEnable() 18 | { 19 | Styles.Initialize(); 20 | 21 | viewer = new LogViewerOnGUI(); 22 | } 23 | 24 | private void OnDisable() 25 | { 26 | Styles.Deinitialize(); 27 | } 28 | 29 | private void OnGUI() 30 | { 31 | Event currentEvent = Event.current; 32 | 33 | if (currentEvent.type == EventType.DragPerform || currentEvent.type == EventType.DragUpdated) 34 | { 35 | DragAndDrop.visualMode = DragAndDropVisualMode.Copy; 36 | 37 | if (currentEvent.type == EventType.DragPerform) 38 | { 39 | DragAndDrop.AcceptDrag(); 40 | 41 | foreach (string path in DragAndDrop.paths) 42 | { 43 | if (File.Exists(path)) 44 | { 45 | viewer.SetLog(LogFile.LoadFromFile(path)); 46 | titleContent = new GUIContent(Path.GetFileName(path)); 47 | break; 48 | } 49 | } 50 | } 51 | } 52 | 53 | viewer.OnGUI(); 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /Assets/LogViewer/Editor/LogViewerWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cded0d765d3af584c91d8f7e4a971c67 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/LogViewer/LogFile.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Text.RegularExpressions; 5 | 6 | namespace LogViewer 7 | { 8 | public class LogFile 9 | { 10 | [Flags] 11 | public enum EventTypes 12 | { 13 | None = 0, 14 | Message = 1, 15 | Error = 2, 16 | Culled = 4, 17 | } 18 | 19 | public class Event 20 | { 21 | public readonly string Summary, Content; 22 | public readonly EventTypes EventType; 23 | 24 | private static readonly Regex regexEmptyIL2CPPLines = new(@"\[ line -\d+\]"); 25 | 26 | public Event(string content) 27 | { 28 | Content = content.Trim(Environment.NewLine.ToCharArray()); 29 | 30 | string[] splits = Content.Split(Environment.NewLine); 31 | 32 | Summary = splits[0]; 33 | 34 | if (splits.Length > 1) 35 | Summary += $"\n{splits[1]}"; 36 | 37 | if (string.IsNullOrEmpty(Content) || 38 | regexEmptyIL2CPPLines.IsMatch(Content)) 39 | { 40 | EventType = EventTypes.Culled; 41 | } 42 | else if (Content.Contains("Exception")) 43 | { 44 | EventType = EventTypes.Error; 45 | } 46 | else 47 | { 48 | EventType = EventTypes.Message; 49 | } 50 | } 51 | } 52 | 53 | public readonly string Raw; 54 | 55 | public IReadOnlyDictionary MessageCounts => messageCounts; 56 | private readonly Dictionary messageCounts = new(); 57 | 58 | public IReadOnlyList Events => events; 59 | private readonly List events = new(); 60 | 61 | public static LogFile LoadFromFile(string filepath) 62 | { 63 | string raw = File.ReadAllText(filepath); 64 | 65 | return new LogFile(raw); 66 | } 67 | 68 | public LogFile(string raw) 69 | { 70 | Raw = raw; 71 | 72 | foreach (EventTypes value in Enum.GetValues(typeof(EventTypes))) 73 | messageCounts[value] = 0; 74 | 75 | string[] splits = raw.Split($"{Environment.NewLine}{Environment.NewLine}"); 76 | 77 | foreach (string split in splits) 78 | { 79 | Event logEvent = new(split); 80 | 81 | events.Add(logEvent); 82 | 83 | messageCounts[logEvent.EventType]++; 84 | } 85 | } 86 | } 87 | } -------------------------------------------------------------------------------- /Assets/LogViewer/LogFile.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f274e3c4cc3c5e40af2a4927093ae81 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/LogViewer/LogViewerOnGUI.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEngine; 3 | 4 | namespace LogViewer 5 | { 6 | public class LogViewerOnGUI 7 | { 8 | public void SetLog(LogFile logFile) 9 | { 10 | this.logFile = logFile; 11 | 12 | selectedLogIndex = -1; 13 | logListScrollPosition = Vector2.zero; 14 | logScrollPosition = Vector2.zero; 15 | } 16 | 17 | private LogFile logFile; 18 | 19 | private LogFile.EventTypes visibleEventTypes = LogFile.EventTypes.Message | LogFile.EventTypes.Error; 20 | private Vector2 logListScrollPosition, logScrollPosition; 21 | private int selectedLogIndex = -1; 22 | 23 | public void OnGUI() 24 | { 25 | GUILayout.BeginVertical(GUILayout.ExpandHeight(true), GUILayout.ExpandWidth(true)); 26 | 27 | if (logFile != null) 28 | { 29 | Formatted(); 30 | } 31 | else 32 | { 33 | Pending(); 34 | } 35 | 36 | GUILayout.EndVertical(); 37 | } 38 | 39 | private void Pending() 40 | { 41 | GUILayout.Label("Drop a Player.log here", Styles.CenteredMessage, GUILayout.ExpandHeight(true), GUILayout.ExpandWidth(true)); 42 | } 43 | 44 | private void Formatted() 45 | { 46 | GUILayout.BeginHorizontal(); 47 | 48 | if (DrawEventTypeToggle(LogFile.EventTypes.Message, logFile.MessageCounts[LogFile.EventTypes.Message], (visibleEventTypes & LogFile.EventTypes.Message) != 0)) 49 | visibleEventTypes ^= LogFile.EventTypes.Message; 50 | 51 | GUILayout.Space(2); 52 | 53 | if (DrawEventTypeToggle(LogFile.EventTypes.Error, logFile.MessageCounts[LogFile.EventTypes.Error], (visibleEventTypes & LogFile.EventTypes.Error) != 0)) 54 | visibleEventTypes ^= LogFile.EventTypes.Error; 55 | 56 | GUILayout.Space(2); 57 | 58 | if (DrawEventTypeToggle(LogFile.EventTypes.Culled, logFile.MessageCounts[LogFile.EventTypes.Culled], (visibleEventTypes & LogFile.EventTypes.Culled) != 0)) 59 | visibleEventTypes ^= LogFile.EventTypes.Culled; 60 | 61 | GUILayout.EndHorizontal(); 62 | 63 | logListScrollPosition = GUILayout.BeginScrollView(logListScrollPosition, GUIStyle.none, GUI.skin.verticalScrollbar, GUILayout.ExpandHeight(true), GUILayout.ExpandWidth(true)); 64 | 65 | const float entryHeight = 40f; 66 | 67 | for (int i = 0; i < logFile.Events.Count; i++) 68 | { 69 | LogFile.Event log = logFile.Events[i]; 70 | 71 | if ((log.EventType & visibleEventTypes) == 0) 72 | continue; 73 | 74 | bool selected = selectedLogIndex == i; 75 | bool even = i % 2 == 0; 76 | 77 | if (DrawLogSummary(log, selected, even, entryHeight)) 78 | { 79 | selectedLogIndex = i; 80 | } 81 | } 82 | 83 | GUILayout.EndScrollView(); 84 | 85 | logScrollPosition = GUILayout.BeginScrollView(logScrollPosition, GUILayout.Height(256)); 86 | 87 | string selectedLogContents = string.Empty; 88 | 89 | if (selectedLogIndex != -1) 90 | { 91 | selectedLogContents = logFile.Events[selectedLogIndex].Content; 92 | } 93 | 94 | GUILayout.TextArea(selectedLogContents, Styles.MessageStyle); 95 | GUILayout.EndScrollView(); 96 | } 97 | 98 | private static bool DrawLogSummary(LogFile.Event log, bool selected, bool even, float height) 99 | { 100 | GUIStyle style; 101 | 102 | if (selected) 103 | style = Styles.SelectedBackground; 104 | else 105 | style = even ? Styles.EvenBackground : Styles.OddBackground; 106 | 107 | GUILayout.BeginHorizontal(style, GUILayout.Height(height)); 108 | 109 | GUIContent iconContent = log.EventType switch 110 | { 111 | LogFile.EventTypes.Message => Styles.iconInfo, 112 | LogFile.EventTypes.Error => Styles.iconError, 113 | _ => Styles.iconCulled 114 | }; 115 | 116 | bool clicked = GUILayout.Button(iconContent, Styles.IconStyle); 117 | 118 | clicked = GUILayout.Button(log.Summary, style, GUILayout.ExpandWidth(true), GUILayout.ExpandHeight(true)) | clicked; 119 | 120 | GUILayout.EndHorizontal(); 121 | 122 | return clicked; 123 | } 124 | 125 | private static bool DrawEventTypeToggle(LogFile.EventTypes eventType, int count, bool selected) 126 | { 127 | GUIStyle style = selected ? Styles.MiniButtonSelected : Styles.MiniButton; 128 | 129 | Texture texture = eventType switch 130 | { 131 | LogFile.EventTypes.Message => Styles.iconInfo.image, 132 | LogFile.EventTypes.Error => Styles.iconError.image, 133 | _ => Styles.iconCulled.image 134 | }; 135 | 136 | return GUILayout.Button( 137 | new GUIContent(count.ToString(), texture), 138 | style, 139 | GUILayout.MinWidth(42), 140 | GUILayout.ExpandWidth(false)); 141 | } 142 | } 143 | } 144 | -------------------------------------------------------------------------------- /Assets/LogViewer/LogViewerOnGUI.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f42e8d3726c0f9f47b8e4a5976d2a989 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/LogViewer/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 01001f7aa29072e4e9a532295dabd075 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/LogViewer/Resources/console.culled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IronWarrior/UnityLogViewer/0980642efc239ecf8aa91d0cbfaf8c9dabd0469e/Assets/LogViewer/Resources/console.culled.png -------------------------------------------------------------------------------- /Assets/LogViewer/Resources/console.culled.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f2a931ebaa14fe4db04bc71140902dc 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 12 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | ignoreMasterTextureLimit: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: 1 33 | maxTextureSize: 2048 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 1 37 | aniso: 1 38 | mipBias: 0 39 | wrapU: 0 40 | wrapV: 0 41 | wrapW: 0 42 | nPOTScale: 1 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 0 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 1 53 | alphaUsage: 1 54 | alphaIsTransparency: 1 55 | spriteTessellationDetail: -1 56 | textureType: 0 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | flipbookRows: 1 60 | flipbookColumns: 1 61 | maxTextureSizeSet: 0 62 | compressionQualitySet: 0 63 | textureFormatSet: 0 64 | ignorePngGamma: 0 65 | applyGammaDecoding: 0 66 | cookieLightType: 0 67 | platformSettings: 68 | - serializedVersion: 3 69 | buildTarget: DefaultTexturePlatform 70 | maxTextureSize: 2048 71 | resizeAlgorithm: 0 72 | textureFormat: -1 73 | textureCompression: 1 74 | compressionQuality: 50 75 | crunchedCompression: 0 76 | allowsAlphaSplitting: 0 77 | overridden: 0 78 | androidETC2FallbackOverride: 0 79 | forceMaximumCompressionQuality_BC6H_BC7: 0 80 | - serializedVersion: 3 81 | buildTarget: WebGL 82 | maxTextureSize: 2048 83 | resizeAlgorithm: 0 84 | textureFormat: -1 85 | textureCompression: 1 86 | compressionQuality: 50 87 | crunchedCompression: 0 88 | allowsAlphaSplitting: 0 89 | overridden: 0 90 | androidETC2FallbackOverride: 0 91 | forceMaximumCompressionQuality_BC6H_BC7: 0 92 | - serializedVersion: 3 93 | buildTarget: Standalone 94 | maxTextureSize: 2048 95 | resizeAlgorithm: 0 96 | textureFormat: -1 97 | textureCompression: 1 98 | compressionQuality: 50 99 | crunchedCompression: 0 100 | allowsAlphaSplitting: 0 101 | overridden: 0 102 | androidETC2FallbackOverride: 0 103 | forceMaximumCompressionQuality_BC6H_BC7: 0 104 | - serializedVersion: 3 105 | buildTarget: Android 106 | maxTextureSize: 2048 107 | resizeAlgorithm: 0 108 | textureFormat: -1 109 | textureCompression: 1 110 | compressionQuality: 50 111 | crunchedCompression: 0 112 | allowsAlphaSplitting: 0 113 | overridden: 0 114 | androidETC2FallbackOverride: 0 115 | forceMaximumCompressionQuality_BC6H_BC7: 0 116 | - serializedVersion: 3 117 | buildTarget: Server 118 | maxTextureSize: 2048 119 | resizeAlgorithm: 0 120 | textureFormat: -1 121 | textureCompression: 1 122 | compressionQuality: 50 123 | crunchedCompression: 0 124 | allowsAlphaSplitting: 0 125 | overridden: 0 126 | androidETC2FallbackOverride: 0 127 | forceMaximumCompressionQuality_BC6H_BC7: 0 128 | spriteSheet: 129 | serializedVersion: 2 130 | sprites: [] 131 | outline: [] 132 | physicsShape: [] 133 | bones: [] 134 | spriteID: 135 | internalID: 0 136 | vertices: [] 137 | indices: 138 | edges: [] 139 | weights: [] 140 | secondaryTextures: [] 141 | nameFileIdTable: {} 142 | spritePackingTag: 143 | pSDRemoveMatte: 0 144 | pSDShowRemoveMatteOption: 0 145 | userData: 146 | assetBundleName: 147 | assetBundleVariant: 148 | -------------------------------------------------------------------------------- /Assets/LogViewer/Resources/d_console.erroricon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IronWarrior/UnityLogViewer/0980642efc239ecf8aa91d0cbfaf8c9dabd0469e/Assets/LogViewer/Resources/d_console.erroricon@2x.png -------------------------------------------------------------------------------- /Assets/LogViewer/Resources/d_console.erroricon@2x.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 21a2ba205911e8a4faa547d2316041d5 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 12 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | ignoreMasterTextureLimit: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: 1 33 | maxTextureSize: 2048 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 1 37 | aniso: 1 38 | mipBias: 0 39 | wrapU: 0 40 | wrapV: 0 41 | wrapW: 0 42 | nPOTScale: 1 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 0 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 1 53 | alphaUsage: 1 54 | alphaIsTransparency: 1 55 | spriteTessellationDetail: -1 56 | textureType: 0 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | flipbookRows: 1 60 | flipbookColumns: 1 61 | maxTextureSizeSet: 0 62 | compressionQualitySet: 0 63 | textureFormatSet: 0 64 | ignorePngGamma: 0 65 | applyGammaDecoding: 0 66 | cookieLightType: 0 67 | platformSettings: 68 | - serializedVersion: 3 69 | buildTarget: DefaultTexturePlatform 70 | maxTextureSize: 2048 71 | resizeAlgorithm: 0 72 | textureFormat: -1 73 | textureCompression: 1 74 | compressionQuality: 50 75 | crunchedCompression: 0 76 | allowsAlphaSplitting: 0 77 | overridden: 0 78 | androidETC2FallbackOverride: 0 79 | forceMaximumCompressionQuality_BC6H_BC7: 0 80 | - serializedVersion: 3 81 | buildTarget: WebGL 82 | maxTextureSize: 2048 83 | resizeAlgorithm: 0 84 | textureFormat: -1 85 | textureCompression: 1 86 | compressionQuality: 50 87 | crunchedCompression: 0 88 | allowsAlphaSplitting: 0 89 | overridden: 0 90 | androidETC2FallbackOverride: 0 91 | forceMaximumCompressionQuality_BC6H_BC7: 0 92 | - serializedVersion: 3 93 | buildTarget: Standalone 94 | maxTextureSize: 2048 95 | resizeAlgorithm: 0 96 | textureFormat: -1 97 | textureCompression: 1 98 | compressionQuality: 50 99 | crunchedCompression: 0 100 | allowsAlphaSplitting: 0 101 | overridden: 0 102 | androidETC2FallbackOverride: 0 103 | forceMaximumCompressionQuality_BC6H_BC7: 0 104 | - serializedVersion: 3 105 | buildTarget: Android 106 | maxTextureSize: 2048 107 | resizeAlgorithm: 0 108 | textureFormat: -1 109 | textureCompression: 1 110 | compressionQuality: 50 111 | crunchedCompression: 0 112 | allowsAlphaSplitting: 0 113 | overridden: 0 114 | androidETC2FallbackOverride: 0 115 | forceMaximumCompressionQuality_BC6H_BC7: 0 116 | - serializedVersion: 3 117 | buildTarget: Server 118 | maxTextureSize: 2048 119 | resizeAlgorithm: 0 120 | textureFormat: -1 121 | textureCompression: 1 122 | compressionQuality: 50 123 | crunchedCompression: 0 124 | allowsAlphaSplitting: 0 125 | overridden: 0 126 | androidETC2FallbackOverride: 0 127 | forceMaximumCompressionQuality_BC6H_BC7: 0 128 | spriteSheet: 129 | serializedVersion: 2 130 | sprites: [] 131 | outline: [] 132 | physicsShape: [] 133 | bones: [] 134 | spriteID: 135 | internalID: 0 136 | vertices: [] 137 | indices: 138 | edges: [] 139 | weights: [] 140 | secondaryTextures: [] 141 | nameFileIdTable: {} 142 | spritePackingTag: 143 | pSDRemoveMatte: 0 144 | pSDShowRemoveMatteOption: 0 145 | userData: 146 | assetBundleName: 147 | assetBundleVariant: 148 | -------------------------------------------------------------------------------- /Assets/LogViewer/Resources/d_console.infoicon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IronWarrior/UnityLogViewer/0980642efc239ecf8aa91d0cbfaf8c9dabd0469e/Assets/LogViewer/Resources/d_console.infoicon@2x.png -------------------------------------------------------------------------------- /Assets/LogViewer/Resources/d_console.infoicon@2x.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8963bf1b5552e6941b305157af2e4517 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 12 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | ignoreMasterTextureLimit: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: 1 33 | maxTextureSize: 2048 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 1 37 | aniso: 1 38 | mipBias: 0 39 | wrapU: 0 40 | wrapV: 0 41 | wrapW: 0 42 | nPOTScale: 1 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 0 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 1 53 | alphaUsage: 1 54 | alphaIsTransparency: 1 55 | spriteTessellationDetail: -1 56 | textureType: 0 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | flipbookRows: 1 60 | flipbookColumns: 1 61 | maxTextureSizeSet: 0 62 | compressionQualitySet: 0 63 | textureFormatSet: 0 64 | ignorePngGamma: 0 65 | applyGammaDecoding: 0 66 | cookieLightType: 0 67 | platformSettings: 68 | - serializedVersion: 3 69 | buildTarget: DefaultTexturePlatform 70 | maxTextureSize: 2048 71 | resizeAlgorithm: 0 72 | textureFormat: -1 73 | textureCompression: 1 74 | compressionQuality: 50 75 | crunchedCompression: 0 76 | allowsAlphaSplitting: 0 77 | overridden: 0 78 | androidETC2FallbackOverride: 0 79 | forceMaximumCompressionQuality_BC6H_BC7: 0 80 | - serializedVersion: 3 81 | buildTarget: WebGL 82 | maxTextureSize: 2048 83 | resizeAlgorithm: 0 84 | textureFormat: -1 85 | textureCompression: 1 86 | compressionQuality: 50 87 | crunchedCompression: 0 88 | allowsAlphaSplitting: 0 89 | overridden: 0 90 | androidETC2FallbackOverride: 0 91 | forceMaximumCompressionQuality_BC6H_BC7: 0 92 | - serializedVersion: 3 93 | buildTarget: Standalone 94 | maxTextureSize: 2048 95 | resizeAlgorithm: 0 96 | textureFormat: -1 97 | textureCompression: 1 98 | compressionQuality: 50 99 | crunchedCompression: 0 100 | allowsAlphaSplitting: 0 101 | overridden: 0 102 | androidETC2FallbackOverride: 0 103 | forceMaximumCompressionQuality_BC6H_BC7: 0 104 | - serializedVersion: 3 105 | buildTarget: Android 106 | maxTextureSize: 2048 107 | resizeAlgorithm: 0 108 | textureFormat: -1 109 | textureCompression: 1 110 | compressionQuality: 50 111 | crunchedCompression: 0 112 | allowsAlphaSplitting: 0 113 | overridden: 0 114 | androidETC2FallbackOverride: 0 115 | forceMaximumCompressionQuality_BC6H_BC7: 0 116 | - serializedVersion: 3 117 | buildTarget: Server 118 | maxTextureSize: 2048 119 | resizeAlgorithm: 0 120 | textureFormat: -1 121 | textureCompression: 1 122 | compressionQuality: 50 123 | crunchedCompression: 0 124 | allowsAlphaSplitting: 0 125 | overridden: 0 126 | androidETC2FallbackOverride: 0 127 | forceMaximumCompressionQuality_BC6H_BC7: 0 128 | spriteSheet: 129 | serializedVersion: 2 130 | sprites: [] 131 | outline: [] 132 | physicsShape: [] 133 | bones: [] 134 | spriteID: 135 | internalID: 0 136 | vertices: [] 137 | indices: 138 | edges: [] 139 | weights: [] 140 | secondaryTextures: [] 141 | nameFileIdTable: {} 142 | spritePackingTag: 143 | pSDRemoveMatte: 0 144 | pSDShowRemoveMatteOption: 0 145 | userData: 146 | assetBundleName: 147 | assetBundleVariant: 148 | -------------------------------------------------------------------------------- /Assets/LogViewer/Styles.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEditor; 3 | using UnityEngine; 4 | 5 | namespace LogViewer 6 | { 7 | public static class Styles 8 | { 9 | public static GUIStyle MiniButton; 10 | public static GUIStyle MiniButtonSelected; 11 | public static GUIStyle LogStyle; 12 | public static GUIStyle IconStyle; 13 | public static GUIStyle EvenBackground; 14 | public static GUIStyle OddBackground; 15 | public static GUIStyle SelectedBackground; 16 | public static GUIStyle MessageStyle; 17 | public static GUIStyle CenteredMessage; 18 | 19 | public static GUIContent iconInfo, iconError, iconCulled; 20 | 21 | public static bool Initialized { get; private set; } 22 | 23 | private static readonly List textures = new(); 24 | 25 | public static void Initialize() 26 | { 27 | iconInfo = new GUIContent((Texture)Resources.Load("d_console.infoicon@2x")); 28 | iconError = new GUIContent((Texture)Resources.Load("d_console.erroricon@2x")); 29 | iconCulled = new GUIContent((Texture)Resources.Load("console.culled")); 30 | 31 | Color textColor = new(0.824f, 0.824f, 0.824f); 32 | 33 | MiniButton = new GUIStyle() 34 | { 35 | border = new RectOffset(6, 6, 0, 0), 36 | padding = new RectOffset(5, 5, 2, 2), 37 | fixedHeight = 20 38 | }; 39 | 40 | MiniButton.normal.textColor = textColor; 41 | 42 | MiniButtonSelected = CopyStyleWithColor(MiniButton, new Color32(92, 92, 92, 255)); 43 | 44 | IconStyle = new GUIStyle() 45 | { 46 | fixedHeight = 32, 47 | fixedWidth = 32, 48 | margin = new RectOffset(5, 5, 5, 5) 49 | }; 50 | 51 | LogStyle = new GUIStyle() 52 | { 53 | border = new RectOffset(30, 3, 3, 3), 54 | fixedHeight = 33, 55 | fontSize = 12, 56 | margin = new RectOffset(10, 10, 10, 10), 57 | padding = new RectOffset(32, 0, 3, 0) 58 | }; 59 | 60 | EvenBackground = new GUIStyle() 61 | { 62 | border = new RectOffset(30, 3, 3, 3), 63 | alignment = TextAnchor.MiddleLeft, 64 | }; 65 | 66 | EvenBackground.normal.background = MakeTexture(2, 2, new Color32(63, 63, 63, 255)); 67 | EvenBackground.normal.textColor = textColor; 68 | 69 | OddBackground = CopyStyleWithColor(EvenBackground, new Color32(56, 56, 56, 255)); 70 | SelectedBackground = CopyStyleWithColor(OddBackground, new Color32(44, 93, 135, 255)); 71 | 72 | MessageStyle = new GUIStyle() 73 | { 74 | border = new RectOffset(3, 3, 3, 3), 75 | fontSize = 13, 76 | padding = new RectOffset(10, 10, 10, 10), 77 | wordWrap = true 78 | }; 79 | 80 | MessageStyle.normal.textColor = textColor; 81 | 82 | CenteredMessage = new GUIStyle(MessageStyle) 83 | { 84 | alignment = TextAnchor.MiddleCenter 85 | }; 86 | 87 | Initialized = true; 88 | } 89 | 90 | public static void Deinitialize() 91 | { 92 | foreach (Texture t in textures) 93 | { 94 | Object.DestroyImmediate(t); 95 | } 96 | 97 | textures.Clear(); 98 | 99 | Initialized = false; 100 | } 101 | 102 | private static GUIStyle CopyStyleWithColor(GUIStyle target, Color color) 103 | { 104 | GUIStyle cloned = new(target); 105 | cloned.normal.background = MakeTexture(2, 2, color); 106 | 107 | return cloned; 108 | } 109 | 110 | private static Texture2D MakeTexture(int width, int height, Color color) 111 | { 112 | Color[] pix = new Color[width * height]; 113 | 114 | for (int i = 0; i < pix.Length; i++) 115 | { 116 | pix[i] = color; 117 | } 118 | 119 | Texture2D result = new(width, height); 120 | result.SetPixels(pix); 121 | result.Apply(); 122 | 123 | textures.Add(result); 124 | 125 | return result; 126 | } 127 | } 128 | } -------------------------------------------------------------------------------- /Assets/LogViewer/Styles.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 87a393cca45dd1940b19a7ff05892428 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/LogViewerPlayer.cs: -------------------------------------------------------------------------------- 1 | #if !UNITY_EDITOR 2 | using B83.Win32; 3 | using System.IO; 4 | #endif 5 | using System.IO; 6 | using UnityEngine; 7 | 8 | namespace LogViewer 9 | { 10 | public class LogViewerPlayer : MonoBehaviour 11 | { 12 | #if UNITY_EDITOR 13 | public string testLogFilePath; 14 | #endif 15 | 16 | private LogViewerOnGUI logViewer; 17 | 18 | private void Start() 19 | { 20 | logViewer = new LogViewerOnGUI(); 21 | 22 | #if UNITY_EDITOR 23 | if (File.Exists(testLogFilePath)) 24 | { 25 | logViewer.SetLog(LogFile.LoadFromFile(testLogFilePath)); 26 | } 27 | #else 28 | UnityDragAndDropHook.InstallHook(); 29 | UnityDragAndDropHook.OnDroppedFiles += OnDroppedFiles; 30 | 31 | string[] args = System.Environment.GetCommandLineArgs(); 32 | 33 | if (args.Length > 1) 34 | { 35 | string path = args[1]; 36 | 37 | if (File.Exists(path)) 38 | { 39 | logViewer.SetLog(LogFile.LoadFromFile(path)); 40 | } 41 | } 42 | #endif 43 | } 44 | 45 | #if !UNITY_EDITOR 46 | private void OnDroppedFiles(System.Collections.Generic.List paths, POINT aDropPoint) 47 | { 48 | foreach (string path in paths) 49 | { 50 | if (File.Exists(path)) 51 | { 52 | logViewer.SetLog(LogFile.LoadFromFile(path)); 53 | // titleContent = new GUIContent(Path.GetFileName(path)); 54 | 55 | break; 56 | } 57 | } 58 | } 59 | 60 | private void OnDestroy() 61 | { 62 | UnityDragAndDropHook.UninstallHook(); 63 | } 64 | #endif 65 | 66 | private void OnGUI() 67 | { 68 | if (!Styles.Initialized) 69 | Styles.Initialize(); 70 | 71 | GUILayout.BeginArea(new Rect(0, 0, Screen.width, Screen.height)); 72 | 73 | logViewer.OnGUI(); 74 | 75 | GUILayout.EndArea(); 76 | } 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /Assets/LogViewerPlayer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2502227a70e68c4b8604e8ccd8fcc1c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Main.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: 0} 41 | m_IndirectSpecularColor: {r: 0.12731749, g: 0.13414757, b: 0.1210787, 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: 512 79 | m_PVRBounces: 2 80 | m_PVREnvironmentSampleCount: 256 81 | m_PVREnvironmentReferencePointCount: 2048 82 | m_PVRFilteringMode: 1 83 | m_PVRDenoiserTypeDirect: 1 84 | m_PVRDenoiserTypeIndirect: 1 85 | m_PVRDenoiserTypeAO: 1 86 | m_PVRFilterTypeDirect: 0 87 | m_PVRFilterTypeIndirect: 0 88 | m_PVRFilterTypeAO: 0 89 | m_PVREnvironmentMIS: 1 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: 0} 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 &2071714742 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: 2071714745} 135 | - component: {fileID: 2071714744} 136 | - component: {fileID: 2071714743} 137 | - component: {fileID: 2071714746} 138 | m_Layer: 0 139 | m_Name: Main 140 | m_TagString: MainCamera 141 | m_Icon: {fileID: 0} 142 | m_NavMeshLayer: 0 143 | m_StaticEditorFlags: 0 144 | m_IsActive: 1 145 | --- !u!81 &2071714743 146 | AudioListener: 147 | m_ObjectHideFlags: 0 148 | m_CorrespondingSourceObject: {fileID: 0} 149 | m_PrefabInstance: {fileID: 0} 150 | m_PrefabAsset: {fileID: 0} 151 | m_GameObject: {fileID: 2071714742} 152 | m_Enabled: 1 153 | --- !u!20 &2071714744 154 | Camera: 155 | m_ObjectHideFlags: 0 156 | m_CorrespondingSourceObject: {fileID: 0} 157 | m_PrefabInstance: {fileID: 0} 158 | m_PrefabAsset: {fileID: 0} 159 | m_GameObject: {fileID: 2071714742} 160 | m_Enabled: 1 161 | serializedVersion: 2 162 | m_ClearFlags: 2 163 | m_BackGroundColor: {r: 0.24705882, g: 0.24705882, b: 0.24705882, a: 0} 164 | m_projectionMatrixMode: 1 165 | m_GateFitMode: 2 166 | m_FOVAxisMode: 0 167 | m_SensorSize: {x: 36, y: 24} 168 | m_LensShift: {x: 0, y: 0} 169 | m_FocalLength: 50 170 | m_NormalizedViewPortRect: 171 | serializedVersion: 2 172 | x: 0 173 | y: 0 174 | width: 1 175 | height: 1 176 | near clip plane: 0.3 177 | far clip plane: 1000 178 | field of view: 60 179 | orthographic: 0 180 | orthographic size: 5 181 | m_Depth: -1 182 | m_CullingMask: 183 | serializedVersion: 2 184 | m_Bits: 4294967295 185 | m_RenderingPath: -1 186 | m_TargetTexture: {fileID: 0} 187 | m_TargetDisplay: 0 188 | m_TargetEye: 3 189 | m_HDR: 1 190 | m_AllowMSAA: 1 191 | m_AllowDynamicResolution: 0 192 | m_ForceIntoRT: 0 193 | m_OcclusionCulling: 1 194 | m_StereoConvergence: 10 195 | m_StereoSeparation: 0.022 196 | --- !u!4 &2071714745 197 | Transform: 198 | m_ObjectHideFlags: 0 199 | m_CorrespondingSourceObject: {fileID: 0} 200 | m_PrefabInstance: {fileID: 0} 201 | m_PrefabAsset: {fileID: 0} 202 | m_GameObject: {fileID: 2071714742} 203 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 204 | m_LocalPosition: {x: 0, y: 1, z: -10} 205 | m_LocalScale: {x: 1, y: 1, z: 1} 206 | m_ConstrainProportionsScale: 0 207 | m_Children: [] 208 | m_Father: {fileID: 0} 209 | m_RootOrder: 0 210 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 211 | --- !u!114 &2071714746 212 | MonoBehaviour: 213 | m_ObjectHideFlags: 0 214 | m_CorrespondingSourceObject: {fileID: 0} 215 | m_PrefabInstance: {fileID: 0} 216 | m_PrefabAsset: {fileID: 0} 217 | m_GameObject: {fileID: 2071714742} 218 | m_Enabled: 1 219 | m_EditorHideFlags: 0 220 | m_Script: {fileID: 11500000, guid: b2502227a70e68c4b8604e8ccd8fcc1c, type: 3} 221 | m_Name: 222 | m_EditorClassIdentifier: 223 | testLogFilePath: K:\Downloads\DummyLog.log 224 | -------------------------------------------------------------------------------- /Assets/Main.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f66d677e71c6f114ab1cb896a1eacae8 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/UnityWindowsFileDrag-Drop.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ecff0e6ede5e49d47857c2d6edda73ec 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityWindowsFileDrag-Drop/B83.Win32.cs: -------------------------------------------------------------------------------- 1 | /* * * * * 2 | * This is a collection of Win API helpers. Mainly dealing with window message hooks 3 | * and file drag&drop support for Windows standalone Unity applications. 4 | * 5 | * 2019.11.28 - Changed the "UnityDragAndDropHook" class to a static class. This 6 | * has been done for IL2CPP support. IL2CPP can not marshall instance method 7 | * callbacks passed to native code. So the callbacks must be static methods. 8 | * Therefore all fields involved also need to be static. 9 | * 10 | * The MIT License (MIT) 11 | * 12 | * Copyright (c) 2018 Markus Göbel (Bunny83) 13 | * 14 | * Permission is hereby granted, free of charge, to any person obtaining a copy 15 | * of this software and associated documentation files (the "Software"), to deal 16 | * in the Software without restriction, including without limitation the rights 17 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | * copies of the Software, and to permit persons to whom the Software is 19 | * furnished to do so, subject to the following conditions: 20 | * 21 | * The above copyright notice and this permission notice shall be included in all 22 | * copies or substantial portions of the Software. 23 | * 24 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 30 | * SOFTWARE. 31 | * 32 | * * * * */ 33 | using System; 34 | using System.Collections.Generic; 35 | using System.Runtime.InteropServices; 36 | 37 | namespace B83.Win32 38 | { 39 | public enum HookType : int 40 | { 41 | WH_JOURNALRECORD = 0, 42 | WH_JOURNALPLAYBACK = 1, 43 | WH_KEYBOARD = 2, 44 | WH_GETMESSAGE = 3, 45 | WH_CALLWNDPROC = 4, 46 | WH_CBT = 5, 47 | WH_SYSMSGFILTER = 6, 48 | WH_MOUSE = 7, 49 | WH_HARDWARE = 8, 50 | WH_DEBUG = 9, 51 | WH_SHELL = 10, 52 | WH_FOREGROUNDIDLE = 11, 53 | WH_CALLWNDPROCRET = 12, 54 | WH_KEYBOARD_LL = 13, 55 | WH_MOUSE_LL = 14 56 | } 57 | 58 | // windows messages 59 | public enum WM : uint 60 | { 61 | NULL = 0x0000, 62 | CREATE = 0x0001, 63 | DESTROY = 0x0002, 64 | MOVE = 0x0003, 65 | SIZE = 0x0005, 66 | ACTIVATE = 0x0006, 67 | SETFOCUS = 0x0007, 68 | KILLFOCUS = 0x0008, 69 | ENABLE = 0x000A, 70 | SETREDRAW = 0x000B, 71 | SETTEXT = 0x000C, 72 | GETTEXT = 0x000D, 73 | GETTEXTLENGTH = 0x000E, 74 | PAINT = 0x000F, 75 | CLOSE = 0x0010, 76 | QUERYENDSESSION = 0x0011, 77 | QUERYOPEN = 0x0013, 78 | ENDSESSION = 0x0016, 79 | QUIT = 0x0012, 80 | ERASEBKGND = 0x0014, 81 | SYSCOLORCHANGE = 0x0015, 82 | SHOWWINDOW = 0x0018, 83 | WININICHANGE = 0x001A, 84 | SETTINGCHANGE = WININICHANGE, 85 | DEVMODECHANGE = 0x001B, 86 | ACTIVATEAPP = 0x001C, 87 | FONTCHANGE = 0x001D, 88 | TIMECHANGE = 0x001E, 89 | CANCELMODE = 0x001F, 90 | SETCURSOR = 0x0020, 91 | MOUSEACTIVATE = 0x0021, 92 | CHILDACTIVATE = 0x0022, 93 | QUEUESYNC = 0x0023, 94 | GETMINMAXINFO = 0x0024, 95 | PAINTICON = 0x0026, 96 | ICONERASEBKGND = 0x0027, 97 | NEXTDLGCTL = 0x0028, 98 | SPOOLERSTATUS = 0x002A, 99 | DRAWITEM = 0x002B, 100 | MEASUREITEM = 0x002C, 101 | DELETEITEM = 0x002D, 102 | VKEYTOITEM = 0x002E, 103 | CHARTOITEM = 0x002F, 104 | SETFONT = 0x0030, 105 | GETFONT = 0x0031, 106 | SETHOTKEY = 0x0032, 107 | GETHOTKEY = 0x0033, 108 | QUERYDRAGICON = 0x0037, 109 | COMPAREITEM = 0x0039, 110 | GETOBJECT = 0x003D, 111 | COMPACTING = 0x0041, 112 | [Obsolete] 113 | COMMNOTIFY = 0x0044, 114 | WINDOWPOSCHANGING = 0x0046, 115 | WINDOWPOSCHANGED = 0x0047, 116 | [Obsolete] 117 | POWER = 0x0048, 118 | COPYDATA = 0x004A, 119 | CANCELJOURNAL = 0x004B, 120 | NOTIFY = 0x004E, 121 | INPUTLANGCHANGEREQUEST = 0x0050, 122 | INPUTLANGCHANGE = 0x0051, 123 | TCARD = 0x0052, 124 | HELP = 0x0053, 125 | USERCHANGED = 0x0054, 126 | NOTIFYFORMAT = 0x0055, 127 | CONTEXTMENU = 0x007B, 128 | STYLECHANGING = 0x007C, 129 | STYLECHANGED = 0x007D, 130 | DISPLAYCHANGE = 0x007E, 131 | GETICON = 0x007F, 132 | SETICON = 0x0080, 133 | NCCREATE = 0x0081, 134 | NCDESTROY = 0x0082, 135 | NCCALCSIZE = 0x0083, 136 | NCHITTEST = 0x0084, 137 | NCPAINT = 0x0085, 138 | NCACTIVATE = 0x0086, 139 | GETDLGCODE = 0x0087, 140 | SYNCPAINT = 0x0088, 141 | NCMOUSEMOVE = 0x00A0, 142 | NCLBUTTONDOWN = 0x00A1, 143 | NCLBUTTONUP = 0x00A2, 144 | NCLBUTTONDBLCLK = 0x00A3, 145 | NCRBUTTONDOWN = 0x00A4, 146 | NCRBUTTONUP = 0x00A5, 147 | NCRBUTTONDBLCLK = 0x00A6, 148 | NCMBUTTONDOWN = 0x00A7, 149 | NCMBUTTONUP = 0x00A8, 150 | NCMBUTTONDBLCLK = 0x00A9, 151 | NCXBUTTONDOWN = 0x00AB, 152 | NCXBUTTONUP = 0x00AC, 153 | NCXBUTTONDBLCLK = 0x00AD, 154 | INPUT_DEVICE_CHANGE = 0x00FE, 155 | INPUT = 0x00FF, 156 | KEYFIRST = 0x0100, 157 | KEYDOWN = 0x0100, 158 | KEYUP = 0x0101, 159 | CHAR = 0x0102, 160 | DEADCHAR = 0x0103, 161 | SYSKEYDOWN = 0x0104, 162 | SYSKEYUP = 0x0105, 163 | SYSCHAR = 0x0106, 164 | SYSDEADCHAR = 0x0107, 165 | UNICHAR = 0x0109, 166 | KEYLAST = 0x0108, 167 | IME_STARTCOMPOSITION = 0x010D, 168 | IME_ENDCOMPOSITION = 0x010E, 169 | IME_COMPOSITION = 0x010F, 170 | IME_KEYLAST = 0x010F, 171 | INITDIALOG = 0x0110, 172 | COMMAND = 0x0111, 173 | SYSCOMMAND = 0x0112, 174 | TIMER = 0x0113, 175 | HSCROLL = 0x0114, 176 | VSCROLL = 0x0115, 177 | INITMENU = 0x0116, 178 | INITMENUPOPUP = 0x0117, 179 | MENUSELECT = 0x011F, 180 | MENUCHAR = 0x0120, 181 | ENTERIDLE = 0x0121, 182 | MENURBUTTONUP = 0x0122, 183 | MENUDRAG = 0x0123, 184 | MENUGETOBJECT = 0x0124, 185 | UNINITMENUPOPUP = 0x0125, 186 | MENUCOMMAND = 0x0126, 187 | CHANGEUISTATE = 0x0127, 188 | UPDATEUISTATE = 0x0128, 189 | QUERYUISTATE = 0x0129, 190 | CTLCOLORMSGBOX = 0x0132, 191 | CTLCOLOREDIT = 0x0133, 192 | CTLCOLORLISTBOX = 0x0134, 193 | CTLCOLORBTN = 0x0135, 194 | CTLCOLORDLG = 0x0136, 195 | CTLCOLORSCROLLBAR = 0x0137, 196 | CTLCOLORSTATIC = 0x0138, 197 | MOUSEFIRST = 0x0200, 198 | MOUSEMOVE = 0x0200, 199 | LBUTTONDOWN = 0x0201, 200 | LBUTTONUP = 0x0202, 201 | LBUTTONDBLCLK = 0x0203, 202 | RBUTTONDOWN = 0x0204, 203 | RBUTTONUP = 0x0205, 204 | RBUTTONDBLCLK = 0x0206, 205 | MBUTTONDOWN = 0x0207, 206 | MBUTTONUP = 0x0208, 207 | MBUTTONDBLCLK = 0x0209, 208 | MOUSEWHEEL = 0x020A, 209 | XBUTTONDOWN = 0x020B, 210 | XBUTTONUP = 0x020C, 211 | XBUTTONDBLCLK = 0x020D, 212 | MOUSEHWHEEL = 0x020E, 213 | MOUSELAST = 0x020E, 214 | PARENTNOTIFY = 0x0210, 215 | ENTERMENULOOP = 0x0211, 216 | EXITMENULOOP = 0x0212, 217 | NEXTMENU = 0x0213, 218 | SIZING = 0x0214, 219 | CAPTURECHANGED = 0x0215, 220 | MOVING = 0x0216, 221 | POWERBROADCAST = 0x0218, 222 | DEVICECHANGE = 0x0219, 223 | MDICREATE = 0x0220, 224 | MDIDESTROY = 0x0221, 225 | MDIACTIVATE = 0x0222, 226 | MDIRESTORE = 0x0223, 227 | MDINEXT = 0x0224, 228 | MDIMAXIMIZE = 0x0225, 229 | MDITILE = 0x0226, 230 | MDICASCADE = 0x0227, 231 | MDIICONARRANGE = 0x0228, 232 | MDIGETACTIVE = 0x0229, 233 | MDISETMENU = 0x0230, 234 | ENTERSIZEMOVE = 0x0231, 235 | EXITSIZEMOVE = 0x0232, 236 | DROPFILES = 0x0233, 237 | MDIREFRESHMENU = 0x0234, 238 | IME_SETCONTEXT = 0x0281, 239 | IME_NOTIFY = 0x0282, 240 | IME_CONTROL = 0x0283, 241 | IME_COMPOSITIONFULL = 0x0284, 242 | IME_SELECT = 0x0285, 243 | IME_CHAR = 0x0286, 244 | IME_REQUEST = 0x0288, 245 | IME_KEYDOWN = 0x0290, 246 | IME_KEYUP = 0x0291, 247 | MOUSEHOVER = 0x02A1, 248 | MOUSELEAVE = 0x02A3, 249 | NCMOUSEHOVER = 0x02A0, 250 | NCMOUSELEAVE = 0x02A2, 251 | WTSSESSION_CHANGE = 0x02B1, 252 | TABLET_FIRST = 0x02c0, 253 | TABLET_LAST = 0x02df, 254 | CUT = 0x0300, 255 | COPY = 0x0301, 256 | PASTE = 0x0302, 257 | CLEAR = 0x0303, 258 | UNDO = 0x0304, 259 | RENDERFORMAT = 0x0305, 260 | RENDERALLFORMATS = 0x0306, 261 | DESTROYCLIPBOARD = 0x0307, 262 | DRAWCLIPBOARD = 0x0308, 263 | PAINTCLIPBOARD = 0x0309, 264 | VSCROLLCLIPBOARD = 0x030A, 265 | SIZECLIPBOARD = 0x030B, 266 | ASKCBFORMATNAME = 0x030C, 267 | CHANGECBCHAIN = 0x030D, 268 | HSCROLLCLIPBOARD = 0x030E, 269 | QUERYNEWPALETTE = 0x030F, 270 | PALETTEISCHANGING = 0x0310, 271 | PALETTECHANGED = 0x0311, 272 | HOTKEY = 0x0312, 273 | PRINT = 0x0317, 274 | PRINTCLIENT = 0x0318, 275 | APPCOMMAND = 0x0319, 276 | THEMECHANGED = 0x031A, 277 | CLIPBOARDUPDATE = 0x031D, 278 | DWMCOMPOSITIONCHANGED = 0x031E, 279 | DWMNCRENDERINGCHANGED = 0x031F, 280 | DWMCOLORIZATIONCOLORCHANGED = 0x0320, 281 | DWMWINDOWMAXIMIZEDCHANGE = 0x0321, 282 | GETTITLEBARINFOEX = 0x033F, 283 | HANDHELDFIRST = 0x0358, 284 | HANDHELDLAST = 0x035F, 285 | AFXFIRST = 0x0360, 286 | AFXLAST = 0x037F, 287 | PENWINFIRST = 0x0380, 288 | PENWINLAST = 0x038F, 289 | APP = 0x8000, 290 | USER = 0x0400, 291 | CPL_LAUNCH = USER + 0x1000, 292 | CPL_LAUNCHED = USER + 0x1001, 293 | SYSTIMER = 0x118, 294 | } 295 | 296 | // WH_CALLWNDPROC 297 | [StructLayout(LayoutKind.Sequential)] 298 | public struct CWPSTRUCT 299 | { 300 | public IntPtr lParam; 301 | public IntPtr wParam; 302 | public WM message; 303 | public IntPtr hwnd; 304 | } 305 | 306 | [StructLayout(LayoutKind.Sequential)] 307 | public struct POINT 308 | { 309 | public int x, y; 310 | public POINT(int aX, int aY) 311 | { 312 | x = aX; 313 | y = aY; 314 | } 315 | public override string ToString() 316 | { 317 | return "(" + x + ", " + y + ")"; 318 | } 319 | } 320 | 321 | //WH_GETMESSAGE 322 | [StructLayout(LayoutKind.Sequential)] 323 | public struct MSG 324 | { 325 | public IntPtr hwnd; 326 | public WM message; 327 | public IntPtr wParam; 328 | public IntPtr lParam; 329 | public ushort time; 330 | public POINT pt; 331 | } 332 | 333 | [StructLayout(LayoutKind.Sequential)] 334 | public struct RECT 335 | { 336 | public int Left, Top, Right, Bottom; 337 | 338 | public RECT(int left, int top, int right, int bottom) 339 | { 340 | Left = left; 341 | Top = top; 342 | Right = right; 343 | Bottom = bottom; 344 | } 345 | public override string ToString() 346 | { 347 | return "(" + Left + ", " + Top + ", " + Right + ", " + Bottom + ")"; 348 | } 349 | } 350 | 351 | public delegate IntPtr HookProc(int code, IntPtr wParam, ref MSG lParam); 352 | public delegate bool EnumThreadDelegate(IntPtr Hwnd, IntPtr lParam); 353 | 354 | #if UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN 355 | 356 | public static class Window 357 | { 358 | [DllImport("user32.dll")] 359 | public static extern bool EnumThreadWindows(uint dwThreadId, EnumThreadDelegate lpfn, IntPtr lParam); 360 | 361 | [DllImport("user32.dll", SetLastError = true)] 362 | public static extern bool GetWindowRect(IntPtr hwnd, out RECT lpRect); 363 | 364 | [DllImport("user32.dll")] 365 | public static extern bool IsWindowVisible(IntPtr hWnd); 366 | 367 | [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)] 368 | static extern int GetClassName(IntPtr hWnd, System.Text.StringBuilder lpClassName, int nMaxCount); 369 | public static string GetClassName(IntPtr hWnd) 370 | { 371 | var sb = new System.Text.StringBuilder(256); 372 | int count = GetClassName(hWnd, sb, 256); 373 | return sb.ToString(0, count); 374 | } 375 | 376 | [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)] 377 | static extern int GetWindowTextLength(IntPtr hWnd); 378 | [DllImport("user32.dll", CharSet = CharSet.Unicode, SetLastError = true)] 379 | static extern int GetWindowText(IntPtr hWnd, System.Text.StringBuilder lpString, int nMaxCount); 380 | public static string GetWindowText(IntPtr hWnd) 381 | { 382 | int length = GetWindowTextLength(hWnd) + 2; 383 | var sb = new System.Text.StringBuilder(length); 384 | int count = GetWindowText(hWnd, sb, length); 385 | return sb.ToString(0, count); 386 | } 387 | } 388 | 389 | public static class WinAPI 390 | { 391 | [DllImport("kernel32.dll", CharSet = CharSet.Auto)] 392 | public static extern IntPtr GetModuleHandle(string lpModuleName); 393 | [DllImport("kernel32.dll")] 394 | public static extern uint GetCurrentThreadId(); 395 | 396 | [DllImport("user32.dll", SetLastError = true)] 397 | public static extern IntPtr SetWindowsHookEx(HookType hookType, HookProc lpfn, IntPtr hMod, uint dwThreadId); 398 | [DllImport("user32.dll", SetLastError = true)] 399 | public static extern bool UnhookWindowsHookEx(IntPtr hhk); 400 | [DllImport("user32.dll")] 401 | public static extern IntPtr CallNextHookEx(IntPtr hhk, int nCode, IntPtr wParam, ref MSG lParam); 402 | 403 | [DllImport("shell32.dll")] 404 | public static extern void DragAcceptFiles(IntPtr hwnd, bool fAccept); 405 | [DllImport("shell32.dll", CharSet = CharSet.Unicode)] 406 | public static extern uint DragQueryFile(IntPtr hDrop, uint iFile, System.Text.StringBuilder lpszFile, uint cch); 407 | [DllImport("shell32.dll")] 408 | public static extern void DragFinish(IntPtr hDrop); 409 | 410 | [DllImport("shell32.dll")] 411 | public static extern void DragQueryPoint(IntPtr hDrop, out POINT pos); 412 | } 413 | #endif 414 | 415 | 416 | public static class UnityDragAndDropHook 417 | { 418 | public delegate void DroppedFilesEvent(List aPathNames, POINT aDropPoint); 419 | public static event DroppedFilesEvent OnDroppedFiles; 420 | 421 | #if UNITY_STANDALONE_WIN && !UNITY_EDITOR_WIN 422 | 423 | private static uint threadId; 424 | private static IntPtr mainWindow = IntPtr.Zero; 425 | private static IntPtr m_Hook; 426 | private static string m_ClassName = "UnityWndClass"; 427 | 428 | // attribute required for IL2CPP, also has to be a static method 429 | [AOT.MonoPInvokeCallback(typeof(EnumThreadDelegate))] 430 | private static bool EnumCallback(IntPtr W, IntPtr _) 431 | { 432 | if (Window.IsWindowVisible(W) && (mainWindow == IntPtr.Zero || (m_ClassName != null && Window.GetClassName(W) == m_ClassName))) 433 | { 434 | mainWindow = W; 435 | } 436 | return true; 437 | } 438 | 439 | public static void InstallHook() 440 | { 441 | threadId = WinAPI.GetCurrentThreadId(); 442 | if (threadId > 0) 443 | Window.EnumThreadWindows(threadId, EnumCallback, IntPtr.Zero); 444 | 445 | var hModule = WinAPI.GetModuleHandle(null); 446 | m_Hook = WinAPI.SetWindowsHookEx(HookType.WH_GETMESSAGE, Callback, hModule, threadId); 447 | // Allow dragging of files onto the main window. generates the WM_DROPFILES message 448 | WinAPI.DragAcceptFiles(mainWindow, true); 449 | } 450 | public static void UninstallHook() 451 | { 452 | WinAPI.UnhookWindowsHookEx(m_Hook); 453 | WinAPI.DragAcceptFiles(mainWindow, false); 454 | m_Hook = IntPtr.Zero; 455 | } 456 | 457 | // attribute required for IL2CPP, also has to be a static method 458 | [AOT.MonoPInvokeCallback(typeof(HookProc))] 459 | private static IntPtr Callback(int code, IntPtr wParam, ref MSG lParam) 460 | { 461 | if (code == 0 && lParam.message == WM.DROPFILES) 462 | { 463 | POINT pos; 464 | WinAPI.DragQueryPoint(lParam.wParam, out pos); 465 | 466 | // 0xFFFFFFFF as index makes the method return the number of files 467 | uint n = WinAPI.DragQueryFile(lParam.wParam, 0xFFFFFFFF, null, 0); 468 | var sb = new System.Text.StringBuilder(1024); 469 | 470 | List result = new List(); 471 | for (uint i = 0; i < n; i++) 472 | { 473 | int len = (int)WinAPI.DragQueryFile(lParam.wParam, i, sb, 1024); 474 | result.Add(sb.ToString(0, len)); 475 | sb.Length = 0; 476 | } 477 | WinAPI.DragFinish(lParam.wParam); 478 | if (OnDroppedFiles != null) 479 | OnDroppedFiles(result, pos); 480 | } 481 | return WinAPI.CallNextHookEx(m_Hook, code, wParam, ref lParam); 482 | } 483 | #else 484 | public static void InstallHook() 485 | { 486 | } 487 | public static void UninstallHook() 488 | { 489 | } 490 | #endif 491 | } 492 | } 493 | -------------------------------------------------------------------------------- /Assets/UnityWindowsFileDrag-Drop/B83.Win32.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 96c09ae95c81c58429a2c59f8190d8c1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/UnityWindowsFileDrag-Drop/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Markus Göbel (Bunny83) 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 | -------------------------------------------------------------------------------- /Assets/UnityWindowsFileDrag-Drop/LICENSE.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f58f6c2dfc9b8114c8f69d9bd55fde2f 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/UnityWindowsFileDrag-Drop/README.md: -------------------------------------------------------------------------------- 1 | # UnityWindowsFileDrag&Drop 2 | Adds file drag and drop support for Unity standalone builds on windows. 3 | 4 | It uses the GetMessage hook to intercept the WM_DROPFILES message 5 | 6 | See the "FileDragAndDrop.cs" or "ImageExample.cs" file for an example usage. 7 | 8 | Due to too many issues in the Unity editor (causes random silent crashes) I have disabled the hook when tested in playmode inside the editor. So this feature only works in a build. 9 | -------------------------------------------------------------------------------- /Assets/UnityWindowsFileDrag-Drop/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 515cc83fae76f8d4ab568ab1282a17fd 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": "2.2.0", 4 | "com.unity.feature.development": "1.0.1", 5 | "com.unity.ide.rider": "3.0.27", 6 | "com.unity.ide.visualstudio": "2.0.22", 7 | "com.unity.ide.vscode": "1.2.5", 8 | "com.unity.test-framework": "1.1.33", 9 | "com.unity.textmeshpro": "3.0.6", 10 | "com.unity.timeline": "1.6.5", 11 | "com.unity.ugui": "1.0.0", 12 | "com.unity.visualscripting": "1.9.1", 13 | "com.unity.modules.ai": "1.0.0", 14 | "com.unity.modules.androidjni": "1.0.0", 15 | "com.unity.modules.animation": "1.0.0", 16 | "com.unity.modules.assetbundle": "1.0.0", 17 | "com.unity.modules.audio": "1.0.0", 18 | "com.unity.modules.cloth": "1.0.0", 19 | "com.unity.modules.director": "1.0.0", 20 | "com.unity.modules.imageconversion": "1.0.0", 21 | "com.unity.modules.imgui": "1.0.0", 22 | "com.unity.modules.jsonserialize": "1.0.0", 23 | "com.unity.modules.particlesystem": "1.0.0", 24 | "com.unity.modules.physics": "1.0.0", 25 | "com.unity.modules.physics2d": "1.0.0", 26 | "com.unity.modules.screencapture": "1.0.0", 27 | "com.unity.modules.terrain": "1.0.0", 28 | "com.unity.modules.terrainphysics": "1.0.0", 29 | "com.unity.modules.tilemap": "1.0.0", 30 | "com.unity.modules.ui": "1.0.0", 31 | "com.unity.modules.uielements": "1.0.0", 32 | "com.unity.modules.umbra": "1.0.0", 33 | "com.unity.modules.unityanalytics": "1.0.0", 34 | "com.unity.modules.unitywebrequest": "1.0.0", 35 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 36 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 37 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 38 | "com.unity.modules.unitywebrequestwww": "1.0.0", 39 | "com.unity.modules.vehicles": "1.0.0", 40 | "com.unity.modules.video": "1.0.0", 41 | "com.unity.modules.vr": "1.0.0", 42 | "com.unity.modules.wind": "1.0.0", 43 | "com.unity.modules.xr": "1.0.0" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /Packages/packages-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": { 4 | "version": "2.2.0", 5 | "depth": 0, 6 | "source": "registry", 7 | "dependencies": {}, 8 | "url": "https://packages.unity.com" 9 | }, 10 | "com.unity.editorcoroutines": { 11 | "version": "1.0.0", 12 | "depth": 1, 13 | "source": "registry", 14 | "dependencies": {}, 15 | "url": "https://packages.unity.com" 16 | }, 17 | "com.unity.ext.nunit": { 18 | "version": "1.0.6", 19 | "depth": 1, 20 | "source": "registry", 21 | "dependencies": {}, 22 | "url": "https://packages.unity.com" 23 | }, 24 | "com.unity.feature.development": { 25 | "version": "1.0.1", 26 | "depth": 0, 27 | "source": "builtin", 28 | "dependencies": { 29 | "com.unity.ide.visualstudio": "2.0.22", 30 | "com.unity.ide.rider": "3.0.27", 31 | "com.unity.ide.vscode": "1.2.5", 32 | "com.unity.editorcoroutines": "1.0.0", 33 | "com.unity.performance.profile-analyzer": "1.2.2", 34 | "com.unity.test-framework": "1.1.33", 35 | "com.unity.testtools.codecoverage": "1.2.5" 36 | } 37 | }, 38 | "com.unity.ide.rider": { 39 | "version": "3.0.27", 40 | "depth": 0, 41 | "source": "registry", 42 | "dependencies": { 43 | "com.unity.ext.nunit": "1.0.6" 44 | }, 45 | "url": "https://packages.unity.com" 46 | }, 47 | "com.unity.ide.visualstudio": { 48 | "version": "2.0.22", 49 | "depth": 0, 50 | "source": "registry", 51 | "dependencies": { 52 | "com.unity.test-framework": "1.1.9" 53 | }, 54 | "url": "https://packages.unity.com" 55 | }, 56 | "com.unity.ide.vscode": { 57 | "version": "1.2.5", 58 | "depth": 0, 59 | "source": "registry", 60 | "dependencies": {}, 61 | "url": "https://packages.unity.com" 62 | }, 63 | "com.unity.performance.profile-analyzer": { 64 | "version": "1.2.2", 65 | "depth": 1, 66 | "source": "registry", 67 | "dependencies": {}, 68 | "url": "https://packages.unity.com" 69 | }, 70 | "com.unity.settings-manager": { 71 | "version": "1.0.3", 72 | "depth": 2, 73 | "source": "registry", 74 | "dependencies": {}, 75 | "url": "https://packages.unity.com" 76 | }, 77 | "com.unity.test-framework": { 78 | "version": "1.1.33", 79 | "depth": 0, 80 | "source": "registry", 81 | "dependencies": { 82 | "com.unity.ext.nunit": "1.0.6", 83 | "com.unity.modules.imgui": "1.0.0", 84 | "com.unity.modules.jsonserialize": "1.0.0" 85 | }, 86 | "url": "https://packages.unity.com" 87 | }, 88 | "com.unity.testtools.codecoverage": { 89 | "version": "1.2.5", 90 | "depth": 1, 91 | "source": "registry", 92 | "dependencies": { 93 | "com.unity.test-framework": "1.0.16", 94 | "com.unity.settings-manager": "1.0.1" 95 | }, 96 | "url": "https://packages.unity.com" 97 | }, 98 | "com.unity.textmeshpro": { 99 | "version": "3.0.6", 100 | "depth": 0, 101 | "source": "registry", 102 | "dependencies": { 103 | "com.unity.ugui": "1.0.0" 104 | }, 105 | "url": "https://packages.unity.com" 106 | }, 107 | "com.unity.timeline": { 108 | "version": "1.6.5", 109 | "depth": 0, 110 | "source": "registry", 111 | "dependencies": { 112 | "com.unity.modules.director": "1.0.0", 113 | "com.unity.modules.animation": "1.0.0", 114 | "com.unity.modules.audio": "1.0.0", 115 | "com.unity.modules.particlesystem": "1.0.0" 116 | }, 117 | "url": "https://packages.unity.com" 118 | }, 119 | "com.unity.ugui": { 120 | "version": "1.0.0", 121 | "depth": 0, 122 | "source": "builtin", 123 | "dependencies": { 124 | "com.unity.modules.ui": "1.0.0", 125 | "com.unity.modules.imgui": "1.0.0" 126 | } 127 | }, 128 | "com.unity.visualscripting": { 129 | "version": "1.9.1", 130 | "depth": 0, 131 | "source": "registry", 132 | "dependencies": { 133 | "com.unity.ugui": "1.0.0", 134 | "com.unity.modules.jsonserialize": "1.0.0" 135 | }, 136 | "url": "https://packages.unity.com" 137 | }, 138 | "com.unity.modules.ai": { 139 | "version": "1.0.0", 140 | "depth": 0, 141 | "source": "builtin", 142 | "dependencies": {} 143 | }, 144 | "com.unity.modules.androidjni": { 145 | "version": "1.0.0", 146 | "depth": 0, 147 | "source": "builtin", 148 | "dependencies": {} 149 | }, 150 | "com.unity.modules.animation": { 151 | "version": "1.0.0", 152 | "depth": 0, 153 | "source": "builtin", 154 | "dependencies": {} 155 | }, 156 | "com.unity.modules.assetbundle": { 157 | "version": "1.0.0", 158 | "depth": 0, 159 | "source": "builtin", 160 | "dependencies": {} 161 | }, 162 | "com.unity.modules.audio": { 163 | "version": "1.0.0", 164 | "depth": 0, 165 | "source": "builtin", 166 | "dependencies": {} 167 | }, 168 | "com.unity.modules.cloth": { 169 | "version": "1.0.0", 170 | "depth": 0, 171 | "source": "builtin", 172 | "dependencies": { 173 | "com.unity.modules.physics": "1.0.0" 174 | } 175 | }, 176 | "com.unity.modules.director": { 177 | "version": "1.0.0", 178 | "depth": 0, 179 | "source": "builtin", 180 | "dependencies": { 181 | "com.unity.modules.audio": "1.0.0", 182 | "com.unity.modules.animation": "1.0.0" 183 | } 184 | }, 185 | "com.unity.modules.imageconversion": { 186 | "version": "1.0.0", 187 | "depth": 0, 188 | "source": "builtin", 189 | "dependencies": {} 190 | }, 191 | "com.unity.modules.imgui": { 192 | "version": "1.0.0", 193 | "depth": 0, 194 | "source": "builtin", 195 | "dependencies": {} 196 | }, 197 | "com.unity.modules.jsonserialize": { 198 | "version": "1.0.0", 199 | "depth": 0, 200 | "source": "builtin", 201 | "dependencies": {} 202 | }, 203 | "com.unity.modules.particlesystem": { 204 | "version": "1.0.0", 205 | "depth": 0, 206 | "source": "builtin", 207 | "dependencies": {} 208 | }, 209 | "com.unity.modules.physics": { 210 | "version": "1.0.0", 211 | "depth": 0, 212 | "source": "builtin", 213 | "dependencies": {} 214 | }, 215 | "com.unity.modules.physics2d": { 216 | "version": "1.0.0", 217 | "depth": 0, 218 | "source": "builtin", 219 | "dependencies": {} 220 | }, 221 | "com.unity.modules.screencapture": { 222 | "version": "1.0.0", 223 | "depth": 0, 224 | "source": "builtin", 225 | "dependencies": { 226 | "com.unity.modules.imageconversion": "1.0.0" 227 | } 228 | }, 229 | "com.unity.modules.subsystems": { 230 | "version": "1.0.0", 231 | "depth": 1, 232 | "source": "builtin", 233 | "dependencies": { 234 | "com.unity.modules.jsonserialize": "1.0.0" 235 | } 236 | }, 237 | "com.unity.modules.terrain": { 238 | "version": "1.0.0", 239 | "depth": 0, 240 | "source": "builtin", 241 | "dependencies": {} 242 | }, 243 | "com.unity.modules.terrainphysics": { 244 | "version": "1.0.0", 245 | "depth": 0, 246 | "source": "builtin", 247 | "dependencies": { 248 | "com.unity.modules.physics": "1.0.0", 249 | "com.unity.modules.terrain": "1.0.0" 250 | } 251 | }, 252 | "com.unity.modules.tilemap": { 253 | "version": "1.0.0", 254 | "depth": 0, 255 | "source": "builtin", 256 | "dependencies": { 257 | "com.unity.modules.physics2d": "1.0.0" 258 | } 259 | }, 260 | "com.unity.modules.ui": { 261 | "version": "1.0.0", 262 | "depth": 0, 263 | "source": "builtin", 264 | "dependencies": {} 265 | }, 266 | "com.unity.modules.uielements": { 267 | "version": "1.0.0", 268 | "depth": 0, 269 | "source": "builtin", 270 | "dependencies": { 271 | "com.unity.modules.ui": "1.0.0", 272 | "com.unity.modules.imgui": "1.0.0", 273 | "com.unity.modules.jsonserialize": "1.0.0", 274 | "com.unity.modules.uielementsnative": "1.0.0" 275 | } 276 | }, 277 | "com.unity.modules.uielementsnative": { 278 | "version": "1.0.0", 279 | "depth": 1, 280 | "source": "builtin", 281 | "dependencies": { 282 | "com.unity.modules.ui": "1.0.0", 283 | "com.unity.modules.imgui": "1.0.0", 284 | "com.unity.modules.jsonserialize": "1.0.0" 285 | } 286 | }, 287 | "com.unity.modules.umbra": { 288 | "version": "1.0.0", 289 | "depth": 0, 290 | "source": "builtin", 291 | "dependencies": {} 292 | }, 293 | "com.unity.modules.unityanalytics": { 294 | "version": "1.0.0", 295 | "depth": 0, 296 | "source": "builtin", 297 | "dependencies": { 298 | "com.unity.modules.unitywebrequest": "1.0.0", 299 | "com.unity.modules.jsonserialize": "1.0.0" 300 | } 301 | }, 302 | "com.unity.modules.unitywebrequest": { 303 | "version": "1.0.0", 304 | "depth": 0, 305 | "source": "builtin", 306 | "dependencies": {} 307 | }, 308 | "com.unity.modules.unitywebrequestassetbundle": { 309 | "version": "1.0.0", 310 | "depth": 0, 311 | "source": "builtin", 312 | "dependencies": { 313 | "com.unity.modules.assetbundle": "1.0.0", 314 | "com.unity.modules.unitywebrequest": "1.0.0" 315 | } 316 | }, 317 | "com.unity.modules.unitywebrequestaudio": { 318 | "version": "1.0.0", 319 | "depth": 0, 320 | "source": "builtin", 321 | "dependencies": { 322 | "com.unity.modules.unitywebrequest": "1.0.0", 323 | "com.unity.modules.audio": "1.0.0" 324 | } 325 | }, 326 | "com.unity.modules.unitywebrequesttexture": { 327 | "version": "1.0.0", 328 | "depth": 0, 329 | "source": "builtin", 330 | "dependencies": { 331 | "com.unity.modules.unitywebrequest": "1.0.0", 332 | "com.unity.modules.imageconversion": "1.0.0" 333 | } 334 | }, 335 | "com.unity.modules.unitywebrequestwww": { 336 | "version": "1.0.0", 337 | "depth": 0, 338 | "source": "builtin", 339 | "dependencies": { 340 | "com.unity.modules.unitywebrequest": "1.0.0", 341 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 342 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 343 | "com.unity.modules.audio": "1.0.0", 344 | "com.unity.modules.assetbundle": "1.0.0", 345 | "com.unity.modules.imageconversion": "1.0.0" 346 | } 347 | }, 348 | "com.unity.modules.vehicles": { 349 | "version": "1.0.0", 350 | "depth": 0, 351 | "source": "builtin", 352 | "dependencies": { 353 | "com.unity.modules.physics": "1.0.0" 354 | } 355 | }, 356 | "com.unity.modules.video": { 357 | "version": "1.0.0", 358 | "depth": 0, 359 | "source": "builtin", 360 | "dependencies": { 361 | "com.unity.modules.audio": "1.0.0", 362 | "com.unity.modules.ui": "1.0.0", 363 | "com.unity.modules.unitywebrequest": "1.0.0" 364 | } 365 | }, 366 | "com.unity.modules.vr": { 367 | "version": "1.0.0", 368 | "depth": 0, 369 | "source": "builtin", 370 | "dependencies": { 371 | "com.unity.modules.jsonserialize": "1.0.0", 372 | "com.unity.modules.physics": "1.0.0", 373 | "com.unity.modules.xr": "1.0.0" 374 | } 375 | }, 376 | "com.unity.modules.wind": { 377 | "version": "1.0.0", 378 | "depth": 0, 379 | "source": "builtin", 380 | "dependencies": {} 381 | }, 382 | "com.unity.modules.xr": { 383 | "version": "1.0.0", 384 | "depth": 0, 385 | "source": "builtin", 386 | "dependencies": { 387 | "com.unity.modules.physics": "1.0.0", 388 | "com.unity.modules.jsonserialize": "1.0.0", 389 | "com.unity.modules.subsystems": "1.0.0" 390 | } 391 | } 392 | } 393 | } 394 | -------------------------------------------------------------------------------- /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_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 1024 20 | -------------------------------------------------------------------------------- /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: 11 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | m_FrictionType: 0 32 | m_EnableEnhancedDeterminism: 0 33 | m_EnableUnifiedHeightmaps: 1 34 | m_DefaultMaxAngluarSpeed: 7 35 | -------------------------------------------------------------------------------- /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/Main.unity 10 | guid: f66d677e71c6f114ab1cb896a1eacae8 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_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 0 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInEditMode: 1 24 | m_EnableTextureStreamingInPlayMode: 1 25 | m_AsyncShaderCompilation: 1 26 | m_EnterPlayModeOptionsEnabled: 0 27 | m_EnterPlayModeOptions: 3 28 | m_ShowLightmapResolutionOverlay: 1 29 | m_UseLegacyProbeSampleCount: 0 30 | m_SerializeInlineMappingsOnOneLine: 1 31 | -------------------------------------------------------------------------------- /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: 13 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_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | m_PreloadedShaders: [] 39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 40 | type: 0} 41 | m_CustomRenderPipeline: {fileID: 0} 42 | m_TransparencySortMode: 0 43 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 44 | m_DefaultRenderingPath: 1 45 | m_DefaultMobileRenderingPath: 1 46 | m_TierSettings: [] 47 | m_LightmapStripping: 0 48 | m_FogStripping: 0 49 | m_InstancingStripping: 0 50 | m_LightmapKeepPlain: 1 51 | m_LightmapKeepDirCombined: 1 52 | m_LightmapKeepDynamicPlain: 1 53 | m_LightmapKeepDynamicDirCombined: 1 54 | m_LightmapKeepShadowMask: 1 55 | m_LightmapKeepSubtractive: 1 56 | m_FogKeepLinear: 1 57 | m_FogKeepExp: 1 58 | m_FogKeepExp2: 1 59 | m_AlbedoSwatchInfos: [] 60 | m_LightsUseLinearIntensity: 0 61 | m_LightsUseColorTemperature: 0 62 | m_LogWhenShaderIsCompiled: 0 63 | m_AllowEnlightenSupportForUpgradedProject: 0 64 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /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: -830 34 | m_OriginalInstanceId: -832 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: 4 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_AutoSimulation: 1 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 1 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: 24 7 | productGUID: ff9c4e51c75dad24a9470d916b40362a 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: Roystan 16 | productName: LogViewer 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, 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: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 1 51 | unsupportedMSAAFallback: 0 52 | m_MTRendering: 1 53 | mipStripping: 0 54 | numberOfMipsStripped: 0 55 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 56 | iosShowActivityIndicatorOnLoading: -1 57 | androidShowActivityIndicatorOnLoading: -1 58 | iosUseCustomAppBackgroundBehavior: 0 59 | iosAllowHTTPDownload: 1 60 | allowedAutorotateToPortrait: 1 61 | allowedAutorotateToPortraitUpsideDown: 1 62 | allowedAutorotateToLandscapeRight: 1 63 | allowedAutorotateToLandscapeLeft: 1 64 | useOSAutorotation: 1 65 | use32BitDisplayBuffer: 1 66 | preserveFramebufferAlpha: 0 67 | disableDepthAndStencilBuffers: 0 68 | androidStartInFullscreen: 1 69 | androidRenderOutsideSafeArea: 1 70 | androidUseSwappy: 1 71 | androidBlitType: 0 72 | androidResizableWindow: 0 73 | androidDefaultWindowWidth: 1920 74 | androidDefaultWindowHeight: 1080 75 | androidMinimumWindowWidth: 400 76 | androidMinimumWindowHeight: 300 77 | androidFullscreenMode: 1 78 | androidAutoRotationBehavior: 1 79 | defaultIsNativeResolution: 1 80 | macRetinaSupport: 1 81 | runInBackground: 1 82 | captureSingleScreen: 0 83 | muteOtherAudioSources: 0 84 | Prepare IOS For Recording: 0 85 | Force IOS Speakers When Recording: 0 86 | deferSystemGesturesMode: 0 87 | hideHomeButton: 0 88 | submitAnalytics: 1 89 | usePlayerLog: 1 90 | bakeCollisionMeshes: 0 91 | forceSingleInstance: 0 92 | useFlipModelSwapchain: 1 93 | resizableWindow: 1 94 | useMacAppStoreValidation: 0 95 | macAppStoreCategory: public.app-category.games 96 | gpuSkinning: 1 97 | xboxPIXTextureCapture: 0 98 | xboxEnableAvatar: 0 99 | xboxEnableKinect: 0 100 | xboxEnableKinectAutoTracking: 0 101 | xboxEnableFitness: 0 102 | visibleInBackground: 1 103 | allowFullscreenSwitch: 1 104 | fullscreenMode: 3 105 | xboxSpeechDB: 0 106 | xboxEnableHeadOrientation: 0 107 | xboxEnableGuest: 0 108 | xboxEnablePIXSampling: 0 109 | metalFramebufferOnly: 0 110 | xboxOneResolution: 0 111 | xboxOneSResolution: 0 112 | xboxOneXResolution: 3 113 | xboxOneMonoLoggingLevel: 0 114 | xboxOneLoggingLevel: 1 115 | xboxOneDisableEsram: 0 116 | xboxOneEnableTypeOptimization: 0 117 | xboxOnePresentImmediateThreshold: 0 118 | switchQueueCommandMemory: 0 119 | switchQueueControlMemory: 16384 120 | switchQueueComputeMemory: 262144 121 | switchNVNShaderPoolsGranularity: 33554432 122 | switchNVNDefaultPoolsGranularity: 16777216 123 | switchNVNOtherPoolsGranularity: 16777216 124 | switchNVNMaxPublicTextureIDCount: 0 125 | switchNVNMaxPublicSamplerIDCount: 0 126 | switchMaxWorkerMultiple: 8 127 | stadiaPresentMode: 0 128 | stadiaTargetFramerate: 0 129 | vulkanNumSwapchainBuffers: 3 130 | vulkanEnableSetSRGBWrite: 0 131 | vulkanEnablePreTransform: 1 132 | vulkanEnableLateAcquireNextImage: 0 133 | vulkanEnableCommandBufferRecycling: 1 134 | m_SupportedAspectRatios: 135 | 4:3: 1 136 | 5:4: 1 137 | 16:10: 1 138 | 16:9: 1 139 | Others: 1 140 | bundleVersion: 0.1 141 | preloadedAssets: [] 142 | metroInputSource: 0 143 | wsaTransparentSwapchain: 0 144 | m_HolographicPauseOnTrackingLoss: 1 145 | xboxOneDisableKinectGpuReservation: 1 146 | xboxOneEnable7thCore: 1 147 | vrSettings: 148 | enable360StereoCapture: 0 149 | isWsaHolographicRemotingEnabled: 0 150 | enableFrameTimingStats: 0 151 | enableOpenGLProfilerGPURecorders: 1 152 | useHDRDisplay: 0 153 | D3DHDRBitDepth: 0 154 | m_ColorGamuts: 00000000 155 | targetPixelDensity: 30 156 | resolutionScalingMode: 0 157 | resetResolutionOnWindowResize: 0 158 | androidSupportedAspectRatio: 1 159 | androidMaxAspectRatio: 2.1 160 | applicationIdentifier: 161 | Standalone: com.Roystan.LogViewer 162 | buildNumber: 163 | Standalone: 0 164 | iPhone: 0 165 | tvOS: 0 166 | overrideDefaultApplicationIdentifier: 0 167 | AndroidBundleVersionCode: 1 168 | AndroidMinSdkVersion: 22 169 | AndroidTargetSdkVersion: 0 170 | AndroidPreferredInstallLocation: 1 171 | aotOptions: 172 | stripEngineCode: 1 173 | iPhoneStrippingLevel: 0 174 | iPhoneScriptCallOptimization: 0 175 | ForceInternetPermission: 0 176 | ForceSDCardPermission: 0 177 | CreateWallpaper: 0 178 | APKExpansionFiles: 0 179 | keepLoadedShadersAlive: 0 180 | StripUnusedMeshComponents: 1 181 | VertexChannelCompressionMask: 4054 182 | iPhoneSdkVersion: 988 183 | iOSTargetOSVersionString: 12.0 184 | tvOSSdkVersion: 0 185 | tvOSRequireExtendedGameController: 0 186 | tvOSTargetOSVersionString: 12.0 187 | uIPrerenderedIcon: 0 188 | uIRequiresPersistentWiFi: 0 189 | uIRequiresFullScreen: 1 190 | uIStatusBarHidden: 1 191 | uIExitOnSuspend: 0 192 | uIStatusBarStyle: 0 193 | appleTVSplashScreen: {fileID: 0} 194 | appleTVSplashScreen2x: {fileID: 0} 195 | tvOSSmallIconLayers: [] 196 | tvOSSmallIconLayers2x: [] 197 | tvOSLargeIconLayers: [] 198 | tvOSLargeIconLayers2x: [] 199 | tvOSTopShelfImageLayers: [] 200 | tvOSTopShelfImageLayers2x: [] 201 | tvOSTopShelfImageWideLayers: [] 202 | tvOSTopShelfImageWideLayers2x: [] 203 | iOSLaunchScreenType: 0 204 | iOSLaunchScreenPortrait: {fileID: 0} 205 | iOSLaunchScreenLandscape: {fileID: 0} 206 | iOSLaunchScreenBackgroundColor: 207 | serializedVersion: 2 208 | rgba: 0 209 | iOSLaunchScreenFillPct: 100 210 | iOSLaunchScreenSize: 100 211 | iOSLaunchScreenCustomXibPath: 212 | iOSLaunchScreeniPadType: 0 213 | iOSLaunchScreeniPadImage: {fileID: 0} 214 | iOSLaunchScreeniPadBackgroundColor: 215 | serializedVersion: 2 216 | rgba: 0 217 | iOSLaunchScreeniPadFillPct: 100 218 | iOSLaunchScreeniPadSize: 100 219 | iOSLaunchScreeniPadCustomXibPath: 220 | iOSLaunchScreenCustomStoryboardPath: 221 | iOSLaunchScreeniPadCustomStoryboardPath: 222 | iOSDeviceRequirements: [] 223 | iOSURLSchemes: [] 224 | macOSURLSchemes: [] 225 | iOSBackgroundModes: 0 226 | iOSMetalForceHardShadows: 0 227 | metalEditorSupport: 1 228 | metalAPIValidation: 1 229 | iOSRenderExtraFrameOnPause: 0 230 | iosCopyPluginsCodeInsteadOfSymlink: 0 231 | appleDeveloperTeamID: 232 | iOSManualSigningProvisioningProfileID: 233 | tvOSManualSigningProvisioningProfileID: 234 | iOSManualSigningProvisioningProfileType: 0 235 | tvOSManualSigningProvisioningProfileType: 0 236 | appleEnableAutomaticSigning: 0 237 | iOSRequireARKit: 0 238 | iOSAutomaticallyDetectAndAddCapabilities: 1 239 | appleEnableProMotion: 0 240 | shaderPrecisionModel: 0 241 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 242 | templatePackageId: com.unity.template.3d@8.1.3 243 | templateDefaultScene: Assets/Scenes/SampleScene.unity 244 | useCustomMainManifest: 0 245 | useCustomLauncherManifest: 0 246 | useCustomMainGradleTemplate: 0 247 | useCustomLauncherGradleManifest: 0 248 | useCustomBaseGradleTemplate: 0 249 | useCustomGradlePropertiesTemplate: 0 250 | useCustomProguardFile: 0 251 | AndroidTargetArchitectures: 1 252 | AndroidTargetDevices: 0 253 | AndroidSplashScreenScale: 0 254 | androidSplashScreen: {fileID: 0} 255 | AndroidKeystoreName: 256 | AndroidKeyaliasName: 257 | AndroidBuildApkPerCpuArchitecture: 0 258 | AndroidTVCompatibility: 0 259 | AndroidIsGame: 1 260 | AndroidEnableTango: 0 261 | androidEnableBanner: 1 262 | androidUseLowAccuracyLocation: 0 263 | androidUseCustomKeystore: 0 264 | m_AndroidBanners: 265 | - width: 320 266 | height: 180 267 | banner: {fileID: 0} 268 | androidGamepadSupportLevel: 0 269 | chromeosInputEmulation: 1 270 | AndroidMinifyWithR8: 0 271 | AndroidMinifyRelease: 0 272 | AndroidMinifyDebug: 0 273 | AndroidValidateAppBundleSize: 1 274 | AndroidAppBundleSizeToValidate: 150 275 | m_BuildTargetIcons: 276 | - m_BuildTarget: 277 | m_Icons: 278 | - serializedVersion: 2 279 | m_Icon: {fileID: 2800000, guid: cafee23eff403f1458fc82068b1979d2, type: 3} 280 | m_Width: 128 281 | m_Height: 128 282 | m_Kind: 0 283 | m_BuildTargetPlatformIcons: 284 | - m_BuildTarget: Android 285 | m_Icons: 286 | - m_Textures: [] 287 | m_Width: 432 288 | m_Height: 432 289 | m_Kind: 2 290 | m_SubKind: 291 | - m_Textures: [] 292 | m_Width: 324 293 | m_Height: 324 294 | m_Kind: 2 295 | m_SubKind: 296 | - m_Textures: [] 297 | m_Width: 216 298 | m_Height: 216 299 | m_Kind: 2 300 | m_SubKind: 301 | - m_Textures: [] 302 | m_Width: 162 303 | m_Height: 162 304 | m_Kind: 2 305 | m_SubKind: 306 | - m_Textures: [] 307 | m_Width: 108 308 | m_Height: 108 309 | m_Kind: 2 310 | m_SubKind: 311 | - m_Textures: [] 312 | m_Width: 81 313 | m_Height: 81 314 | m_Kind: 2 315 | m_SubKind: 316 | - m_Textures: [] 317 | m_Width: 192 318 | m_Height: 192 319 | m_Kind: 1 320 | m_SubKind: 321 | - m_Textures: [] 322 | m_Width: 144 323 | m_Height: 144 324 | m_Kind: 1 325 | m_SubKind: 326 | - m_Textures: [] 327 | m_Width: 96 328 | m_Height: 96 329 | m_Kind: 1 330 | m_SubKind: 331 | - m_Textures: [] 332 | m_Width: 72 333 | m_Height: 72 334 | m_Kind: 1 335 | m_SubKind: 336 | - m_Textures: [] 337 | m_Width: 48 338 | m_Height: 48 339 | m_Kind: 1 340 | m_SubKind: 341 | - m_Textures: [] 342 | m_Width: 36 343 | m_Height: 36 344 | m_Kind: 1 345 | m_SubKind: 346 | - m_Textures: [] 347 | m_Width: 192 348 | m_Height: 192 349 | m_Kind: 0 350 | m_SubKind: 351 | - m_Textures: [] 352 | m_Width: 144 353 | m_Height: 144 354 | m_Kind: 0 355 | m_SubKind: 356 | - m_Textures: [] 357 | m_Width: 96 358 | m_Height: 96 359 | m_Kind: 0 360 | m_SubKind: 361 | - m_Textures: [] 362 | m_Width: 72 363 | m_Height: 72 364 | m_Kind: 0 365 | m_SubKind: 366 | - m_Textures: [] 367 | m_Width: 48 368 | m_Height: 48 369 | m_Kind: 0 370 | m_SubKind: 371 | - m_Textures: [] 372 | m_Width: 36 373 | m_Height: 36 374 | m_Kind: 0 375 | m_SubKind: 376 | m_BuildTargetBatching: 377 | - m_BuildTarget: Standalone 378 | m_StaticBatching: 1 379 | m_DynamicBatching: 0 380 | - m_BuildTarget: tvOS 381 | m_StaticBatching: 1 382 | m_DynamicBatching: 0 383 | - m_BuildTarget: Android 384 | m_StaticBatching: 1 385 | m_DynamicBatching: 0 386 | - m_BuildTarget: iPhone 387 | m_StaticBatching: 1 388 | m_DynamicBatching: 0 389 | - m_BuildTarget: WebGL 390 | m_StaticBatching: 0 391 | m_DynamicBatching: 0 392 | m_BuildTargetShaderSettings: [] 393 | m_BuildTargetGraphicsJobs: 394 | - m_BuildTarget: MacStandaloneSupport 395 | m_GraphicsJobs: 0 396 | - m_BuildTarget: Switch 397 | m_GraphicsJobs: 1 398 | - m_BuildTarget: MetroSupport 399 | m_GraphicsJobs: 1 400 | - m_BuildTarget: AppleTVSupport 401 | m_GraphicsJobs: 0 402 | - m_BuildTarget: BJMSupport 403 | m_GraphicsJobs: 1 404 | - m_BuildTarget: LinuxStandaloneSupport 405 | m_GraphicsJobs: 1 406 | - m_BuildTarget: PS4Player 407 | m_GraphicsJobs: 1 408 | - m_BuildTarget: iOSSupport 409 | m_GraphicsJobs: 0 410 | - m_BuildTarget: WindowsStandaloneSupport 411 | m_GraphicsJobs: 1 412 | - m_BuildTarget: XboxOnePlayer 413 | m_GraphicsJobs: 1 414 | - m_BuildTarget: LuminSupport 415 | m_GraphicsJobs: 0 416 | - m_BuildTarget: AndroidPlayer 417 | m_GraphicsJobs: 0 418 | - m_BuildTarget: WebGLSupport 419 | m_GraphicsJobs: 0 420 | m_BuildTargetGraphicsJobMode: 421 | - m_BuildTarget: PS4Player 422 | m_GraphicsJobMode: 0 423 | - m_BuildTarget: XboxOnePlayer 424 | m_GraphicsJobMode: 0 425 | m_BuildTargetGraphicsAPIs: 426 | - m_BuildTarget: AndroidPlayer 427 | m_APIs: 150000000b000000 428 | m_Automatic: 1 429 | - m_BuildTarget: iOSSupport 430 | m_APIs: 10000000 431 | m_Automatic: 1 432 | - m_BuildTarget: AppleTVSupport 433 | m_APIs: 10000000 434 | m_Automatic: 1 435 | - m_BuildTarget: WebGLSupport 436 | m_APIs: 0b000000 437 | m_Automatic: 1 438 | m_BuildTargetVRSettings: 439 | - m_BuildTarget: Standalone 440 | m_Enabled: 0 441 | m_Devices: 442 | - Oculus 443 | - OpenVR 444 | m_DefaultShaderChunkSizeInMB: 16 445 | m_DefaultShaderChunkCount: 0 446 | openGLRequireES31: 0 447 | openGLRequireES31AEP: 0 448 | openGLRequireES32: 0 449 | m_TemplateCustomTags: {} 450 | mobileMTRendering: 451 | Android: 1 452 | iPhone: 1 453 | tvOS: 1 454 | m_BuildTargetGroupLightmapEncodingQuality: 455 | - m_BuildTarget: Android 456 | m_EncodingQuality: 1 457 | - m_BuildTarget: iPhone 458 | m_EncodingQuality: 1 459 | - m_BuildTarget: tvOS 460 | m_EncodingQuality: 1 461 | m_BuildTargetGroupLightmapSettings: [] 462 | m_BuildTargetNormalMapEncoding: 463 | - m_BuildTarget: Android 464 | m_Encoding: 1 465 | - m_BuildTarget: iPhone 466 | m_Encoding: 1 467 | - m_BuildTarget: tvOS 468 | m_Encoding: 1 469 | m_BuildTargetDefaultTextureCompressionFormat: 470 | - m_BuildTarget: Android 471 | m_Format: 3 472 | playModeTestRunnerEnabled: 0 473 | runPlayModeTestAsEditModeTest: 0 474 | actionOnDotNetUnhandledException: 1 475 | enableInternalProfiler: 0 476 | logObjCUncaughtExceptions: 1 477 | enableCrashReportAPI: 0 478 | cameraUsageDescription: 479 | locationUsageDescription: 480 | microphoneUsageDescription: 481 | bluetoothUsageDescription: 482 | switchNMETAOverride: 483 | switchNetLibKey: 484 | switchSocketMemoryPoolSize: 6144 485 | switchSocketAllocatorPoolSize: 128 486 | switchSocketConcurrencyLimit: 14 487 | switchScreenResolutionBehavior: 2 488 | switchUseCPUProfiler: 0 489 | switchEnableFileSystemTrace: 0 490 | switchLTOSetting: 0 491 | switchApplicationID: 0x01004b9000490000 492 | switchNSODependencies: 493 | switchTitleNames_0: 494 | switchTitleNames_1: 495 | switchTitleNames_2: 496 | switchTitleNames_3: 497 | switchTitleNames_4: 498 | switchTitleNames_5: 499 | switchTitleNames_6: 500 | switchTitleNames_7: 501 | switchTitleNames_8: 502 | switchTitleNames_9: 503 | switchTitleNames_10: 504 | switchTitleNames_11: 505 | switchTitleNames_12: 506 | switchTitleNames_13: 507 | switchTitleNames_14: 508 | switchTitleNames_15: 509 | switchPublisherNames_0: 510 | switchPublisherNames_1: 511 | switchPublisherNames_2: 512 | switchPublisherNames_3: 513 | switchPublisherNames_4: 514 | switchPublisherNames_5: 515 | switchPublisherNames_6: 516 | switchPublisherNames_7: 517 | switchPublisherNames_8: 518 | switchPublisherNames_9: 519 | switchPublisherNames_10: 520 | switchPublisherNames_11: 521 | switchPublisherNames_12: 522 | switchPublisherNames_13: 523 | switchPublisherNames_14: 524 | switchPublisherNames_15: 525 | switchIcons_0: {fileID: 0} 526 | switchIcons_1: {fileID: 0} 527 | switchIcons_2: {fileID: 0} 528 | switchIcons_3: {fileID: 0} 529 | switchIcons_4: {fileID: 0} 530 | switchIcons_5: {fileID: 0} 531 | switchIcons_6: {fileID: 0} 532 | switchIcons_7: {fileID: 0} 533 | switchIcons_8: {fileID: 0} 534 | switchIcons_9: {fileID: 0} 535 | switchIcons_10: {fileID: 0} 536 | switchIcons_11: {fileID: 0} 537 | switchIcons_12: {fileID: 0} 538 | switchIcons_13: {fileID: 0} 539 | switchIcons_14: {fileID: 0} 540 | switchIcons_15: {fileID: 0} 541 | switchSmallIcons_0: {fileID: 0} 542 | switchSmallIcons_1: {fileID: 0} 543 | switchSmallIcons_2: {fileID: 0} 544 | switchSmallIcons_3: {fileID: 0} 545 | switchSmallIcons_4: {fileID: 0} 546 | switchSmallIcons_5: {fileID: 0} 547 | switchSmallIcons_6: {fileID: 0} 548 | switchSmallIcons_7: {fileID: 0} 549 | switchSmallIcons_8: {fileID: 0} 550 | switchSmallIcons_9: {fileID: 0} 551 | switchSmallIcons_10: {fileID: 0} 552 | switchSmallIcons_11: {fileID: 0} 553 | switchSmallIcons_12: {fileID: 0} 554 | switchSmallIcons_13: {fileID: 0} 555 | switchSmallIcons_14: {fileID: 0} 556 | switchSmallIcons_15: {fileID: 0} 557 | switchManualHTML: 558 | switchAccessibleURLs: 559 | switchLegalInformation: 560 | switchMainThreadStackSize: 1048576 561 | switchPresenceGroupId: 562 | switchLogoHandling: 0 563 | switchReleaseVersion: 0 564 | switchDisplayVersion: 1.0.0 565 | switchStartupUserAccount: 0 566 | switchSupportedLanguagesMask: 0 567 | switchLogoType: 0 568 | switchApplicationErrorCodeCategory: 569 | switchUserAccountSaveDataSize: 0 570 | switchUserAccountSaveDataJournalSize: 0 571 | switchApplicationAttribute: 0 572 | switchCardSpecSize: -1 573 | switchCardSpecClock: -1 574 | switchRatingsMask: 0 575 | switchRatingsInt_0: 0 576 | switchRatingsInt_1: 0 577 | switchRatingsInt_2: 0 578 | switchRatingsInt_3: 0 579 | switchRatingsInt_4: 0 580 | switchRatingsInt_5: 0 581 | switchRatingsInt_6: 0 582 | switchRatingsInt_7: 0 583 | switchRatingsInt_8: 0 584 | switchRatingsInt_9: 0 585 | switchRatingsInt_10: 0 586 | switchRatingsInt_11: 0 587 | switchRatingsInt_12: 0 588 | switchLocalCommunicationIds_0: 589 | switchLocalCommunicationIds_1: 590 | switchLocalCommunicationIds_2: 591 | switchLocalCommunicationIds_3: 592 | switchLocalCommunicationIds_4: 593 | switchLocalCommunicationIds_5: 594 | switchLocalCommunicationIds_6: 595 | switchLocalCommunicationIds_7: 596 | switchParentalControl: 0 597 | switchAllowsScreenshot: 1 598 | switchAllowsVideoCapturing: 1 599 | switchAllowsRuntimeAddOnContentInstall: 0 600 | switchDataLossConfirmation: 0 601 | switchUserAccountLockEnabled: 0 602 | switchSystemResourceMemory: 16777216 603 | switchSupportedNpadStyles: 22 604 | switchNativeFsCacheSize: 32 605 | switchIsHoldTypeHorizontal: 0 606 | switchSupportedNpadCount: 8 607 | switchEnableTouchScreen: 1 608 | switchSocketConfigEnabled: 0 609 | switchTcpInitialSendBufferSize: 32 610 | switchTcpInitialReceiveBufferSize: 64 611 | switchTcpAutoSendBufferSizeMax: 256 612 | switchTcpAutoReceiveBufferSizeMax: 256 613 | switchUdpSendBufferSize: 9 614 | switchUdpReceiveBufferSize: 42 615 | switchSocketBufferEfficiency: 4 616 | switchSocketInitializeEnabled: 1 617 | switchNetworkInterfaceManagerInitializeEnabled: 1 618 | switchUseNewStyleFilepaths: 0 619 | switchUseLegacyFmodPriorities: 1 620 | switchUseMicroSleepForYield: 1 621 | switchEnableRamDiskSupport: 0 622 | switchMicroSleepForYieldTime: 25 623 | switchRamDiskSpaceSize: 12 624 | ps4NPAgeRating: 12 625 | ps4NPTitleSecret: 626 | ps4NPTrophyPackPath: 627 | ps4ParentalLevel: 11 628 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 629 | ps4Category: 0 630 | ps4MasterVersion: 01.00 631 | ps4AppVersion: 01.00 632 | ps4AppType: 0 633 | ps4ParamSfxPath: 634 | ps4VideoOutPixelFormat: 0 635 | ps4VideoOutInitialWidth: 1920 636 | ps4VideoOutBaseModeInitialWidth: 1920 637 | ps4VideoOutReprojectionRate: 60 638 | ps4PronunciationXMLPath: 639 | ps4PronunciationSIGPath: 640 | ps4BackgroundImagePath: 641 | ps4StartupImagePath: 642 | ps4StartupImagesFolder: 643 | ps4IconImagesFolder: 644 | ps4SaveDataImagePath: 645 | ps4SdkOverride: 646 | ps4BGMPath: 647 | ps4ShareFilePath: 648 | ps4ShareOverlayImagePath: 649 | ps4PrivacyGuardImagePath: 650 | ps4ExtraSceSysFile: 651 | ps4NPtitleDatPath: 652 | ps4RemotePlayKeyAssignment: -1 653 | ps4RemotePlayKeyMappingDir: 654 | ps4PlayTogetherPlayerCount: 0 655 | ps4EnterButtonAssignment: 1 656 | ps4ApplicationParam1: 0 657 | ps4ApplicationParam2: 0 658 | ps4ApplicationParam3: 0 659 | ps4ApplicationParam4: 0 660 | ps4DownloadDataSize: 0 661 | ps4GarlicHeapSize: 2048 662 | ps4ProGarlicHeapSize: 2560 663 | playerPrefsMaxSize: 32768 664 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 665 | ps4pnSessions: 1 666 | ps4pnPresence: 1 667 | ps4pnFriends: 1 668 | ps4pnGameCustomData: 1 669 | playerPrefsSupport: 0 670 | enableApplicationExit: 0 671 | resetTempFolder: 1 672 | restrictedAudioUsageRights: 0 673 | ps4UseResolutionFallback: 0 674 | ps4ReprojectionSupport: 0 675 | ps4UseAudio3dBackend: 0 676 | ps4UseLowGarlicFragmentationMode: 1 677 | ps4SocialScreenEnabled: 0 678 | ps4ScriptOptimizationLevel: 0 679 | ps4Audio3dVirtualSpeakerCount: 14 680 | ps4attribCpuUsage: 0 681 | ps4PatchPkgPath: 682 | ps4PatchLatestPkgPath: 683 | ps4PatchChangeinfoPath: 684 | ps4PatchDayOne: 0 685 | ps4attribUserManagement: 0 686 | ps4attribMoveSupport: 0 687 | ps4attrib3DSupport: 0 688 | ps4attribShareSupport: 0 689 | ps4attribExclusiveVR: 0 690 | ps4disableAutoHideSplash: 0 691 | ps4videoRecordingFeaturesUsed: 0 692 | ps4contentSearchFeaturesUsed: 0 693 | ps4CompatibilityPS5: 0 694 | ps4AllowPS5Detection: 0 695 | ps4GPU800MHz: 1 696 | ps4attribEyeToEyeDistanceSettingVR: 0 697 | ps4IncludedModules: [] 698 | ps4attribVROutputEnabled: 0 699 | monoEnv: 700 | splashScreenBackgroundSourceLandscape: {fileID: 0} 701 | splashScreenBackgroundSourcePortrait: {fileID: 0} 702 | blurSplashScreenBackground: 1 703 | spritePackerPolicy: 704 | webGLMemorySize: 16 705 | webGLExceptionSupport: 1 706 | webGLNameFilesAsHashes: 0 707 | webGLDataCaching: 1 708 | webGLDebugSymbols: 0 709 | webGLEmscriptenArgs: 710 | webGLModulesDirectory: 711 | webGLTemplate: APPLICATION:Default 712 | webGLAnalyzeBuildSize: 0 713 | webGLUseEmbeddedResources: 0 714 | webGLCompressionFormat: 1 715 | webGLWasmArithmeticExceptions: 0 716 | webGLLinkerTarget: 1 717 | webGLThreadsSupport: 0 718 | webGLDecompressionFallback: 0 719 | webGLPowerPreference: 2 720 | scriptingDefineSymbols: {} 721 | additionalCompilerArguments: {} 722 | platformArchitecture: {} 723 | scriptingBackend: {} 724 | il2cppCompilerConfiguration: {} 725 | managedStrippingLevel: 726 | EmbeddedLinux: 1 727 | GameCoreScarlett: 1 728 | GameCoreXboxOne: 1 729 | Lumin: 1 730 | Nintendo Switch: 1 731 | PS4: 1 732 | PS5: 1 733 | Stadia: 1 734 | Standalone: 3 735 | WebGL: 1 736 | Windows Store Apps: 1 737 | XboxOne: 1 738 | iPhone: 1 739 | tvOS: 1 740 | incrementalIl2cppBuild: {} 741 | suppressCommonWarnings: 1 742 | allowUnsafeCode: 0 743 | useDeterministicCompilation: 1 744 | enableRoslynAnalyzers: 1 745 | additionalIl2CppArgs: 746 | scriptingRuntimeVersion: 1 747 | gcIncremental: 1 748 | assemblyVersionValidation: 1 749 | gcWBarrierValidation: 0 750 | apiCompatibilityLevelPerPlatform: {} 751 | m_RenderingPath: 1 752 | m_MobileRenderingPath: 1 753 | metroPackageName: Template_3D 754 | metroPackageVersion: 755 | metroCertificatePath: 756 | metroCertificatePassword: 757 | metroCertificateSubject: 758 | metroCertificateIssuer: 759 | metroCertificateNotAfter: 0000000000000000 760 | metroApplicationDescription: Template_3D 761 | wsaImages: {} 762 | metroTileShortName: 763 | metroTileShowName: 0 764 | metroMediumTileShowName: 0 765 | metroLargeTileShowName: 0 766 | metroWideTileShowName: 0 767 | metroSupportStreamingInstall: 0 768 | metroLastRequiredScene: 0 769 | metroDefaultTileSize: 1 770 | metroTileForegroundText: 2 771 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 772 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, a: 1} 773 | metroSplashScreenUseBackgroundColor: 0 774 | platformCapabilities: {} 775 | metroTargetDeviceFamilies: {} 776 | metroFTAName: 777 | metroFTAFileTypes: [] 778 | metroProtocolName: 779 | vcxProjDefaultLanguage: 780 | XboxOneProductId: 781 | XboxOneUpdateKey: 782 | XboxOneSandboxId: 783 | XboxOneContentId: 784 | XboxOneTitleId: 785 | XboxOneSCId: 786 | XboxOneGameOsOverridePath: 787 | XboxOnePackagingOverridePath: 788 | XboxOneAppManifestOverridePath: 789 | XboxOneVersion: 1.0.0.0 790 | XboxOnePackageEncryption: 0 791 | XboxOnePackageUpdateGranularity: 2 792 | XboxOneDescription: 793 | XboxOneLanguage: 794 | - enus 795 | XboxOneCapability: [] 796 | XboxOneGameRating: {} 797 | XboxOneIsContentPackage: 0 798 | XboxOneEnhancedXboxCompatibilityMode: 0 799 | XboxOneEnableGPUVariability: 1 800 | XboxOneSockets: {} 801 | XboxOneSplashScreen: {fileID: 0} 802 | XboxOneAllowedProductIds: [] 803 | XboxOnePersistentLocalStorageSize: 0 804 | XboxOneXTitleMemory: 8 805 | XboxOneOverrideIdentityName: 806 | XboxOneOverrideIdentityPublisher: 807 | vrEditorSettings: {} 808 | cloudServicesEnabled: 809 | UNet: 1 810 | luminIcon: 811 | m_Name: 812 | m_ModelFolderPath: 813 | m_PortalFolderPath: 814 | luminCert: 815 | m_CertPath: 816 | m_SignPackage: 1 817 | luminIsChannelApp: 0 818 | luminVersion: 819 | m_VersionCode: 1 820 | m_VersionName: 821 | apiCompatibilityLevel: 6 822 | activeInputHandler: 0 823 | windowsGamepadBackendHint: 0 824 | cloudProjectId: 825 | framebufferDepthMemorylessMode: 0 826 | qualitySettingsNames: [] 827 | projectName: 828 | organizationId: 829 | cloudEnabled: 0 830 | legacyClampBlendShapeWeights: 0 831 | playerDataPath: 832 | forceSRGBBlit: 1 833 | virtualTexturingSupportEnabled: 0 834 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2021.3.35f1 2 | m_EditorVersionWithRevision: 2021.3.35f1 (157b46ce122a) 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 | blendWeights: 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 | excludedTargetPlatforms: [] 44 | - serializedVersion: 2 45 | name: Low 46 | pixelLightCount: 0 47 | shadows: 0 48 | shadowResolution: 0 49 | shadowProjection: 1 50 | shadowCascades: 1 51 | shadowDistance: 20 52 | shadowNearPlaneOffset: 3 53 | shadowCascade2Split: 0.33333334 54 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 55 | shadowmaskMode: 0 56 | blendWeights: 2 57 | textureQuality: 0 58 | anisotropicTextures: 0 59 | antiAliasing: 0 60 | softParticles: 0 61 | softVegetation: 0 62 | realtimeReflectionProbes: 0 63 | billboardsFaceCameraPosition: 0 64 | vSyncCount: 0 65 | lodBias: 0.4 66 | maximumLODLevel: 0 67 | streamingMipmapsActive: 0 68 | streamingMipmapsAddAllCameras: 1 69 | streamingMipmapsMemoryBudget: 512 70 | streamingMipmapsRenderersPerFrame: 512 71 | streamingMipmapsMaxLevelReduction: 2 72 | streamingMipmapsMaxFileIORequests: 1024 73 | particleRaycastBudget: 16 74 | asyncUploadTimeSlice: 2 75 | asyncUploadBufferSize: 16 76 | asyncUploadPersistentBuffer: 1 77 | resolutionScalingFixedDPIFactor: 1 78 | excludedTargetPlatforms: [] 79 | - serializedVersion: 2 80 | name: Medium 81 | pixelLightCount: 1 82 | shadows: 1 83 | shadowResolution: 0 84 | shadowProjection: 1 85 | shadowCascades: 1 86 | shadowDistance: 20 87 | shadowNearPlaneOffset: 3 88 | shadowCascade2Split: 0.33333334 89 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 90 | shadowmaskMode: 0 91 | blendWeights: 2 92 | textureQuality: 0 93 | anisotropicTextures: 1 94 | antiAliasing: 0 95 | softParticles: 0 96 | softVegetation: 0 97 | realtimeReflectionProbes: 0 98 | billboardsFaceCameraPosition: 0 99 | vSyncCount: 1 100 | lodBias: 0.7 101 | maximumLODLevel: 0 102 | streamingMipmapsActive: 0 103 | streamingMipmapsAddAllCameras: 1 104 | streamingMipmapsMemoryBudget: 512 105 | streamingMipmapsRenderersPerFrame: 512 106 | streamingMipmapsMaxLevelReduction: 2 107 | streamingMipmapsMaxFileIORequests: 1024 108 | particleRaycastBudget: 64 109 | asyncUploadTimeSlice: 2 110 | asyncUploadBufferSize: 16 111 | asyncUploadPersistentBuffer: 1 112 | resolutionScalingFixedDPIFactor: 1 113 | excludedTargetPlatforms: [] 114 | - serializedVersion: 2 115 | name: High 116 | pixelLightCount: 2 117 | shadows: 2 118 | shadowResolution: 1 119 | shadowProjection: 1 120 | shadowCascades: 2 121 | shadowDistance: 40 122 | shadowNearPlaneOffset: 3 123 | shadowCascade2Split: 0.33333334 124 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 125 | shadowmaskMode: 1 126 | blendWeights: 2 127 | textureQuality: 0 128 | anisotropicTextures: 1 129 | antiAliasing: 0 130 | softParticles: 0 131 | softVegetation: 1 132 | realtimeReflectionProbes: 1 133 | billboardsFaceCameraPosition: 1 134 | vSyncCount: 1 135 | lodBias: 1 136 | maximumLODLevel: 0 137 | streamingMipmapsActive: 0 138 | streamingMipmapsAddAllCameras: 1 139 | streamingMipmapsMemoryBudget: 512 140 | streamingMipmapsRenderersPerFrame: 512 141 | streamingMipmapsMaxLevelReduction: 2 142 | streamingMipmapsMaxFileIORequests: 1024 143 | particleRaycastBudget: 256 144 | asyncUploadTimeSlice: 2 145 | asyncUploadBufferSize: 16 146 | asyncUploadPersistentBuffer: 1 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Very High 151 | pixelLightCount: 3 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 2 156 | shadowDistance: 70 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 2 164 | antiAliasing: 2 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 1.5 171 | maximumLODLevel: 0 172 | streamingMipmapsActive: 0 173 | streamingMipmapsAddAllCameras: 1 174 | streamingMipmapsMemoryBudget: 512 175 | streamingMipmapsRenderersPerFrame: 512 176 | streamingMipmapsMaxLevelReduction: 2 177 | streamingMipmapsMaxFileIORequests: 1024 178 | particleRaycastBudget: 1024 179 | asyncUploadTimeSlice: 2 180 | asyncUploadBufferSize: 16 181 | asyncUploadPersistentBuffer: 1 182 | resolutionScalingFixedDPIFactor: 1 183 | excludedTargetPlatforms: [] 184 | - serializedVersion: 2 185 | name: Ultra 186 | pixelLightCount: 4 187 | shadows: 2 188 | shadowResolution: 2 189 | shadowProjection: 1 190 | shadowCascades: 4 191 | shadowDistance: 150 192 | shadowNearPlaneOffset: 3 193 | shadowCascade2Split: 0.33333334 194 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 195 | shadowmaskMode: 1 196 | blendWeights: 4 197 | textureQuality: 0 198 | anisotropicTextures: 2 199 | antiAliasing: 2 200 | softParticles: 1 201 | softVegetation: 1 202 | realtimeReflectionProbes: 1 203 | billboardsFaceCameraPosition: 1 204 | vSyncCount: 1 205 | lodBias: 2 206 | maximumLODLevel: 0 207 | streamingMipmapsActive: 0 208 | streamingMipmapsAddAllCameras: 1 209 | streamingMipmapsMemoryBudget: 512 210 | streamingMipmapsRenderersPerFrame: 512 211 | streamingMipmapsMaxLevelReduction: 2 212 | streamingMipmapsMaxFileIORequests: 1024 213 | particleRaycastBudget: 4096 214 | asyncUploadTimeSlice: 2 215 | asyncUploadBufferSize: 16 216 | asyncUploadPersistentBuffer: 1 217 | resolutionScalingFixedDPIFactor: 1 218 | excludedTargetPlatforms: [] 219 | m_PerPlatformDefaultQuality: 220 | Android: 2 221 | Lumin: 5 222 | GameCoreScarlett: 5 223 | GameCoreXboxOne: 5 224 | Nintendo 3DS: 5 225 | Nintendo Switch: 5 226 | PS4: 5 227 | PS5: 5 228 | Stadia: 5 229 | Standalone: 5 230 | WebGL: 3 231 | Windows Store Apps: 5 232 | XboxOne: 5 233 | iPhone: 2 234 | tvOS: 2 235 | -------------------------------------------------------------------------------- /ProjectSettings/SceneTemplateSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "templatePinStates": [], 3 | "dependencyTypeInfos": [ 4 | { 5 | "userAdded": false, 6 | "type": "UnityEngine.AnimationClip", 7 | "defaultInstantiationMode": 0 8 | }, 9 | { 10 | "userAdded": false, 11 | "type": "UnityEditor.Animations.AnimatorController", 12 | "defaultInstantiationMode": 0 13 | }, 14 | { 15 | "userAdded": false, 16 | "type": "UnityEngine.AnimatorOverrideController", 17 | "defaultInstantiationMode": 0 18 | }, 19 | { 20 | "userAdded": false, 21 | "type": "UnityEditor.Audio.AudioMixerController", 22 | "defaultInstantiationMode": 0 23 | }, 24 | { 25 | "userAdded": false, 26 | "type": "UnityEngine.ComputeShader", 27 | "defaultInstantiationMode": 1 28 | }, 29 | { 30 | "userAdded": false, 31 | "type": "UnityEngine.Cubemap", 32 | "defaultInstantiationMode": 0 33 | }, 34 | { 35 | "userAdded": false, 36 | "type": "UnityEngine.GameObject", 37 | "defaultInstantiationMode": 0 38 | }, 39 | { 40 | "userAdded": false, 41 | "type": "UnityEditor.LightingDataAsset", 42 | "defaultInstantiationMode": 0 43 | }, 44 | { 45 | "userAdded": false, 46 | "type": "UnityEngine.LightingSettings", 47 | "defaultInstantiationMode": 0 48 | }, 49 | { 50 | "userAdded": false, 51 | "type": "UnityEngine.Material", 52 | "defaultInstantiationMode": 0 53 | }, 54 | { 55 | "userAdded": false, 56 | "type": "UnityEditor.MonoScript", 57 | "defaultInstantiationMode": 1 58 | }, 59 | { 60 | "userAdded": false, 61 | "type": "UnityEngine.PhysicMaterial", 62 | "defaultInstantiationMode": 0 63 | }, 64 | { 65 | "userAdded": false, 66 | "type": "UnityEngine.PhysicsMaterial2D", 67 | "defaultInstantiationMode": 0 68 | }, 69 | { 70 | "userAdded": false, 71 | "type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile", 72 | "defaultInstantiationMode": 0 73 | }, 74 | { 75 | "userAdded": false, 76 | "type": "UnityEngine.Rendering.PostProcessing.PostProcessResources", 77 | "defaultInstantiationMode": 0 78 | }, 79 | { 80 | "userAdded": false, 81 | "type": "UnityEngine.Rendering.VolumeProfile", 82 | "defaultInstantiationMode": 0 83 | }, 84 | { 85 | "userAdded": false, 86 | "type": "UnityEditor.SceneAsset", 87 | "defaultInstantiationMode": 1 88 | }, 89 | { 90 | "userAdded": false, 91 | "type": "UnityEngine.Shader", 92 | "defaultInstantiationMode": 1 93 | }, 94 | { 95 | "userAdded": false, 96 | "type": "UnityEngine.ShaderVariantCollection", 97 | "defaultInstantiationMode": 1 98 | }, 99 | { 100 | "userAdded": false, 101 | "type": "UnityEngine.Texture", 102 | "defaultInstantiationMode": 0 103 | }, 104 | { 105 | "userAdded": false, 106 | "type": "UnityEngine.Texture2D", 107 | "defaultInstantiationMode": 0 108 | }, 109 | { 110 | "userAdded": false, 111 | "type": "UnityEngine.Timeline.TimelineAsset", 112 | "defaultInstantiationMode": 0 113 | } 114 | ], 115 | "defaultDependencyTypeInfo": { 116 | "userAdded": false, 117 | "type": "", 118 | "defaultInstantiationMode": 1 119 | }, 120 | "newSceneOverride": 0 121 | } -------------------------------------------------------------------------------- /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 | m_PackageRequiringCoreStatsPresent: 0 27 | UnityAdsSettings: 28 | m_Enabled: 0 29 | m_InitializeOnStartup: 1 30 | m_TestMode: 0 31 | m_IosGameId: 32 | m_AndroidGameId: 33 | m_GameIds: {} 34 | m_GameId: 35 | PerformanceReportingSettings: 36 | m_Enabled: 0 37 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /ProjectSettings/boot.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IronWarrior/UnityLogViewer/0980642efc239ecf8aa91d0cbfaf8c9dabd0469e/ProjectSettings/boot.config -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | View `Player.log` files either in a standalone app or a Unity Editor window. Download the standalone Windows app from [Releases](https://github.com/IronWarrior/UnityLogViewer). Note that it supports right-clicking a file and choosing the exe under _Open with_. To use it from within the Unity Editor, copy the `LogViewer` folder into your project, then access the window via `Window > Analysis > Log Viewer`. 2 | 3 | It doesn't always split the log events perfectly, as Unity logs do not follow a universal standard. Tested with logs generated from a 2020.3 project. 4 | 5 | Makes use of [UnityWindowsFileDrag-Drop by Bunny83](https://github.com/Bunny83/UnityWindowsFileDrag-Drop/tree/master) to allow drag and dropping files into the player window. 6 | 7 | ![Screenshot of log viewer window displaying example log messages.](https://i.imgur.com/dzsKztd.png) 8 | --------------------------------------------------------------------------------