├── .gitattributes ├── .gitignore ├── Assets ├── CSharpLatest.meta ├── CSharpLatest │ ├── CSharpLatest.asmdef │ ├── CSharpLatest.asmdef.meta │ ├── CSharpLatest.cs │ └── CSharpLatest.cs.meta ├── Scenes.meta ├── Scenes │ ├── SampleScene.unity │ └── SampleScene.unity.meta ├── mcs.rsp └── mcs.rsp.meta ├── LICENSE ├── Packages └── manifest.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset └── UnityConnectSettings.asset ├── README.md └── msvsbuild ├── AssemblyInfo.cs ├── CSharpLatest.csproj ├── CSharpLatest.sln └── lib ├── UnityEditor.dll ├── UnityEngine.dll └── unity2017-1-3f1 /.gitattributes: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Set default behavior to automatically normalize line endings. 3 | ############################################################################### 4 | * text=auto 5 | 6 | ############################################################################### 7 | # Set default behavior for command prompt diff. 8 | # 9 | # This is need for earlier builds of msysgit that does not have it on by 10 | # default for csharp files. 11 | # Note: This is only used by command line 12 | ############################################################################### 13 | #*.cs diff=csharp 14 | 15 | ############################################################################### 16 | # Set the merge driver for project and solution files 17 | # 18 | # Merging from the command prompt will add diff markers to the files if there 19 | # are conflicts (Merging from VS is not affected by the settings below, in VS 20 | # the diff markers are never inserted). Diff markers may cause the following 21 | # file extensions to fail to load in VS. An alternative would be to treat 22 | # these files as binary and thus will always conflict and require user 23 | # intervention with every merge. To do so, just uncomment the entries below 24 | ############################################################################### 25 | #*.sln merge=binary 26 | #*.csproj merge=binary 27 | #*.vbproj merge=binary 28 | #*.vcxproj merge=binary 29 | #*.vcproj merge=binary 30 | #*.dbproj merge=binary 31 | #*.fsproj merge=binary 32 | #*.lsproj merge=binary 33 | #*.wixproj merge=binary 34 | #*.modelproj merge=binary 35 | #*.sqlproj merge=binary 36 | #*.wwaproj merge=binary 37 | 38 | ############################################################################### 39 | # behavior for image files 40 | # 41 | # image files are treated as binary by default. 42 | ############################################################################### 43 | #*.jpg binary 44 | #*.png binary 45 | #*.gif binary 46 | 47 | ############################################################################### 48 | # diff behavior for common document formats 49 | # 50 | # Convert binary document formats to text before diffing them. This feature 51 | # is only available from the command line. Turn it on by uncommenting the 52 | # entries below. 53 | ############################################################################### 54 | #*.doc diff=astextplain 55 | #*.DOC diff=astextplain 56 | #*.docx diff=astextplain 57 | #*.DOCX diff=astextplain 58 | #*.dot diff=astextplain 59 | #*.DOT diff=astextplain 60 | #*.pdf diff=astextplain 61 | #*.PDF diff=astextplain 62 | #*.rtf diff=astextplain 63 | #*.RTF diff=astextplain 64 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # VS Code 2 | .vscode 3 | 4 | # Rider 5 | *.DotSettings 6 | .idea/ 7 | 8 | build/ 9 | Assets/~*/ 10 | Assets/Plugins/ 11 | Assets/Plugins.meta 12 | 13 | bin/ 14 | [Ll]ibrary/ 15 | [Tt]emp/ 16 | [Oo]bj/ 17 | [Bb]uild/ 18 | [Bb]uilds/ 19 | Assets/AssetStoreTools* 20 | 21 | # Visual Studio cache directory 22 | .vs/ 23 | 24 | # Autogenerated VS/MD/Consulo solution and project files 25 | ExportedObj/ 26 | .consulo/ 27 | *.csproj 28 | *.unityproj 29 | *.sln 30 | *.suo 31 | *.tmp 32 | *.user 33 | *.userprefs 34 | *.pidb 35 | *.booproj 36 | *.svd 37 | *.pdb 38 | *.opendb 39 | 40 | # Unity3D generated meta files 41 | *.pidb.meta 42 | *.pdb.meta 43 | 44 | # Unity3D Generated File On Crash Reports 45 | sysinfo.txt 46 | 47 | # Builds 48 | *.apk 49 | *.unitypackage 50 | -------------------------------------------------------------------------------- /Assets/CSharpLatest.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8eabf30ee0efd794da4cc572dd2a340b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/CSharpLatest/CSharpLatest.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CSharpLatest", 3 | "references": [], 4 | "includePlatforms": [ 5 | "Editor" 6 | ], 7 | "excludePlatforms": [] 8 | } -------------------------------------------------------------------------------- /Assets/CSharpLatest/CSharpLatest.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3b6b461d8ae902c419870f8f4a74c1f5 3 | timeCreated: 1526413713 4 | licenseType: Free 5 | AssemblyDefinitionImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/CSharpLatest/CSharpLatest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEditor; 3 | using UnityEngine; 4 | using System.Reflection; 5 | using System.IO; 6 | using System.Xml.Linq; 7 | using System.Linq; 8 | using System.Text; 9 | using UnityEngine.Assertions; 10 | using JObject = System.Collections.Generic.Dictionary; 11 | using JArray = System.Collections.Generic.List; 12 | 13 | namespace CSharpLatest 14 | { 15 | public static class Bootstrap 16 | { 17 | [InitializeOnLoadMethod] 18 | static void Main() 19 | { 20 | if (s_unityCurrent < s_unityMinimal) 21 | { 22 | Debug.LogError( 23 | $"Unsupported Unity version: {s_unityCurrent.Major}.{s_unityCurrent.Minor} ({s_unityMinimal}" + 24 | "needed)."); 25 | return; 26 | } 27 | 28 | Assembly[] loadedAssemblies = (Assembly[])s_loadedAssembliesGetter?.Invoke(null, s_zero); 29 | if (loadedAssemblies == null) 30 | { 31 | Debug.LogError("Error getting 'UnityEditor.EditorAssemblies.loadedAssemblies' by reflection"); 32 | return; 33 | } 34 | 35 | if (loadedAssemblies.ShiftToLast(a => Equals(a, typeof(CsProjectPostprocessor).Assembly))) 36 | { 37 | CsProjectPostprocessor.OnGeneratedCSProjectFiles(); 38 | } 39 | 40 | if (s_unityCurrent >= s_unityModern && 41 | EditorApplication.scriptingRuntimeVersion > ScriptingRuntimeVersion.Legacy) 42 | { 43 | UPMManifestProcessor.AddIncrementalCompilerPackage(); 44 | } 45 | } 46 | 47 | public static bool ShiftToLast(this T[] list, Predicate predicate) 48 | { 49 | int lastIdx = list.Length - 1; 50 | int idx = Array.FindIndex(list, predicate); 51 | if (lastIdx < 0 || idx < 0 || idx == lastIdx) return false; 52 | T temp = list[idx]; 53 | Array.Copy(list, idx + 1, list, idx, lastIdx - idx); 54 | list[lastIdx] = temp; 55 | return true; 56 | } 57 | 58 | internal static readonly Version s_unityCurrent = UnityEditorInternal.InternalEditorUtility.GetUnityVersion(); 59 | internal static readonly Version s_unityMinimal = new Version(2017, 1); 60 | internal static readonly Version s_unityModern = new Version(2018, 1); 61 | private static readonly object[] s_zero = new object[0]; 62 | private static readonly MethodInfo s_loadedAssembliesGetter = typeof(EditorWindow) 63 | .Assembly.GetType("UnityEditor.EditorAssemblies") 64 | ?.GetProperty("loadedAssemblies", BindingFlags.Static | BindingFlags.NonPublic) 65 | ?.GetGetMethod(true); 66 | } 67 | 68 | internal class CsProjectPostprocessor : AssetPostprocessor 69 | { 70 | public static void OnGeneratedCSProjectFiles() 71 | { 72 | if (Bootstrap.s_unityCurrent < Bootstrap.s_unityMinimal) return; 73 | 74 | // NOTE: Rider 2018.1 thinks that IF .Net 2.0 THEN "latest" == 4 75 | // NOTE: 'old' mcs supports only C# 6 (and not 'latest'), IDEs don't support mcs's 'experimental'. 76 | var csver = "6"; 77 | if (Bootstrap.s_unityCurrent >= Bootstrap.s_unityModern) 78 | { 79 | csver = EditorApplication.scriptingRuntimeVersion == ScriptingRuntimeVersion.Legacy 80 | ? "7.2" 81 | : "latest"; 82 | } 83 | UpdateRsp(csver); 84 | foreach (string csproj in Directory.GetFiles(Directory.GetCurrentDirectory(), "*.csproj")) 85 | { 86 | UpdateProjectFile(csproj, csver); 87 | } 88 | } 89 | private static void UpdateRsp(string csver) 90 | { 91 | try 92 | { 93 | const string LANGVERSION = "-langversion:"; 94 | string rsp = Path.Combine("Assets", "mcs.rsp"); 95 | string temp = Path.ChangeExtension(Path.GetTempFileName(), ".rsp"); 96 | 97 | if (File.Exists(rsp)) 98 | { 99 | string[] lines = File.ReadAllLines(rsp); 100 | int i = 0, idx = -1; 101 | for (; i < lines.Length; i++) 102 | { 103 | string line = lines[i]; 104 | idx = line.IndexOf(LANGVERSION, StringComparison.Ordinal); 105 | if (idx >= 0) break; 106 | } 107 | if (idx >= 0) 108 | { 109 | string ver = lines[i].Substring(idx + LANGVERSION.Length); 110 | if (ver == csver) return; 111 | lines[i] = LANGVERSION + csver; 112 | File.WriteAllLines(temp, lines); 113 | } 114 | else 115 | { 116 | File.WriteAllLines(temp, new[] {LANGVERSION + csver}); 117 | File.WriteAllLines(temp, lines); 118 | } 119 | File.Copy(temp, rsp, true); 120 | } 121 | else 122 | { 123 | File.WriteAllLines(rsp, new[] {LANGVERSION + csver}); 124 | } 125 | } 126 | catch (Exception e) 127 | { 128 | Debug.LogError(e); 129 | } 130 | } 131 | 132 | private static void UpdateProjectFile(string csproj, string csver) 133 | { 134 | try 135 | { 136 | XDocument xdoc = XDocument.Load(csproj); 137 | if (ChangeOrSetProperty(xdoc.Root, xdoc.Root?.Name.NamespaceName, "LangVersion", csver)) 138 | { 139 | xdoc.Save(csproj); 140 | } 141 | } 142 | catch (Exception e) 143 | { 144 | Debug.LogError(e); 145 | } 146 | } 147 | 148 | private static bool ChangeOrSetProperty(XContainer root, XNamespace ns, string name, string val) 149 | { 150 | XElement node = root.Elements(ns + "PropertyGroup").Elements(ns + name).FirstOrDefault() 151 | ?? new XElement(ns + name, "?"); 152 | if (node.Value == val) return false; 153 | node.Value = val; 154 | if (node.Parent == null) 155 | { 156 | var propertyGroup = new XElement(ns + "PropertyGroup"); 157 | root.AddFirst(propertyGroup); 158 | propertyGroup.Add(node); 159 | } 160 | return true; 161 | } 162 | } 163 | 164 | public static class UPMManifestProcessor 165 | { 166 | public const string DEPENDENCIES = "dependencies"; 167 | public const string REGISTRY = "registry"; 168 | public const string TESTABLES = "testables"; 169 | public const string INCREMENTALCOMPILER = "com.unity.incrementalcompiler"; 170 | 171 | private static MethodInfo s_JsonDeserializeInfo = typeof(EditorWindow) 172 | .Assembly 173 | .GetType("UnityEditor.Json") 174 | ?.GetMethod("Deserialize"); 175 | public static Func JsonDeserialize = s_JsonDeserializeInfo != null 176 | ? (Func)Delegate.CreateDelegate(typeof(Func), s_JsonDeserializeInfo) 177 | : _ => throw new MissingMethodException("UnityEditor.Json", "Deserialize"); 178 | 179 | public static void SerializeUPMManifest(JObject manifest, ref StringBuilder sb) 180 | { 181 | const char DQ = '"'; 182 | const char LF = '\n'; 183 | const string INDENT = " "; 184 | 185 | sb.Append("{"); 186 | // dependencies 187 | sb.Append(LF).Append(INDENT).Append(DQ).Append(DEPENDENCIES).Append(DQ).Append(": {"); 188 | manifest.TryGetValue(DEPENDENCIES, out object deps); 189 | if (deps is JObject dependencies && dependencies.Count > 0) 190 | { 191 | foreach (var d in dependencies) 192 | { 193 | sb.Append(LF).Append(INDENT).Append(INDENT).Append(DQ).Append(d.Key).Append(DQ).Append(": "); 194 | sb.Append(DQ).Append(d.Value).Append(DQ).Append(','); 195 | } 196 | sb.Length -= 1; // rm trailing comma 197 | sb.Append(LF).Append(INDENT); 198 | } 199 | sb.Append("}"); 200 | // registry 201 | manifest.TryGetValue(REGISTRY, out object reg); 202 | if (reg is string registry && !string.IsNullOrEmpty(registry)) 203 | { 204 | sb.Append(','); 205 | sb.Append(LF).Append(INDENT).Append(DQ).Append(REGISTRY).Append(DQ).Append(": "); 206 | sb.Append(DQ).Append(registry).Append(DQ); 207 | } 208 | // testables 209 | manifest.TryGetValue(TESTABLES, out object tests); 210 | if (tests is JArray testables && testables.Count > 0) 211 | { 212 | sb.Append(','); 213 | sb.Append(LF).Append(INDENT).Append(DQ).Append(TESTABLES).Append(DQ).Append(": ["); 214 | foreach (string testable in testables) 215 | { 216 | sb.Append(LF).Append(INDENT).Append(INDENT).Append(DQ).Append(testable).Append(DQ).Append(','); 217 | } 218 | sb.Length -= 1; // rm trailing comma 219 | sb.Append(LF).Append(INDENT).Append(']'); 220 | } 221 | sb.Append(LF).Append('}'); 222 | } 223 | 224 | internal static void AddIncrementalCompilerPackage() 225 | { 226 | try 227 | { 228 | string manPath = Path.Combine("Packages", "manifest.json"); 229 | string manifestJson = File.ReadAllText(manPath); 230 | JObject manifest = JsonDeserialize(manifestJson) as JObject; 231 | Assert.IsNotNull(manifest); 232 | manifest.TryGetValue(DEPENDENCIES, out object obj); 233 | JObject dependencies = obj as JObject ?? new JObject(); 234 | if (dependencies.ContainsKey(INCREMENTALCOMPILER)) 235 | { 236 | return; 237 | } 238 | dependencies[INCREMENTALCOMPILER] = "0.0.41"; 239 | manifest[DEPENDENCIES] = dependencies; 240 | manifest[REGISTRY] = "https://staging-packages.unity.com"; 241 | var sb = new StringBuilder(1024); 242 | SerializeUPMManifest(manifest, ref sb); 243 | File.WriteAllText(manPath, sb.ToString()); 244 | } 245 | catch (Exception e) 246 | { 247 | Debug.LogError($"AddIncrementalCompilerPackage: {e}"); 248 | } 249 | } 250 | } 251 | } 252 | -------------------------------------------------------------------------------- /Assets/CSharpLatest/CSharpLatest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2096960199d55fa418e5367b00d7dfd9 3 | timeCreated: 1526413682 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f704ae4b4f98ae41a0bce26658850c1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 1526980366} 41 | m_IndirectSpecularColor: {r: 0.18028378, g: 0.22571412, b: 0.30692285, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 0 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_TemporalCoherenceThreshold: 1 54 | m_EnvironmentLightingMode: 0 55 | m_EnableBakedLightmaps: 1 56 | m_EnableRealtimeLightmaps: 0 57 | m_LightmapEditorSettings: 58 | serializedVersion: 10 59 | m_Resolution: 2 60 | m_BakeResolution: 10 61 | m_AtlasSize: 512 62 | m_AO: 0 63 | m_AOMaxDistance: 1 64 | m_CompAOExponent: 1 65 | m_CompAOExponentDirect: 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: 256 79 | m_PVRBounces: 2 80 | m_PVRFilterTypeDirect: 0 81 | m_PVRFilterTypeIndirect: 0 82 | m_PVRFilterTypeAO: 0 83 | m_PVRFilteringMode: 1 84 | m_PVRCulling: 1 85 | m_PVRFilteringGaussRadiusDirect: 1 86 | m_PVRFilteringGaussRadiusIndirect: 5 87 | m_PVRFilteringGaussRadiusAO: 2 88 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 89 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 90 | m_PVRFilteringAtrousPositionSigmaAO: 1 91 | m_ShowResolutionOverlay: 1 92 | m_LightingDataAsset: {fileID: 0} 93 | m_UseShadowmask: 1 94 | --- !u!196 &4 95 | NavMeshSettings: 96 | serializedVersion: 2 97 | m_ObjectHideFlags: 0 98 | m_BuildSettings: 99 | serializedVersion: 2 100 | agentTypeID: 0 101 | agentRadius: 0.5 102 | agentHeight: 2 103 | agentSlope: 45 104 | agentClimb: 0.4 105 | ledgeDropHeight: 0 106 | maxJumpAcrossDistance: 0 107 | minRegionArea: 2 108 | manualCellSize: 0 109 | cellSize: 0.16666667 110 | manualTileSize: 0 111 | tileSize: 256 112 | accuratePlacement: 0 113 | debug: 114 | m_Flags: 0 115 | m_NavMeshData: {fileID: 0} 116 | --- !u!1 &282840810 117 | GameObject: 118 | m_ObjectHideFlags: 0 119 | m_PrefabParentObject: {fileID: 0} 120 | m_PrefabInternal: {fileID: 0} 121 | serializedVersion: 5 122 | m_Component: 123 | - component: {fileID: 282840814} 124 | - component: {fileID: 282840813} 125 | - component: {fileID: 282840811} 126 | m_Layer: 0 127 | m_Name: Main Camera 128 | m_TagString: MainCamera 129 | m_Icon: {fileID: 0} 130 | m_NavMeshLayer: 0 131 | m_StaticEditorFlags: 0 132 | m_IsActive: 1 133 | --- !u!81 &282840811 134 | AudioListener: 135 | m_ObjectHideFlags: 0 136 | m_PrefabParentObject: {fileID: 0} 137 | m_PrefabInternal: {fileID: 0} 138 | m_GameObject: {fileID: 282840810} 139 | m_Enabled: 1 140 | --- !u!20 &282840813 141 | Camera: 142 | m_ObjectHideFlags: 0 143 | m_PrefabParentObject: {fileID: 0} 144 | m_PrefabInternal: {fileID: 0} 145 | m_GameObject: {fileID: 282840810} 146 | m_Enabled: 1 147 | serializedVersion: 2 148 | m_ClearFlags: 1 149 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 150 | m_NormalizedViewPortRect: 151 | serializedVersion: 2 152 | x: 0 153 | y: 0 154 | width: 1 155 | height: 1 156 | near clip plane: 0.3 157 | far clip plane: 1000 158 | field of view: 60 159 | orthographic: 0 160 | orthographic size: 5 161 | m_Depth: -1 162 | m_CullingMask: 163 | serializedVersion: 2 164 | m_Bits: 4294967295 165 | m_RenderingPath: -1 166 | m_TargetTexture: {fileID: 0} 167 | m_TargetDisplay: 0 168 | m_TargetEye: 3 169 | m_HDR: 1 170 | m_AllowMSAA: 0 171 | m_AllowDynamicResolution: 0 172 | m_ForceIntoRT: 1 173 | m_OcclusionCulling: 1 174 | m_StereoConvergence: 10 175 | m_StereoSeparation: 0.022 176 | --- !u!4 &282840814 177 | Transform: 178 | m_ObjectHideFlags: 0 179 | m_PrefabParentObject: {fileID: 0} 180 | m_PrefabInternal: {fileID: 0} 181 | m_GameObject: {fileID: 282840810} 182 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 183 | m_LocalPosition: {x: 0, y: 1, z: -10} 184 | m_LocalScale: {x: 1, y: 1, z: 1} 185 | m_Children: [] 186 | m_Father: {fileID: 0} 187 | m_RootOrder: 0 188 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 189 | --- !u!1 &1526980365 190 | GameObject: 191 | m_ObjectHideFlags: 0 192 | m_PrefabParentObject: {fileID: 0} 193 | m_PrefabInternal: {fileID: 0} 194 | serializedVersion: 5 195 | m_Component: 196 | - component: {fileID: 1526980367} 197 | - component: {fileID: 1526980366} 198 | m_Layer: 0 199 | m_Name: Directional Light 200 | m_TagString: Untagged 201 | m_Icon: {fileID: 0} 202 | m_NavMeshLayer: 0 203 | m_StaticEditorFlags: 0 204 | m_IsActive: 1 205 | --- !u!108 &1526980366 206 | Light: 207 | m_ObjectHideFlags: 0 208 | m_PrefabParentObject: {fileID: 0} 209 | m_PrefabInternal: {fileID: 0} 210 | m_GameObject: {fileID: 1526980365} 211 | m_Enabled: 1 212 | serializedVersion: 8 213 | m_Type: 1 214 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 215 | m_Intensity: 1 216 | m_Range: 10 217 | m_SpotAngle: 30 218 | m_CookieSize: 10 219 | m_Shadows: 220 | m_Type: 2 221 | m_Resolution: 2 222 | m_CustomResolution: -1 223 | m_Strength: 1 224 | m_Bias: 0.005 225 | m_NormalBias: 0.1 226 | m_NearPlane: 5 227 | m_Cookie: {fileID: 0} 228 | m_DrawHalo: 0 229 | m_Flare: {fileID: 0} 230 | m_RenderMode: 0 231 | m_CullingMask: 232 | serializedVersion: 2 233 | m_Bits: 4294967295 234 | m_Lightmapping: 1 235 | m_AreaSize: {x: 1, y: 1} 236 | m_BounceIntensity: 1 237 | m_ColorTemperature: 6570 238 | m_UseColorTemperature: 0 239 | m_ShadowRadius: 0 240 | m_ShadowAngle: 0 241 | --- !u!4 &1526980367 242 | Transform: 243 | m_ObjectHideFlags: 0 244 | m_PrefabParentObject: {fileID: 0} 245 | m_PrefabInternal: {fileID: 0} 246 | m_GameObject: {fileID: 1526980365} 247 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 248 | m_LocalPosition: {x: 0, y: 3, z: 0} 249 | m_LocalScale: {x: 1, y: 1, z: 1} 250 | m_Children: [] 251 | m_Father: {fileID: 0} 252 | m_RootOrder: 1 253 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 254 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99c9720ab356a0642a771bea13969a05 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/mcs.rsp: -------------------------------------------------------------------------------- 1 | -langversion:7.2 2 | -------------------------------------------------------------------------------- /Assets/mcs.rsp.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd0acfeae17ebbd46884fb70d81b160d 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | BSD 2-Clause License 2 | 3 | Copyright (c) 2018, Andrew Zhilin 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | * Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | * Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 20 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 22 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 23 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /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 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 1024 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /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: 7 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: 1 23 | m_ClothInterCollisionSettingsToggle: 0 24 | m_ContactPairsMode: 0 25 | m_BroadphaseType: 0 26 | m_WorldBounds: 27 | m_Center: {x: 0, y: 0, z: 0} 28 | m_Extent: {x: 250, y: 250, z: 250} 29 | m_WorldSubdivisions: 8 30 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/Scenes/SampleScene.unity 10 | guid: 99c9720ab356a0642a771bea13969a05 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: 7 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_SpritePackerMode: 0 12 | m_SpritePackerPaddingPower: 1 13 | m_EtcTextureCompressorBehavior: 1 14 | m_EtcTextureFastCompressor: 1 15 | m_EtcTextureNormalCompressor: 2 16 | m_EtcTextureBestCompressor: 4 17 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 18 | m_ProjectGenerationRootNamespace: 19 | m_UserGeneratedProjectSuffix: 20 | m_CollabEditorSettings: 21 | inProgressEnabled: 1 22 | -------------------------------------------------------------------------------- /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: 12 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 | -------------------------------------------------------------------------------- /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/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/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /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: 3 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_AutoSimulation: 1 23 | m_QueriesHitTriggers: 1 24 | m_QueriesStartInColliders: 1 25 | m_ChangeStopsCallbacks: 0 26 | m_CallbacksOnDisable: 1 27 | m_AutoSyncTransforms: 1 28 | m_AlwaysShowColliders: 0 29 | m_ShowColliderSleep: 1 30 | m_ShowColliderContacts: 0 31 | m_ShowColliderAABB: 0 32 | m_ContactArrowScale: 0.2 33 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 34 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 35 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 36 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 37 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 38 | -------------------------------------------------------------------------------- /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 | m_DefaultList: 7 | - type: 8 | m_NativeTypeID: 108 9 | m_ManagedTypePPtr: {fileID: 0} 10 | m_ManagedTypeFallback: 11 | defaultPresets: 12 | - m_Preset: {fileID: 2655988077585873504, guid: c1cf8506f04ef2c4a88b64b6c4202eea, 13 | type: 2} 14 | - type: 15 | m_NativeTypeID: 1020 16 | m_ManagedTypePPtr: {fileID: 0} 17 | m_ManagedTypeFallback: 18 | defaultPresets: 19 | - m_Preset: {fileID: 2655988077585873504, guid: 0cd792cc87e492d43b4e95b205fc5cc6, 20 | type: 2} 21 | - type: 22 | m_NativeTypeID: 1006 23 | m_ManagedTypePPtr: {fileID: 0} 24 | m_ManagedTypeFallback: 25 | defaultPresets: 26 | - m_Preset: {fileID: 2655988077585873504, guid: 7a99f8aa944efe94cb9bd74562b7d5f9, 27 | type: 2} 28 | -------------------------------------------------------------------------------- /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: 15 7 | productGUID: 37e37b9a959e11844871b02319585587 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: C-Sharp-Latest-for-Unity 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: 0 51 | m_MTRendering: 1 52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 53 | iosShowActivityIndicatorOnLoading: -1 54 | androidShowActivityIndicatorOnLoading: -1 55 | iosAppInBackgroundBehavior: 0 56 | displayResolutionDialog: 1 57 | iosAllowHTTPDownload: 1 58 | allowedAutorotateToPortrait: 1 59 | allowedAutorotateToPortraitUpsideDown: 1 60 | allowedAutorotateToLandscapeRight: 1 61 | allowedAutorotateToLandscapeLeft: 1 62 | useOSAutorotation: 1 63 | use32BitDisplayBuffer: 1 64 | preserveFramebufferAlpha: 0 65 | disableDepthAndStencilBuffers: 0 66 | androidBlitType: 0 67 | defaultIsNativeResolution: 1 68 | macRetinaSupport: 1 69 | runInBackground: 1 70 | captureSingleScreen: 0 71 | muteOtherAudioSources: 0 72 | Prepare IOS For Recording: 0 73 | Force IOS Speakers When Recording: 0 74 | deferSystemGesturesMode: 0 75 | hideHomeButton: 0 76 | submitAnalytics: 1 77 | usePlayerLog: 1 78 | bakeCollisionMeshes: 0 79 | forceSingleInstance: 0 80 | resizableWindow: 0 81 | useMacAppStoreValidation: 0 82 | macAppStoreCategory: public.app-category.games 83 | gpuSkinning: 1 84 | graphicsJobs: 0 85 | xboxPIXTextureCapture: 0 86 | xboxEnableAvatar: 0 87 | xboxEnableKinect: 0 88 | xboxEnableKinectAutoTracking: 0 89 | xboxEnableFitness: 0 90 | visibleInBackground: 1 91 | allowFullscreenSwitch: 1 92 | graphicsJobMode: 0 93 | fullscreenMode: 1 94 | xboxSpeechDB: 0 95 | xboxEnableHeadOrientation: 0 96 | xboxEnableGuest: 0 97 | xboxEnablePIXSampling: 0 98 | metalFramebufferOnly: 0 99 | n3dsDisableStereoscopicView: 0 100 | n3dsEnableSharedListOpt: 1 101 | n3dsEnableVSync: 0 102 | xboxOneResolution: 0 103 | xboxOneSResolution: 0 104 | xboxOneXResolution: 3 105 | xboxOneMonoLoggingLevel: 0 106 | xboxOneLoggingLevel: 1 107 | xboxOneDisableEsram: 0 108 | xboxOnePresentImmediateThreshold: 0 109 | switchQueueCommandMemory: 0 110 | videoMemoryForVertexBuffers: 0 111 | psp2PowerMode: 0 112 | psp2AcquireBGM: 1 113 | vulkanEnableSetSRGBWrite: 0 114 | vulkanUseSWCommandBuffers: 0 115 | m_SupportedAspectRatios: 116 | 4:3: 1 117 | 5:4: 1 118 | 16:10: 1 119 | 16:9: 1 120 | Others: 1 121 | bundleVersion: 0.1 122 | preloadedAssets: [] 123 | metroInputSource: 0 124 | wsaTransparentSwapchain: 0 125 | m_HolographicPauseOnTrackingLoss: 1 126 | xboxOneDisableKinectGpuReservation: 0 127 | xboxOneEnable7thCore: 0 128 | vrSettings: 129 | cardboard: 130 | depthFormat: 0 131 | enableTransitionView: 0 132 | daydream: 133 | depthFormat: 0 134 | useSustainedPerformanceMode: 0 135 | enableVideoLayer: 0 136 | useProtectedVideoMemory: 0 137 | minimumSupportedHeadTracking: 0 138 | maximumSupportedHeadTracking: 1 139 | hololens: 140 | depthFormat: 1 141 | depthBufferSharingEnabled: 0 142 | oculus: 143 | sharedDepthBuffer: 0 144 | dashSupport: 0 145 | enable360StereoCapture: 0 146 | protectGraphicsMemory: 0 147 | useHDRDisplay: 0 148 | m_ColorGamuts: 00000000 149 | targetPixelDensity: 30 150 | resolutionScalingMode: 0 151 | androidSupportedAspectRatio: 1 152 | androidMaxAspectRatio: 2.1 153 | applicationIdentifier: {} 154 | buildNumber: {} 155 | AndroidBundleVersionCode: 1 156 | AndroidMinSdkVersion: 16 157 | AndroidTargetSdkVersion: 0 158 | AndroidPreferredInstallLocation: 1 159 | aotOptions: 160 | stripEngineCode: 1 161 | iPhoneStrippingLevel: 0 162 | iPhoneScriptCallOptimization: 0 163 | ForceInternetPermission: 0 164 | ForceSDCardPermission: 0 165 | CreateWallpaper: 0 166 | APKExpansionFiles: 0 167 | keepLoadedShadersAlive: 0 168 | StripUnusedMeshComponents: 1 169 | VertexChannelCompressionMask: 4054 170 | iPhoneSdkVersion: 988 171 | iOSTargetOSVersionString: 8.0 172 | tvOSSdkVersion: 0 173 | tvOSRequireExtendedGameController: 0 174 | tvOSTargetOSVersionString: 9.0 175 | uIPrerenderedIcon: 0 176 | uIRequiresPersistentWiFi: 0 177 | uIRequiresFullScreen: 1 178 | uIStatusBarHidden: 1 179 | uIExitOnSuspend: 0 180 | uIStatusBarStyle: 0 181 | iPhoneSplashScreen: {fileID: 0} 182 | iPhoneHighResSplashScreen: {fileID: 0} 183 | iPhoneTallHighResSplashScreen: {fileID: 0} 184 | iPhone47inSplashScreen: {fileID: 0} 185 | iPhone55inPortraitSplashScreen: {fileID: 0} 186 | iPhone55inLandscapeSplashScreen: {fileID: 0} 187 | iPhone58inPortraitSplashScreen: {fileID: 0} 188 | iPhone58inLandscapeSplashScreen: {fileID: 0} 189 | iPadPortraitSplashScreen: {fileID: 0} 190 | iPadHighResPortraitSplashScreen: {fileID: 0} 191 | iPadLandscapeSplashScreen: {fileID: 0} 192 | iPadHighResLandscapeSplashScreen: {fileID: 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 | iOSUseLaunchScreenStoryboard: 0 221 | iOSLaunchScreenCustomStoryboardPath: 222 | iOSDeviceRequirements: [] 223 | iOSURLSchemes: [] 224 | iOSBackgroundModes: 0 225 | iOSMetalForceHardShadows: 0 226 | metalEditorSupport: 1 227 | metalAPIValidation: 1 228 | iOSRenderExtraFrameOnPause: 0 229 | appleDeveloperTeamID: 230 | iOSManualSigningProvisioningProfileID: 231 | tvOSManualSigningProvisioningProfileID: 232 | iOSManualSigningProvisioningProfileType: 0 233 | tvOSManualSigningProvisioningProfileType: 0 234 | appleEnableAutomaticSigning: 0 235 | iOSRequireARKit: 0 236 | appleEnableProMotion: 0 237 | vulkanEditorSupport: 0 238 | clonedFromGUID: 56e7a2d3a00f33d44bdd161b773c35b5 239 | templatePackageId: com.unity.3d@1.0.0 240 | templateDefaultScene: Assets/Scenes/SampleScene.unity 241 | AndroidTargetArchitectures: 5 242 | AndroidSplashScreenScale: 0 243 | androidSplashScreen: {fileID: 0} 244 | AndroidKeystoreName: 245 | AndroidKeyaliasName: 246 | AndroidBuildApkPerCpuArchitecture: 0 247 | AndroidTVCompatibility: 1 248 | AndroidIsGame: 1 249 | AndroidEnableTango: 0 250 | androidEnableBanner: 1 251 | androidUseLowAccuracyLocation: 0 252 | m_AndroidBanners: 253 | - width: 320 254 | height: 180 255 | banner: {fileID: 0} 256 | androidGamepadSupportLevel: 0 257 | resolutionDialogBanner: {fileID: 0} 258 | m_BuildTargetIcons: [] 259 | m_BuildTargetPlatformIcons: [] 260 | m_BuildTargetBatching: 261 | - m_BuildTarget: Standalone 262 | m_StaticBatching: 1 263 | m_DynamicBatching: 0 264 | m_BuildTargetGraphicsAPIs: [] 265 | m_BuildTargetVRSettings: 266 | - m_BuildTarget: Standalone 267 | m_Enabled: 0 268 | m_Devices: 269 | - Oculus 270 | - OpenVR 271 | m_BuildTargetEnableVuforiaSettings: [] 272 | openGLRequireES31: 0 273 | openGLRequireES31AEP: 0 274 | m_TemplateCustomTags: {} 275 | mobileMTRendering: 276 | Android: 1 277 | iPhone: 1 278 | tvOS: 1 279 | m_BuildTargetGroupLightmapEncodingQuality: [] 280 | m_BuildTargetGroupLightmapSettings: [] 281 | playModeTestRunnerEnabled: 0 282 | runPlayModeTestAsEditModeTest: 0 283 | actionOnDotNetUnhandledException: 1 284 | enableInternalProfiler: 0 285 | logObjCUncaughtExceptions: 1 286 | enableCrashReportAPI: 0 287 | cameraUsageDescription: 288 | locationUsageDescription: 289 | microphoneUsageDescription: 290 | switchNetLibKey: 291 | switchSocketMemoryPoolSize: 6144 292 | switchSocketAllocatorPoolSize: 128 293 | switchSocketConcurrencyLimit: 14 294 | switchScreenResolutionBehavior: 2 295 | switchUseCPUProfiler: 0 296 | switchApplicationID: 0x01004b9000490000 297 | switchNSODependencies: 298 | switchTitleNames_0: 299 | switchTitleNames_1: 300 | switchTitleNames_2: 301 | switchTitleNames_3: 302 | switchTitleNames_4: 303 | switchTitleNames_5: 304 | switchTitleNames_6: 305 | switchTitleNames_7: 306 | switchTitleNames_8: 307 | switchTitleNames_9: 308 | switchTitleNames_10: 309 | switchTitleNames_11: 310 | switchTitleNames_12: 311 | switchTitleNames_13: 312 | switchTitleNames_14: 313 | switchPublisherNames_0: 314 | switchPublisherNames_1: 315 | switchPublisherNames_2: 316 | switchPublisherNames_3: 317 | switchPublisherNames_4: 318 | switchPublisherNames_5: 319 | switchPublisherNames_6: 320 | switchPublisherNames_7: 321 | switchPublisherNames_8: 322 | switchPublisherNames_9: 323 | switchPublisherNames_10: 324 | switchPublisherNames_11: 325 | switchPublisherNames_12: 326 | switchPublisherNames_13: 327 | switchPublisherNames_14: 328 | switchIcons_0: {fileID: 0} 329 | switchIcons_1: {fileID: 0} 330 | switchIcons_2: {fileID: 0} 331 | switchIcons_3: {fileID: 0} 332 | switchIcons_4: {fileID: 0} 333 | switchIcons_5: {fileID: 0} 334 | switchIcons_6: {fileID: 0} 335 | switchIcons_7: {fileID: 0} 336 | switchIcons_8: {fileID: 0} 337 | switchIcons_9: {fileID: 0} 338 | switchIcons_10: {fileID: 0} 339 | switchIcons_11: {fileID: 0} 340 | switchIcons_12: {fileID: 0} 341 | switchIcons_13: {fileID: 0} 342 | switchIcons_14: {fileID: 0} 343 | switchSmallIcons_0: {fileID: 0} 344 | switchSmallIcons_1: {fileID: 0} 345 | switchSmallIcons_2: {fileID: 0} 346 | switchSmallIcons_3: {fileID: 0} 347 | switchSmallIcons_4: {fileID: 0} 348 | switchSmallIcons_5: {fileID: 0} 349 | switchSmallIcons_6: {fileID: 0} 350 | switchSmallIcons_7: {fileID: 0} 351 | switchSmallIcons_8: {fileID: 0} 352 | switchSmallIcons_9: {fileID: 0} 353 | switchSmallIcons_10: {fileID: 0} 354 | switchSmallIcons_11: {fileID: 0} 355 | switchSmallIcons_12: {fileID: 0} 356 | switchSmallIcons_13: {fileID: 0} 357 | switchSmallIcons_14: {fileID: 0} 358 | switchManualHTML: 359 | switchAccessibleURLs: 360 | switchLegalInformation: 361 | switchMainThreadStackSize: 1048576 362 | switchPresenceGroupId: 363 | switchLogoHandling: 0 364 | switchReleaseVersion: 0 365 | switchDisplayVersion: 1.0.0 366 | switchStartupUserAccount: 0 367 | switchTouchScreenUsage: 0 368 | switchSupportedLanguagesMask: 0 369 | switchLogoType: 0 370 | switchApplicationErrorCodeCategory: 371 | switchUserAccountSaveDataSize: 0 372 | switchUserAccountSaveDataJournalSize: 0 373 | switchApplicationAttribute: 0 374 | switchCardSpecSize: -1 375 | switchCardSpecClock: -1 376 | switchRatingsMask: 0 377 | switchRatingsInt_0: 0 378 | switchRatingsInt_1: 0 379 | switchRatingsInt_2: 0 380 | switchRatingsInt_3: 0 381 | switchRatingsInt_4: 0 382 | switchRatingsInt_5: 0 383 | switchRatingsInt_6: 0 384 | switchRatingsInt_7: 0 385 | switchRatingsInt_8: 0 386 | switchRatingsInt_9: 0 387 | switchRatingsInt_10: 0 388 | switchRatingsInt_11: 0 389 | switchLocalCommunicationIds_0: 390 | switchLocalCommunicationIds_1: 391 | switchLocalCommunicationIds_2: 392 | switchLocalCommunicationIds_3: 393 | switchLocalCommunicationIds_4: 394 | switchLocalCommunicationIds_5: 395 | switchLocalCommunicationIds_6: 396 | switchLocalCommunicationIds_7: 397 | switchParentalControl: 0 398 | switchAllowsScreenshot: 1 399 | switchAllowsVideoCapturing: 1 400 | switchAllowsRuntimeAddOnContentInstall: 0 401 | switchDataLossConfirmation: 0 402 | switchSupportedNpadStyles: 3 403 | switchSocketConfigEnabled: 0 404 | switchTcpInitialSendBufferSize: 32 405 | switchTcpInitialReceiveBufferSize: 64 406 | switchTcpAutoSendBufferSizeMax: 256 407 | switchTcpAutoReceiveBufferSizeMax: 256 408 | switchUdpSendBufferSize: 9 409 | switchUdpReceiveBufferSize: 42 410 | switchSocketBufferEfficiency: 4 411 | switchSocketInitializeEnabled: 1 412 | switchNetworkInterfaceManagerInitializeEnabled: 1 413 | switchPlayerConnectionEnabled: 1 414 | ps4NPAgeRating: 12 415 | ps4NPTitleSecret: 416 | ps4NPTrophyPackPath: 417 | ps4ParentalLevel: 11 418 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 419 | ps4Category: 0 420 | ps4MasterVersion: 01.00 421 | ps4AppVersion: 01.00 422 | ps4AppType: 0 423 | ps4ParamSfxPath: 424 | ps4VideoOutPixelFormat: 0 425 | ps4VideoOutInitialWidth: 1920 426 | ps4VideoOutBaseModeInitialWidth: 1920 427 | ps4VideoOutReprojectionRate: 60 428 | ps4PronunciationXMLPath: 429 | ps4PronunciationSIGPath: 430 | ps4BackgroundImagePath: 431 | ps4StartupImagePath: 432 | ps4StartupImagesFolder: 433 | ps4IconImagesFolder: 434 | ps4SaveDataImagePath: 435 | ps4SdkOverride: 436 | ps4BGMPath: 437 | ps4ShareFilePath: 438 | ps4ShareOverlayImagePath: 439 | ps4PrivacyGuardImagePath: 440 | ps4NPtitleDatPath: 441 | ps4RemotePlayKeyAssignment: -1 442 | ps4RemotePlayKeyMappingDir: 443 | ps4PlayTogetherPlayerCount: 0 444 | ps4EnterButtonAssignment: 1 445 | ps4ApplicationParam1: 0 446 | ps4ApplicationParam2: 0 447 | ps4ApplicationParam3: 0 448 | ps4ApplicationParam4: 0 449 | ps4DownloadDataSize: 0 450 | ps4GarlicHeapSize: 2048 451 | ps4ProGarlicHeapSize: 2560 452 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 453 | ps4pnSessions: 1 454 | ps4pnPresence: 1 455 | ps4pnFriends: 1 456 | ps4pnGameCustomData: 1 457 | playerPrefsSupport: 0 458 | enableApplicationExit: 0 459 | restrictedAudioUsageRights: 0 460 | ps4UseResolutionFallback: 0 461 | ps4ReprojectionSupport: 0 462 | ps4UseAudio3dBackend: 0 463 | ps4SocialScreenEnabled: 0 464 | ps4ScriptOptimizationLevel: 0 465 | ps4Audio3dVirtualSpeakerCount: 14 466 | ps4attribCpuUsage: 0 467 | ps4PatchPkgPath: 468 | ps4PatchLatestPkgPath: 469 | ps4PatchChangeinfoPath: 470 | ps4PatchDayOne: 0 471 | ps4attribUserManagement: 0 472 | ps4attribMoveSupport: 0 473 | ps4attrib3DSupport: 0 474 | ps4attribShareSupport: 0 475 | ps4attribExclusiveVR: 0 476 | ps4disableAutoHideSplash: 0 477 | ps4videoRecordingFeaturesUsed: 0 478 | ps4contentSearchFeaturesUsed: 0 479 | ps4attribEyeToEyeDistanceSettingVR: 0 480 | ps4IncludedModules: [] 481 | monoEnv: 482 | psp2Splashimage: {fileID: 0} 483 | psp2NPTrophyPackPath: 484 | psp2NPSupportGBMorGJP: 0 485 | psp2NPAgeRating: 12 486 | psp2NPTitleDatPath: 487 | psp2NPCommsID: 488 | psp2NPCommunicationsID: 489 | psp2NPCommsPassphrase: 490 | psp2NPCommsSig: 491 | psp2ParamSfxPath: 492 | psp2ManualPath: 493 | psp2LiveAreaGatePath: 494 | psp2LiveAreaBackroundPath: 495 | psp2LiveAreaPath: 496 | psp2LiveAreaTrialPath: 497 | psp2PatchChangeInfoPath: 498 | psp2PatchOriginalPackage: 499 | psp2PackagePassword: F69AzBlax3CF3EDNhm3soLBPh71Yexui 500 | psp2KeystoneFile: 501 | psp2MemoryExpansionMode: 0 502 | psp2DRMType: 0 503 | psp2StorageType: 0 504 | psp2MediaCapacity: 0 505 | psp2DLCConfigPath: 506 | psp2ThumbnailPath: 507 | psp2BackgroundPath: 508 | psp2SoundPath: 509 | psp2TrophyCommId: 510 | psp2TrophyPackagePath: 511 | psp2PackagedResourcesPath: 512 | psp2SaveDataQuota: 10240 513 | psp2ParentalLevel: 1 514 | psp2ShortTitle: Not Set 515 | psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF 516 | psp2Category: 0 517 | psp2MasterVersion: 01.00 518 | psp2AppVersion: 01.00 519 | psp2TVBootMode: 0 520 | psp2EnterButtonAssignment: 2 521 | psp2TVDisableEmu: 0 522 | psp2AllowTwitterDialog: 1 523 | psp2Upgradable: 0 524 | psp2HealthWarning: 0 525 | psp2UseLibLocation: 0 526 | psp2InfoBarOnStartup: 0 527 | psp2InfoBarColor: 0 528 | psp2ScriptOptimizationLevel: 0 529 | splashScreenBackgroundSourceLandscape: {fileID: 0} 530 | splashScreenBackgroundSourcePortrait: {fileID: 0} 531 | spritePackerPolicy: 532 | webGLMemorySize: 256 533 | webGLExceptionSupport: 1 534 | webGLNameFilesAsHashes: 0 535 | webGLDataCaching: 0 536 | webGLDebugSymbols: 0 537 | webGLEmscriptenArgs: 538 | webGLModulesDirectory: 539 | webGLTemplate: APPLICATION:Default 540 | webGLAnalyzeBuildSize: 0 541 | webGLUseEmbeddedResources: 0 542 | webGLCompressionFormat: 1 543 | webGLLinkerTarget: 0 544 | scriptingDefineSymbols: 545 | 1: UNITY_POST_PROCESSING_STACK_V2 546 | 4: UNITY_POST_PROCESSING_STACK_V2 547 | 7: UNITY_POST_PROCESSING_STACK_V2 548 | 13: UNITY_POST_PROCESSING_STACK_V2 549 | 17: UNITY_POST_PROCESSING_STACK_V2 550 | 18: UNITY_POST_PROCESSING_STACK_V2 551 | 19: UNITY_POST_PROCESSING_STACK_V2 552 | 21: UNITY_POST_PROCESSING_STACK_V2 553 | 23: UNITY_POST_PROCESSING_STACK_V2 554 | 24: UNITY_POST_PROCESSING_STACK_V2 555 | 25: UNITY_POST_PROCESSING_STACK_V2 556 | 26: UNITY_POST_PROCESSING_STACK_V2 557 | 27: UNITY_POST_PROCESSING_STACK_V2 558 | platformArchitecture: {} 559 | scriptingBackend: {} 560 | il2cppCompilerConfiguration: {} 561 | incrementalIl2cppBuild: {} 562 | allowUnsafeCode: 0 563 | additionalIl2CppArgs: 564 | scriptingRuntimeVersion: 0 565 | apiCompatibilityLevelPerPlatform: {} 566 | m_RenderingPath: 1 567 | m_MobileRenderingPath: 1 568 | metroPackageName: Template_3D 569 | metroPackageVersion: 570 | metroCertificatePath: 571 | metroCertificatePassword: 572 | metroCertificateSubject: 573 | metroCertificateIssuer: 574 | metroCertificateNotAfter: 0000000000000000 575 | metroApplicationDescription: Template_3D 576 | wsaImages: {} 577 | metroTileShortName: 578 | metroTileShowName: 0 579 | metroMediumTileShowName: 0 580 | metroLargeTileShowName: 0 581 | metroWideTileShowName: 0 582 | metroDefaultTileSize: 1 583 | metroTileForegroundText: 2 584 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 585 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 586 | a: 1} 587 | metroSplashScreenUseBackgroundColor: 0 588 | platformCapabilities: {} 589 | metroFTAName: 590 | metroFTAFileTypes: [] 591 | metroProtocolName: 592 | metroCompilationOverrides: 1 593 | n3dsUseExtSaveData: 0 594 | n3dsCompressStaticMem: 1 595 | n3dsExtSaveDataNumber: 0x12345 596 | n3dsStackSize: 131072 597 | n3dsTargetPlatform: 2 598 | n3dsRegion: 7 599 | n3dsMediaSize: 0 600 | n3dsLogoStyle: 3 601 | n3dsTitle: GameName 602 | n3dsProductCode: 603 | n3dsApplicationId: 0xFF3FF 604 | XboxOneProductId: 605 | XboxOneUpdateKey: 606 | XboxOneSandboxId: 607 | XboxOneContentId: 608 | XboxOneTitleId: 609 | XboxOneSCId: 610 | XboxOneGameOsOverridePath: 611 | XboxOnePackagingOverridePath: 612 | XboxOneAppManifestOverridePath: 613 | XboxOneVersion: 1.0.0.0 614 | XboxOnePackageEncryption: 0 615 | XboxOnePackageUpdateGranularity: 2 616 | XboxOneDescription: 617 | XboxOneLanguage: 618 | - enus 619 | XboxOneCapability: [] 620 | XboxOneGameRating: {} 621 | XboxOneIsContentPackage: 0 622 | XboxOneEnableGPUVariability: 0 623 | XboxOneSockets: {} 624 | XboxOneSplashScreen: {fileID: 0} 625 | XboxOneAllowedProductIds: [] 626 | XboxOnePersistentLocalStorageSize: 0 627 | XboxOneXTitleMemory: 8 628 | xboxOneScriptCompiler: 0 629 | vrEditorSettings: 630 | daydream: 631 | daydreamIconForeground: {fileID: 0} 632 | daydreamIconBackground: {fileID: 0} 633 | cloudServicesEnabled: 634 | UNet: 1 635 | facebookSdkVersion: 7.9.4 636 | apiCompatibilityLevel: 2 637 | cloudProjectId: 27e33b65-463a-49a5-bc0f-91ca1f5a353c 638 | projectName: C-Sharp-Latest-for-Unity 639 | organizationId: z00n 640 | cloudEnabled: 0 641 | enableNativePlatformBackendsForNewInputSystem: 0 642 | disableOldInputManagerSupport: 0 643 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2018.2.0b4 2 | -------------------------------------------------------------------------------- /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: 4 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 | particleRaycastBudget: 4 33 | asyncUploadTimeSlice: 2 34 | asyncUploadBufferSize: 4 35 | resolutionScalingFixedDPIFactor: 1 36 | excludedTargetPlatforms: [] 37 | - serializedVersion: 2 38 | name: Low 39 | pixelLightCount: 0 40 | shadows: 0 41 | shadowResolution: 0 42 | shadowProjection: 1 43 | shadowCascades: 1 44 | shadowDistance: 20 45 | shadowNearPlaneOffset: 3 46 | shadowCascade2Split: 0.33333334 47 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 48 | shadowmaskMode: 0 49 | blendWeights: 2 50 | textureQuality: 0 51 | anisotropicTextures: 0 52 | antiAliasing: 0 53 | softParticles: 0 54 | softVegetation: 0 55 | realtimeReflectionProbes: 0 56 | billboardsFaceCameraPosition: 0 57 | vSyncCount: 0 58 | lodBias: 0.4 59 | maximumLODLevel: 0 60 | particleRaycastBudget: 16 61 | asyncUploadTimeSlice: 2 62 | asyncUploadBufferSize: 4 63 | resolutionScalingFixedDPIFactor: 1 64 | excludedTargetPlatforms: [] 65 | - serializedVersion: 2 66 | name: Medium 67 | pixelLightCount: 1 68 | shadows: 1 69 | shadowResolution: 0 70 | shadowProjection: 1 71 | shadowCascades: 1 72 | shadowDistance: 20 73 | shadowNearPlaneOffset: 3 74 | shadowCascade2Split: 0.33333334 75 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 76 | shadowmaskMode: 0 77 | blendWeights: 2 78 | textureQuality: 0 79 | anisotropicTextures: 1 80 | antiAliasing: 0 81 | softParticles: 0 82 | softVegetation: 0 83 | realtimeReflectionProbes: 0 84 | billboardsFaceCameraPosition: 0 85 | vSyncCount: 1 86 | lodBias: 0.7 87 | maximumLODLevel: 0 88 | particleRaycastBudget: 64 89 | asyncUploadTimeSlice: 2 90 | asyncUploadBufferSize: 4 91 | resolutionScalingFixedDPIFactor: 1 92 | excludedTargetPlatforms: [] 93 | - serializedVersion: 2 94 | name: High 95 | pixelLightCount: 2 96 | shadows: 2 97 | shadowResolution: 1 98 | shadowProjection: 1 99 | shadowCascades: 2 100 | shadowDistance: 40 101 | shadowNearPlaneOffset: 3 102 | shadowCascade2Split: 0.33333334 103 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 104 | shadowmaskMode: 1 105 | blendWeights: 2 106 | textureQuality: 0 107 | anisotropicTextures: 1 108 | antiAliasing: 2 109 | softParticles: 0 110 | softVegetation: 1 111 | realtimeReflectionProbes: 1 112 | billboardsFaceCameraPosition: 1 113 | vSyncCount: 1 114 | lodBias: 1 115 | maximumLODLevel: 0 116 | particleRaycastBudget: 256 117 | asyncUploadTimeSlice: 2 118 | asyncUploadBufferSize: 4 119 | resolutionScalingFixedDPIFactor: 1 120 | excludedTargetPlatforms: [] 121 | - serializedVersion: 2 122 | name: Very High 123 | pixelLightCount: 3 124 | shadows: 2 125 | shadowResolution: 2 126 | shadowProjection: 1 127 | shadowCascades: 2 128 | shadowDistance: 40 129 | shadowNearPlaneOffset: 3 130 | shadowCascade2Split: 0.33333334 131 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 132 | shadowmaskMode: 1 133 | blendWeights: 4 134 | textureQuality: 0 135 | anisotropicTextures: 1 136 | antiAliasing: 4 137 | softParticles: 1 138 | softVegetation: 1 139 | realtimeReflectionProbes: 1 140 | billboardsFaceCameraPosition: 1 141 | vSyncCount: 1 142 | lodBias: 1.5 143 | maximumLODLevel: 0 144 | particleRaycastBudget: 1024 145 | asyncUploadTimeSlice: 2 146 | asyncUploadBufferSize: 4 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Ultra 151 | pixelLightCount: 4 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 4 156 | shadowDistance: 150 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: 1 164 | antiAliasing: 4 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 2 171 | maximumLODLevel: 0 172 | particleRaycastBudget: 4096 173 | asyncUploadTimeSlice: 2 174 | asyncUploadBufferSize: 4 175 | resolutionScalingFixedDPIFactor: 1 176 | excludedTargetPlatforms: [] 177 | m_PerPlatformDefaultQuality: 178 | Android: 2 179 | Nintendo 3DS: 5 180 | Nintendo Switch: 5 181 | PS4: 5 182 | PSP2: 2 183 | Standalone: 5 184 | Tizen: 2 185 | WebGL: 3 186 | WiiU: 5 187 | Windows Store Apps: 5 188 | XboxOne: 5 189 | iPhone: 2 190 | tvOS: 2 191 | -------------------------------------------------------------------------------- /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 | - PostProcessing 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.0167 7 | Maximum Allowed Timestep: 0.1 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 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | m_TestInitMode: 0 11 | CrashReportingSettings: 12 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 13 | m_NativeEventUrl: https://perf-events.cloud.unity3d.com/symbolicate 14 | m_Enabled: 0 15 | m_CaptureEditorExceptions: 1 16 | UnityPurchasingSettings: 17 | m_Enabled: 0 18 | m_TestMode: 0 19 | UnityAnalyticsSettings: 20 | m_Enabled: 1 21 | m_InitializeOnStartup: 1 22 | m_TestMode: 0 23 | m_TestEventUrl: 24 | m_TestConfigUrl: 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # C-Sharp-Latest-for-Unity 2 | Unity editor utility that automatically sets C# version to latest available 3 | 4 | 5 | | | .NET 2.0 | .NET 4.6 | netstandard 2.0 | 6 | |---------------|----------|----------|-----------------| 7 | | Unity 2017.1+ | 6 | 6 | N/A | 8 | | Unity 2018.1+ | 7.2 | latest | latest | 9 | 10 | -------------------------------------------------------------------------------- /msvsbuild/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | 3 | [assembly: AssemblyCopyright("Copyright (C) 2018 by Andrew Zhilin ")] 4 | [assembly: AssemblyTitle("C# Latest for Unity")] 5 | [assembly: AssemblyVersion("0.1.0.18")] 6 | [assembly: AssemblyDescription("https://github.com/zoon/C-Sharp-Latest-for-Unity")] 7 | -------------------------------------------------------------------------------- /msvsbuild/CSharpLatest.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {B815B096-129E-42CE-A0A1-FD1EF1617662} 8 | Library 9 | Properties 10 | CSharpLatest 11 | CSharpLatest 12 | v3.5 13 | 512 14 | 15 | 16 | true 17 | full 18 | false 19 | bin\Debug\ 20 | DEBUG;TRACE 21 | prompt 22 | 4 23 | latest 24 | 25 | 26 | none 27 | true 28 | bin\Release\ 29 | TRACE 30 | prompt 31 | 4 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | lib\UnityEditor.dll 40 | False 41 | 42 | 43 | lib\UnityEngine.dll 44 | False 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /msvsbuild/CSharpLatest.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.27703.2000 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharpLatest", "CSharpLatest.csproj", "{B815B096-129E-42CE-A0A1-FD1EF1617662}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {B815B096-129E-42CE-A0A1-FD1EF1617662}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {B815B096-129E-42CE-A0A1-FD1EF1617662}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {B815B096-129E-42CE-A0A1-FD1EF1617662}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {B815B096-129E-42CE-A0A1-FD1EF1617662}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {1A3CBE1F-A3CC-4B8C-BCE9-B3C8CD7110A6} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /msvsbuild/lib/UnityEditor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zoon/C-Sharp-Latest-for-Unity/5c2da4d7861da36e33bbe382bdb56191fb739e47/msvsbuild/lib/UnityEditor.dll -------------------------------------------------------------------------------- /msvsbuild/lib/UnityEngine.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zoon/C-Sharp-Latest-for-Unity/5c2da4d7861da36e33bbe382bdb56191fb739e47/msvsbuild/lib/UnityEngine.dll -------------------------------------------------------------------------------- /msvsbuild/lib/unity2017-1-3f1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zoon/C-Sharp-Latest-for-Unity/5c2da4d7861da36e33bbe382bdb56191fb739e47/msvsbuild/lib/unity2017-1-3f1 --------------------------------------------------------------------------------