├── ProjectSettings ├── ProjectVersion.txt ├── ClusterInputManager.asset ├── EditorBuildSettings.asset ├── NetworkManager.asset ├── TimeManager.asset ├── UnityAdsSettings.asset ├── UnityConnectSettings.asset ├── AudioManager.asset ├── EditorSettings.asset ├── TagManager.asset ├── DynamicsManager.asset ├── Physics2DSettings.asset ├── NavMeshAreas.asset ├── GraphicsSettings.asset ├── QualitySettings.asset ├── InputManager.asset └── ProjectSettings.asset ├── Assets ├── Scripts │ ├── TerrainType.cs │ ├── Noise.cs.meta │ ├── MapDisplay.cs.meta │ ├── TerrainType.cs.meta │ ├── MapGenerator.cs.meta │ ├── MeshGenerator.cs.meta │ ├── TextureGenerator.cs.meta │ ├── MapDisplay.cs │ ├── TextureGenerator.cs │ ├── MeshGenerator.cs │ ├── MapGenerator.cs │ └── Noise.cs ├── Scenes │ └── level_01.unity.meta ├── Materials │ ├── Mesh Mat.mat.meta │ ├── Map Material.mat.meta │ ├── Mesh Mat.mat │ └── Map Material.mat ├── Editor.meta ├── Scenes.meta ├── Scripts.meta ├── Materials.meta └── Editor │ ├── MapGeneratorEditor.cs.meta │ └── MapGeneratorEditor.cs └── .gitignore /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.4.1f1 2 | m_StandardAssetsVersion: 0 3 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Assets/Scripts/TerrainType.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | [System.Serializable] 5 | public struct TerrainType { 6 | public string name; 7 | public float height; 8 | public Color color; 9 | } -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Assets/Scenes/level_01.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: edd6a1338b3ce4b9289a5b9d3f79f650 3 | timeCreated: 1456173735 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Materials/Mesh Mat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b1021255c9374a5ca6f9299a56cf2bc 3 | timeCreated: 1456351148 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Materials/Map Material.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 77225b5b703c74b28b439fcae26add23 3 | timeCreated: 1456179261 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 24c056d3dcb1a4cc9a1361b069dda98e 3 | folderAsset: yes 4 | timeCreated: 1456179316 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 62c89ad4fb3ec402e9bf0313e9439092 3 | folderAsset: yes 4 | timeCreated: 1456173727 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28e7e32f3744d4210bb2454ee4dd501a 3 | folderAsset: yes 4 | timeCreated: 1456176100 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bdadd9be2cc864604bd790dc7ae4f38c 3 | folderAsset: yes 4 | timeCreated: 1456179251 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityAdsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!292 &1 4 | UnityAdsSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_InitializeOnStartup: 1 8 | m_TestMode: 0 9 | m_EnabledPlatforms: 4294967295 10 | m_IosGameId: 11 | m_AndroidGameId: 12 | -------------------------------------------------------------------------------- /Assets/Scripts/Noise.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 977dd24b669fd4a4f99874e9d9142102 3 | timeCreated: 1456176119 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/MapDisplay.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aa5552ca2b8654f7f8026c21e9f4eb44 3 | timeCreated: 1456178523 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TerrainType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 989c23b6aca4a46f99329882c2ac006b 3 | timeCreated: 1456347443 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/MapGenerator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3d539de4f19544a93b550f664f355166 3 | timeCreated: 1456178235 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/MeshGenerator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 54e6cff06149344d7b3b0623115a21e6 3 | timeCreated: 1456350044 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TextureGenerator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 900b9f04e0f06495ea2261611bb0dd6e 3 | timeCreated: 1456348107 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Editor/MapGeneratorEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2adfff33b631240c38bf5ee72f20e202 3 | timeCreated: 1456179331 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /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 | UnityPurchasingSettings: 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | UnityAnalyticsSettings: 10 | m_Enabled: 0 11 | m_InitializeOnStartup: 1 12 | m_TestMode: 0 13 | m_TestEventUrl: 14 | m_TestConfigUrl: 15 | -------------------------------------------------------------------------------- /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: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_DisableAudio: 0 16 | -------------------------------------------------------------------------------- /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: 3 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_WebSecurityEmulationEnabled: 0 10 | m_WebSecurityEmulationHostUrl: http://www.mydomain.com/mygame.unity3d 11 | m_DefaultBehaviorMode: 0 12 | m_SpritePackerMode: 2 13 | m_SpritePackerPaddingPower: 1 14 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 15 | m_ProjectGenerationRootNamespace: 16 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Assets/Editor/MapGeneratorEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using UnityEditor; 4 | 5 | [CustomEditor (typeof (MapGenerator))] 6 | public class MapGeneratorEditor : Editor { 7 | 8 | public override void OnInspectorGUI() { 9 | MapGenerator mapGenerator = (MapGenerator) target; 10 | 11 | if (DrawDefaultInspector()) { 12 | if(mapGenerator.shouldAutoUpdate) { 13 | mapGenerator.GenerateMap(); 14 | } 15 | } 16 | 17 | if(GUILayout.Button("Generate")) { 18 | mapGenerator.GenerateMap(); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Assets/Scripts/MapDisplay.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class MapDisplay : MonoBehaviour { 5 | 6 | public Renderer textureRenderer; 7 | public MeshFilter meshFilter; 8 | public MeshRenderer meshRenderer; 9 | 10 | public void DrawTexture(Texture2D texture) { 11 | 12 | textureRenderer.sharedMaterial.mainTexture = texture; 13 | textureRenderer.transform.localScale = new Vector3(texture.width, 1, texture.height); 14 | } 15 | 16 | public void DrawMesh(MeshData meshData, Texture2D texture) { 17 | meshFilter.sharedMesh = meshData.CreateMesh(); 18 | meshRenderer.sharedMaterial.mainTexture = texture; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /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: 2 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_SolverIterationCount: 6 13 | m_QueriesHitTriggers: 1 14 | m_EnableAdaptiveForce: 0 15 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by https://www.gitignore.io/api/osx,unity 2 | 3 | ### OSX ### 4 | .DS_Store 5 | .AppleDouble 6 | .LSOverride 7 | 8 | # Icon must end with two \r 9 | Icon 10 | 11 | 12 | # Thumbnails 13 | ._* 14 | 15 | # Files that might appear in the root of a volume 16 | .DocumentRevisions-V100 17 | .fseventsd 18 | .Spotlight-V100 19 | .TemporaryItems 20 | .Trashes 21 | .VolumeIcon.icns 22 | 23 | # Directories potentially created on remote AFP share 24 | .AppleDB 25 | .AppleDesktop 26 | Network Trash Folder 27 | Temporary Items 28 | .apdisk 29 | 30 | # Visual Studio Code 31 | Assets/VSCode/ 32 | Assets/VSCode.meta 33 | .vscode/ 34 | 35 | 36 | ### Unity ### 37 | /[Ll]ibrary/ 38 | /[Tt]emp/ 39 | /[Oo]bj/ 40 | /[Bb]uild/ 41 | 42 | # Autogenerated VS/MD solution and project files 43 | *.csproj 44 | *.unityproj 45 | *.sln 46 | *.suo 47 | *.tmp 48 | *.user 49 | *.userprefs 50 | *.pidb 51 | *.booproj 52 | 53 | # Unity3D generated meta files 54 | *.pidb.meta 55 | 56 | # Unity3D Generated File On Crash Reports 57 | sysinfo.txt 58 | 59 | -------------------------------------------------------------------------------- /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: 2 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_MinPenetrationForPenalty: 0.01 17 | m_BaumgarteScale: 0.2 18 | m_BaumgarteTimeOfImpactScale: 0.75 19 | m_TimeToSleep: 0.5 20 | m_LinearSleepTolerance: 0.01 21 | m_AngularSleepTolerance: 2 22 | m_QueriesHitTriggers: 1 23 | m_QueriesStartInColliders: 1 24 | m_ChangeStopsCallbacks: 0 25 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 26 | -------------------------------------------------------------------------------- /Assets/Scripts/TextureGenerator.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public static class TextureGenerator { 5 | 6 | public static Texture2D TextureFromColorMap(Color[] colorMap, int width, int height) { 7 | Texture2D texture = new Texture2D (width, height); 8 | texture.filterMode = FilterMode.Point; 9 | texture.wrapMode = TextureWrapMode.Clamp; 10 | texture.SetPixels(colorMap); 11 | texture.Apply(); 12 | return texture; 13 | } 14 | 15 | public static Texture2D TextureFromHeightMap(float[,] heightMap) { 16 | int width = heightMap.GetLength(0); 17 | int height = heightMap.GetLength(1); 18 | 19 | Color[] colorMap = new Color[width * height]; 20 | 21 | for (int y = 0; y < height; y++) { 22 | for (int x = 0; x < width; x++) { 23 | colorMap[y * width + x] = Color.Lerp(Color.black, Color.white, heightMap[x, y]); 24 | } 25 | } 26 | 27 | return TextureFromColorMap(colorMap, width, height); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshAreas: 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 | -------------------------------------------------------------------------------- /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: 5 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_LegacyDeferred: 14 | m_Mode: 1 15 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 16 | m_AlwaysIncludedShaders: 17 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 18 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 19 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 20 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 21 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 22 | - {fileID: 10782, guid: 0000000000000000f000000000000000, type: 0} 23 | m_PreloadedShaders: [] 24 | m_ShaderSettings: 25 | useScreenSpaceShadows: 1 26 | m_BuildTargetShaderSettings: [] 27 | m_LightmapStripping: 0 28 | m_FogStripping: 0 29 | m_LightmapKeepPlain: 1 30 | m_LightmapKeepDirCombined: 1 31 | m_LightmapKeepDirSeparate: 1 32 | m_LightmapKeepDynamicPlain: 1 33 | m_LightmapKeepDynamicDirCombined: 1 34 | m_LightmapKeepDynamicDirSeparate: 1 35 | m_FogKeepLinear: 1 36 | m_FogKeepExp: 1 37 | m_FogKeepExp2: 1 38 | -------------------------------------------------------------------------------- /Assets/Scripts/MeshGenerator.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public static class MeshGenerator { 5 | 6 | public static MeshData GenerateTerrainMesh(float[,] heightMap) { 7 | int width = heightMap.GetLength(0); 8 | int height = heightMap.GetLength(1); 9 | 10 | float topLeftX = (width - 1) / -2f; 11 | float topLeftZ = (height - 1) / 2f; 12 | 13 | MeshData meshData = new MeshData(width, height); 14 | int vertexIndex = 0; 15 | 16 | for (int y = 0; y < height; y++) { 17 | for (int x = 0; x < width; x ++) { 18 | 19 | meshData.vertices[vertexIndex] = new Vector3(topLeftX + x, heightMap[x,y], topLeftZ - y); 20 | meshData.uvs[vertexIndex] = new Vector2( x / (float)width, y / (float) height); 21 | 22 | if (x < width - 1 && y < height - 1) { 23 | meshData.AddTriangle(vertexIndex, vertexIndex + width + 1, vertexIndex + width); 24 | meshData.AddTriangle(vertexIndex + width + 1, vertexIndex, vertexIndex + 1); 25 | } 26 | 27 | vertexIndex += 1; 28 | } 29 | } 30 | return meshData; 31 | } 32 | } 33 | 34 | public class MeshData { 35 | public Vector3[] vertices; 36 | public int[] triangles; 37 | public Vector2[] uvs; 38 | 39 | int triangleIndex; 40 | 41 | public MeshData(int meshWidth, int meshHeight) { 42 | vertices = new Vector3[meshWidth * meshHeight]; 43 | uvs = new Vector2[meshWidth * meshHeight]; 44 | triangles = new int[(meshWidth-1) * (meshHeight-1) * 6]; 45 | } 46 | 47 | public void AddTriangle(int a, int b, int c) { 48 | triangles[triangleIndex] = a; 49 | triangles[triangleIndex + 1] = b; 50 | triangles[triangleIndex + 2] = c; 51 | 52 | triangleIndex += 3; 53 | } 54 | 55 | public Mesh CreateMesh() { 56 | Mesh mesh = new Mesh(); 57 | mesh.vertices = vertices; 58 | mesh.triangles = triangles; 59 | mesh.uv = uvs; 60 | mesh.RecalculateNormals(); 61 | return mesh; 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /Assets/Scripts/MapGenerator.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class MapGenerator : MonoBehaviour { 5 | 6 | 7 | public enum DrawMode {NoiseMap, ColorMap, Mesh}; 8 | public DrawMode drawMode; 9 | public int mapWidth; 10 | public int mapHeight; 11 | public float noiseScale; 12 | 13 | public int octaves; 14 | [Range(0,1)] 15 | public float persistance; 16 | public float lacunarity; 17 | 18 | public int seed; 19 | public Vector2 offset; 20 | 21 | public bool shouldAutoUpdate; 22 | public TerrainType[] regions; 23 | 24 | public void GenerateMap() { 25 | float[,] noiseMap = Noise.GenerateNoiseMap(mapWidth, mapHeight, seed, noiseScale, octaves, persistance, lacunarity, offset); 26 | 27 | Color[] colorMap = new Color[mapWidth * mapHeight]; 28 | 29 | for (int y = 0; y < mapHeight; y++) { 30 | for (int x = 0; x < mapWidth; x++) { 31 | float currentHeight = noiseMap[x, y]; 32 | for (int i = 0; i < regions.Length; i++) { 33 | if (currentHeight <= regions[i].height) { 34 | colorMap[y * mapWidth + x] = regions[i].color; 35 | break; 36 | } 37 | } 38 | } 39 | } 40 | 41 | MapDisplay display = FindObjectOfType (); 42 | if (drawMode == DrawMode.NoiseMap) { 43 | display.DrawTexture(TextureGenerator.TextureFromHeightMap(noiseMap)); 44 | } else if (drawMode == DrawMode.ColorMap) { 45 | display.DrawTexture(TextureGenerator.TextureFromColorMap(colorMap, mapWidth, mapHeight)); 46 | } else if (drawMode == DrawMode.Mesh) { 47 | display.DrawMesh(MeshGenerator.GenerateTerrainMesh(noiseMap), TextureGenerator.TextureFromColorMap(colorMap, mapWidth, mapHeight)); 48 | } 49 | 50 | } 51 | 52 | void OnValidate() { 53 | 54 | // Assert correct values 55 | if (mapWidth < 1) { 56 | mapWidth = 1; 57 | } 58 | 59 | if (mapHeight < 1) { 60 | mapHeight = 1; 61 | } 62 | 63 | if (lacunarity < 1) { 64 | lacunarity = 1; 65 | } 66 | 67 | if (octaves < 0) { 68 | octaves = 0; 69 | } 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /Assets/Scripts/Noise.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public static class Noise { 5 | 6 | public static float[,] GenerateNoiseMap( 7 | int mapWidth, 8 | int mapHeight, 9 | int seed, 10 | float scale, 11 | int octaves, 12 | float persistance, 13 | float lacunarity, 14 | Vector2 offset) { 15 | 16 | // Create a new 2D float array based on map width and height 17 | float[,] noiseMap = new float[mapWidth, mapHeight]; 18 | 19 | System.Random prng = new System.Random(seed); 20 | Vector2[] octaveOffsets = new Vector2[octaves]; 21 | 22 | // Generate random offsets 23 | for (int i = 0; i < octaves; i++) { 24 | float offsetX = prng.Next(-100000, 100000) + offset.x; 25 | float offsetY = prng.Next(-100000, 100000) + offset.y; 26 | octaveOffsets[i] = new Vector2(offsetX, offsetY); 27 | } 28 | 29 | if (scale <= 0) { 30 | scale = 0.0001f; 31 | } 32 | 33 | float maxNoiseHeight = float.MinValue; 34 | float minNoiseHeight = float.MaxValue; 35 | 36 | // Calculate the center of the map for zooming on the center 37 | float halfWidth = mapWidth / 2f; 38 | float halfHeight = mapHeight / 2f; 39 | 40 | for (int y = 0; y < mapHeight; y++) { 41 | for (int x = 0; x < mapWidth; x++) { 42 | 43 | float amplitude = 1; 44 | float frequency = 1; 45 | float noiseHeight = 0; 46 | 47 | for (int i = 0; i < octaves; i++) { 48 | float sampleX = (x - halfWidth) / scale * frequency + octaveOffsets[i].x; 49 | float sampleY = (y - halfHeight) / scale * frequency + octaveOffsets[i].y; 50 | 51 | float perlinValue = Mathf.PerlinNoise(sampleX, sampleY) * 2 - 1; 52 | noiseHeight += perlinValue * amplitude; 53 | 54 | amplitude *= persistance; 55 | frequency *= lacunarity; 56 | } 57 | if (noiseHeight > maxNoiseHeight) { 58 | maxNoiseHeight = noiseHeight; 59 | } else if (noiseHeight < minNoiseHeight) { 60 | minNoiseHeight = noiseHeight; 61 | } 62 | noiseMap[x,y] = noiseHeight; 63 | } 64 | } 65 | 66 | for (int y = 0; y < mapHeight; y++) { 67 | for (int x = 0; x < mapWidth; x++) { 68 | noiseMap[x, y] = Mathf.InverseLerp(minNoiseHeight, maxNoiseHeight, noiseMap[x,y]); 69 | } 70 | } 71 | return noiseMap; 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /Assets/Materials/Mesh Mat.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Mesh Mat 10 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 5 13 | m_CustomRenderQueue: -1 14 | stringTagMap: {} 15 | m_SavedProperties: 16 | serializedVersion: 2 17 | m_TexEnvs: 18 | - first: 19 | name: _BumpMap 20 | second: 21 | m_Texture: {fileID: 0} 22 | m_Scale: {x: 1, y: 1} 23 | m_Offset: {x: 0, y: 0} 24 | - first: 25 | name: _DetailAlbedoMap 26 | second: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - first: 31 | name: _DetailMask 32 | second: 33 | m_Texture: {fileID: 0} 34 | m_Scale: {x: 1, y: 1} 35 | m_Offset: {x: 0, y: 0} 36 | - first: 37 | name: _DetailNormalMap 38 | second: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - first: 43 | name: _EmissionMap 44 | second: 45 | m_Texture: {fileID: 0} 46 | m_Scale: {x: 1, y: 1} 47 | m_Offset: {x: 0, y: 0} 48 | - first: 49 | name: _MainTex 50 | second: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - first: 55 | name: _MetallicGlossMap 56 | second: 57 | m_Texture: {fileID: 0} 58 | m_Scale: {x: 1, y: 1} 59 | m_Offset: {x: 0, y: 0} 60 | - first: 61 | name: _OcclusionMap 62 | second: 63 | m_Texture: {fileID: 0} 64 | m_Scale: {x: 1, y: 1} 65 | m_Offset: {x: 0, y: 0} 66 | - first: 67 | name: _ParallaxMap 68 | second: 69 | m_Texture: {fileID: 0} 70 | m_Scale: {x: 1, y: 1} 71 | m_Offset: {x: 0, y: 0} 72 | m_Floats: 73 | - first: 74 | name: _BumpScale 75 | second: 1 76 | - first: 77 | name: _Cutoff 78 | second: 0.5 79 | - first: 80 | name: _DetailNormalMapScale 81 | second: 1 82 | - first: 83 | name: _DstBlend 84 | second: 0 85 | - first: 86 | name: _GlossMapScale 87 | second: 1 88 | - first: 89 | name: _Glossiness 90 | second: 0 91 | - first: 92 | name: _GlossyReflections 93 | second: 1 94 | - first: 95 | name: _Metallic 96 | second: 0 97 | - first: 98 | name: _Mode 99 | second: 0 100 | - first: 101 | name: _OcclusionStrength 102 | second: 1 103 | - first: 104 | name: _Parallax 105 | second: 0.02 106 | - first: 107 | name: _SmoothnessTextureChannel 108 | second: 0 109 | - first: 110 | name: _SpecularHighlights 111 | second: 1 112 | - first: 113 | name: _SrcBlend 114 | second: 1 115 | - first: 116 | name: _UVSec 117 | second: 0 118 | - first: 119 | name: _ZWrite 120 | second: 1 121 | m_Colors: 122 | - first: 123 | name: _Color 124 | second: {r: 1, g: 1, b: 1, a: 1} 125 | - first: 126 | name: _EmissionColor 127 | second: {r: 0, g: 0, b: 0, a: 1} 128 | -------------------------------------------------------------------------------- /Assets/Materials/Map Material.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Map Material 10 | m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 5 13 | m_CustomRenderQueue: 2000 14 | stringTagMap: {} 15 | m_SavedProperties: 16 | serializedVersion: 2 17 | m_TexEnvs: 18 | data: 19 | first: 20 | name: _MainTex 21 | second: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | data: 26 | first: 27 | name: _BumpMap 28 | second: 29 | m_Texture: {fileID: 0} 30 | m_Scale: {x: 1, y: 1} 31 | m_Offset: {x: 0, y: 0} 32 | data: 33 | first: 34 | name: _DetailNormalMap 35 | second: 36 | m_Texture: {fileID: 0} 37 | m_Scale: {x: 1, y: 1} 38 | m_Offset: {x: 0, y: 0} 39 | data: 40 | first: 41 | name: _ParallaxMap 42 | second: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | data: 47 | first: 48 | name: _OcclusionMap 49 | second: 50 | m_Texture: {fileID: 0} 51 | m_Scale: {x: 1, y: 1} 52 | m_Offset: {x: 0, y: 0} 53 | data: 54 | first: 55 | name: _EmissionMap 56 | second: 57 | m_Texture: {fileID: 0} 58 | m_Scale: {x: 1, y: 1} 59 | m_Offset: {x: 0, y: 0} 60 | data: 61 | first: 62 | name: _DetailMask 63 | second: 64 | m_Texture: {fileID: 0} 65 | m_Scale: {x: 1, y: 1} 66 | m_Offset: {x: 0, y: 0} 67 | data: 68 | first: 69 | name: _DetailAlbedoMap 70 | second: 71 | m_Texture: {fileID: 0} 72 | m_Scale: {x: 1, y: 1} 73 | m_Offset: {x: 0, y: 0} 74 | data: 75 | first: 76 | name: _MetallicGlossMap 77 | second: 78 | m_Texture: {fileID: 0} 79 | m_Scale: {x: 1, y: 1} 80 | m_Offset: {x: 0, y: 0} 81 | m_Floats: 82 | data: 83 | first: 84 | name: _SrcBlend 85 | second: 1 86 | data: 87 | first: 88 | name: _DstBlend 89 | second: 0 90 | data: 91 | first: 92 | name: _Cutoff 93 | second: 0.5 94 | data: 95 | first: 96 | name: _Parallax 97 | second: 0.02 98 | data: 99 | first: 100 | name: _ZWrite 101 | second: 1 102 | data: 103 | first: 104 | name: _Glossiness 105 | second: 0.5 106 | data: 107 | first: 108 | name: _BumpScale 109 | second: 1 110 | data: 111 | first: 112 | name: _OcclusionStrength 113 | second: 1 114 | data: 115 | first: 116 | name: _DetailNormalMapScale 117 | second: 1 118 | data: 119 | first: 120 | name: _UVSec 121 | second: 0 122 | data: 123 | first: 124 | name: _Mode 125 | second: 0 126 | data: 127 | first: 128 | name: _Metallic 129 | second: 0 130 | m_Colors: 131 | data: 132 | first: 133 | name: _EmissionColor 134 | second: {r: 0, g: 0, b: 0, a: 1} 135 | data: 136 | first: 137 | name: _Color 138 | second: {r: 1, g: 1, b: 1, a: 1} 139 | -------------------------------------------------------------------------------- /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: Fastest 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 2 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | blendWeights: 1 21 | textureQuality: 1 22 | anisotropicTextures: 0 23 | antiAliasing: 0 24 | softParticles: 0 25 | softVegetation: 0 26 | realtimeReflectionProbes: 0 27 | billboardsFaceCameraPosition: 0 28 | vSyncCount: 0 29 | lodBias: 0.3 30 | maximumLODLevel: 0 31 | particleRaycastBudget: 4 32 | asyncUploadTimeSlice: 2 33 | asyncUploadBufferSize: 4 34 | excludedTargetPlatforms: [] 35 | - serializedVersion: 2 36 | name: Fast 37 | pixelLightCount: 0 38 | shadows: 0 39 | shadowResolution: 0 40 | shadowProjection: 1 41 | shadowCascades: 1 42 | shadowDistance: 20 43 | shadowNearPlaneOffset: 2 44 | shadowCascade2Split: 0.33333334 45 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 46 | blendWeights: 2 47 | textureQuality: 0 48 | anisotropicTextures: 0 49 | antiAliasing: 0 50 | softParticles: 0 51 | softVegetation: 0 52 | realtimeReflectionProbes: 0 53 | billboardsFaceCameraPosition: 0 54 | vSyncCount: 0 55 | lodBias: 0.4 56 | maximumLODLevel: 0 57 | particleRaycastBudget: 16 58 | asyncUploadTimeSlice: 2 59 | asyncUploadBufferSize: 4 60 | excludedTargetPlatforms: [] 61 | - serializedVersion: 2 62 | name: Simple 63 | pixelLightCount: 1 64 | shadows: 1 65 | shadowResolution: 0 66 | shadowProjection: 1 67 | shadowCascades: 1 68 | shadowDistance: 20 69 | shadowNearPlaneOffset: 2 70 | shadowCascade2Split: 0.33333334 71 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 72 | blendWeights: 2 73 | textureQuality: 0 74 | anisotropicTextures: 1 75 | antiAliasing: 0 76 | softParticles: 0 77 | softVegetation: 0 78 | realtimeReflectionProbes: 0 79 | billboardsFaceCameraPosition: 0 80 | vSyncCount: 0 81 | lodBias: 0.7 82 | maximumLODLevel: 0 83 | particleRaycastBudget: 64 84 | asyncUploadTimeSlice: 2 85 | asyncUploadBufferSize: 4 86 | excludedTargetPlatforms: [] 87 | - serializedVersion: 2 88 | name: Good 89 | pixelLightCount: 2 90 | shadows: 2 91 | shadowResolution: 1 92 | shadowProjection: 1 93 | shadowCascades: 2 94 | shadowDistance: 40 95 | shadowNearPlaneOffset: 2 96 | shadowCascade2Split: 0.33333334 97 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 98 | blendWeights: 2 99 | textureQuality: 0 100 | anisotropicTextures: 1 101 | antiAliasing: 0 102 | softParticles: 0 103 | softVegetation: 1 104 | realtimeReflectionProbes: 1 105 | billboardsFaceCameraPosition: 1 106 | vSyncCount: 1 107 | lodBias: 1 108 | maximumLODLevel: 0 109 | particleRaycastBudget: 256 110 | asyncUploadTimeSlice: 2 111 | asyncUploadBufferSize: 4 112 | excludedTargetPlatforms: [] 113 | - serializedVersion: 2 114 | name: Beautiful 115 | pixelLightCount: 3 116 | shadows: 2 117 | shadowResolution: 2 118 | shadowProjection: 1 119 | shadowCascades: 2 120 | shadowDistance: 70 121 | shadowNearPlaneOffset: 2 122 | shadowCascade2Split: 0.33333334 123 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 124 | blendWeights: 4 125 | textureQuality: 0 126 | anisotropicTextures: 2 127 | antiAliasing: 2 128 | softParticles: 1 129 | softVegetation: 1 130 | realtimeReflectionProbes: 1 131 | billboardsFaceCameraPosition: 1 132 | vSyncCount: 1 133 | lodBias: 1.5 134 | maximumLODLevel: 0 135 | particleRaycastBudget: 1024 136 | asyncUploadTimeSlice: 2 137 | asyncUploadBufferSize: 4 138 | excludedTargetPlatforms: [] 139 | - serializedVersion: 2 140 | name: Fantastic 141 | pixelLightCount: 4 142 | shadows: 2 143 | shadowResolution: 2 144 | shadowProjection: 1 145 | shadowCascades: 4 146 | shadowDistance: 150 147 | shadowNearPlaneOffset: 2 148 | shadowCascade2Split: 0.33333334 149 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 150 | blendWeights: 4 151 | textureQuality: 0 152 | anisotropicTextures: 2 153 | antiAliasing: 2 154 | softParticles: 1 155 | softVegetation: 1 156 | realtimeReflectionProbes: 1 157 | billboardsFaceCameraPosition: 1 158 | vSyncCount: 1 159 | lodBias: 2 160 | maximumLODLevel: 0 161 | particleRaycastBudget: 4096 162 | asyncUploadTimeSlice: 2 163 | asyncUploadBufferSize: 4 164 | excludedTargetPlatforms: [] 165 | m_PerPlatformDefaultQuality: 166 | Android: 2 167 | BlackBerry: 2 168 | GLES Emulation: 5 169 | Nintendo 3DS: 5 170 | PS3: 5 171 | PS4: 5 172 | PSM: 5 173 | PSP2: 2 174 | Samsung TV: 2 175 | Standalone: 5 176 | Tizen: 2 177 | WP8: 5 178 | Web: 5 179 | WebGL: 3 180 | WiiU: 5 181 | Windows Store Apps: 5 182 | XBOX360: 5 183 | XboxOne: 5 184 | iPhone: 2 185 | tvOS: 5 186 | -------------------------------------------------------------------------------- /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/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: 8 7 | productGUID: 827424b5a06fb4b2888027067a896a96 8 | AndroidProfiler: 0 9 | defaultScreenOrientation: 4 10 | targetDevice: 2 11 | useOnDemandResources: 0 12 | accelerometerFrequency: 60 13 | companyName: DefaultCompany 14 | productName: terrain-generator 15 | defaultCursor: {fileID: 0} 16 | cursorHotspot: {x: 0, y: 0} 17 | m_SplashScreenStyle: 0 18 | m_ShowUnitySplashScreen: 1 19 | m_VirtualRealitySplashScreen: {fileID: 0} 20 | defaultScreenWidth: 1024 21 | defaultScreenHeight: 768 22 | defaultScreenWidthWeb: 960 23 | defaultScreenHeightWeb: 600 24 | m_RenderingPath: 1 25 | m_MobileRenderingPath: 1 26 | m_ActiveColorSpace: 0 27 | m_MTRendering: 1 28 | m_MobileMTRendering: 0 29 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 30 | iosShowActivityIndicatorOnLoading: -1 31 | androidShowActivityIndicatorOnLoading: -1 32 | iosAppInBackgroundBehavior: 0 33 | displayResolutionDialog: 1 34 | iosAllowHTTPDownload: 1 35 | allowedAutorotateToPortrait: 1 36 | allowedAutorotateToPortraitUpsideDown: 1 37 | allowedAutorotateToLandscapeRight: 1 38 | allowedAutorotateToLandscapeLeft: 1 39 | useOSAutorotation: 1 40 | use32BitDisplayBuffer: 1 41 | disableDepthAndStencilBuffers: 0 42 | defaultIsFullScreen: 1 43 | defaultIsNativeResolution: 1 44 | runInBackground: 0 45 | captureSingleScreen: 0 46 | Override IPod Music: 0 47 | Prepare IOS For Recording: 0 48 | submitAnalytics: 1 49 | usePlayerLog: 1 50 | bakeCollisionMeshes: 0 51 | forceSingleInstance: 0 52 | resizableWindow: 0 53 | useMacAppStoreValidation: 0 54 | gpuSkinning: 0 55 | graphicsJobs: 0 56 | xboxPIXTextureCapture: 0 57 | xboxEnableAvatar: 0 58 | xboxEnableKinect: 0 59 | xboxEnableKinectAutoTracking: 0 60 | xboxEnableFitness: 0 61 | visibleInBackground: 0 62 | allowFullscreenSwitch: 1 63 | macFullscreenMode: 2 64 | d3d9FullscreenMode: 1 65 | d3d11FullscreenMode: 1 66 | xboxSpeechDB: 0 67 | xboxEnableHeadOrientation: 0 68 | xboxEnableGuest: 0 69 | xboxEnablePIXSampling: 0 70 | n3dsDisableStereoscopicView: 0 71 | n3dsEnableSharedListOpt: 1 72 | n3dsEnableVSync: 0 73 | uiUse16BitDepthBuffer: 0 74 | ignoreAlphaClear: 0 75 | xboxOneResolution: 0 76 | xboxOneMonoLoggingLevel: 0 77 | xboxOneLoggingLevel: 1 78 | ps3SplashScreen: {fileID: 0} 79 | videoMemoryForVertexBuffers: 0 80 | psp2PowerMode: 0 81 | psp2AcquireBGM: 1 82 | wiiUTVResolution: 0 83 | wiiUGamePadMSAA: 1 84 | wiiUSupportsNunchuk: 0 85 | wiiUSupportsClassicController: 0 86 | wiiUSupportsBalanceBoard: 0 87 | wiiUSupportsMotionPlus: 0 88 | wiiUSupportsProController: 0 89 | wiiUAllowScreenCapture: 1 90 | wiiUControllerCount: 0 91 | m_SupportedAspectRatios: 92 | 4:3: 1 93 | 5:4: 1 94 | 16:10: 1 95 | 16:9: 1 96 | Others: 1 97 | bundleIdentifier: com.Company.ProductName 98 | bundleVersion: 1.0 99 | preloadedAssets: [] 100 | metroEnableIndependentInputSource: 0 101 | xboxOneDisableKinectGpuReservation: 0 102 | singlePassStereoRendering: 0 103 | protectGraphicsMemory: 0 104 | AndroidBundleVersionCode: 1 105 | AndroidMinSdkVersion: 9 106 | AndroidPreferredInstallLocation: 1 107 | aotOptions: 108 | apiCompatibilityLevel: 2 109 | stripEngineCode: 1 110 | iPhoneStrippingLevel: 0 111 | iPhoneScriptCallOptimization: 0 112 | iPhoneBuildNumber: 0 113 | ForceInternetPermission: 0 114 | ForceSDCardPermission: 0 115 | CreateWallpaper: 0 116 | APKExpansionFiles: 0 117 | preloadShaders: 0 118 | StripUnusedMeshComponents: 0 119 | VertexChannelCompressionMask: 120 | serializedVersion: 2 121 | m_Bits: 238 122 | iPhoneSdkVersion: 988 123 | iPhoneTargetOSVersion: 22 124 | tvOSSdkVersion: 0 125 | tvOSTargetOSVersion: 900 126 | uIPrerenderedIcon: 0 127 | uIRequiresPersistentWiFi: 0 128 | uIRequiresFullScreen: 1 129 | uIStatusBarHidden: 1 130 | uIExitOnSuspend: 0 131 | uIStatusBarStyle: 0 132 | iPhoneSplashScreen: {fileID: 0} 133 | iPhoneHighResSplashScreen: {fileID: 0} 134 | iPhoneTallHighResSplashScreen: {fileID: 0} 135 | iPhone47inSplashScreen: {fileID: 0} 136 | iPhone55inPortraitSplashScreen: {fileID: 0} 137 | iPhone55inLandscapeSplashScreen: {fileID: 0} 138 | iPadPortraitSplashScreen: {fileID: 0} 139 | iPadHighResPortraitSplashScreen: {fileID: 0} 140 | iPadLandscapeSplashScreen: {fileID: 0} 141 | iPadHighResLandscapeSplashScreen: {fileID: 0} 142 | appleTVSplashScreen: {fileID: 0} 143 | tvOSSmallIconLayers: [] 144 | tvOSLargeIconLayers: [] 145 | tvOSTopShelfImageLayers: [] 146 | iOSLaunchScreenType: 0 147 | iOSLaunchScreenPortrait: {fileID: 0} 148 | iOSLaunchScreenLandscape: {fileID: 0} 149 | iOSLaunchScreenBackgroundColor: 150 | serializedVersion: 2 151 | rgba: 0 152 | iOSLaunchScreenFillPct: 100 153 | iOSLaunchScreenSize: 100 154 | iOSLaunchScreenCustomXibPath: 155 | iOSLaunchScreeniPadType: 0 156 | iOSLaunchScreeniPadImage: {fileID: 0} 157 | iOSLaunchScreeniPadBackgroundColor: 158 | serializedVersion: 2 159 | rgba: 0 160 | iOSLaunchScreeniPadFillPct: 100 161 | iOSLaunchScreeniPadSize: 100 162 | iOSLaunchScreeniPadCustomXibPath: 163 | iOSDeviceRequirements: [] 164 | iOSURLSchemes: [] 165 | AndroidTargetDevice: 0 166 | AndroidSplashScreenScale: 0 167 | androidSplashScreen: {fileID: 0} 168 | AndroidKeystoreName: 169 | AndroidKeyaliasName: 170 | AndroidTVCompatibility: 1 171 | AndroidIsGame: 1 172 | androidEnableBanner: 1 173 | m_AndroidBanners: 174 | - width: 320 175 | height: 180 176 | banner: {fileID: 0} 177 | androidGamepadSupportLevel: 0 178 | resolutionDialogBanner: {fileID: 0} 179 | m_BuildTargetIcons: [] 180 | m_BuildTargetBatching: [] 181 | m_BuildTargetGraphicsAPIs: [] 182 | webPlayerTemplate: APPLICATION:Default 183 | m_TemplateCustomTags: {} 184 | wiiUTitleID: 0005000011000000 185 | wiiUGroupID: 00010000 186 | wiiUCommonSaveSize: 4096 187 | wiiUAccountSaveSize: 2048 188 | wiiUOlvAccessKey: 0 189 | wiiUTinCode: 0 190 | wiiUJoinGameId: 0 191 | wiiUJoinGameModeMask: 0000000000000000 192 | wiiUCommonBossSize: 0 193 | wiiUAccountBossSize: 0 194 | wiiUAddOnUniqueIDs: [] 195 | wiiUMainThreadStackSize: 3072 196 | wiiULoaderThreadStackSize: 1024 197 | wiiUSystemHeapSize: 128 198 | wiiUTVStartupScreen: {fileID: 0} 199 | wiiUGamePadStartupScreen: {fileID: 0} 200 | wiiUProfilerLibPath: 201 | actionOnDotNetUnhandledException: 1 202 | enableInternalProfiler: 0 203 | logObjCUncaughtExceptions: 1 204 | enableCrashReportAPI: 0 205 | locationUsageDescription: 206 | XboxTitleId: 207 | XboxImageXexPath: 208 | XboxSpaPath: 209 | XboxGenerateSpa: 0 210 | XboxDeployKinectResources: 0 211 | XboxSplashScreen: {fileID: 0} 212 | xboxEnableSpeech: 0 213 | xboxAdditionalTitleMemorySize: 0 214 | xboxDeployKinectHeadOrientation: 0 215 | xboxDeployKinectHeadPosition: 0 216 | ps3TitleConfigPath: 217 | ps3DLCConfigPath: 218 | ps3ThumbnailPath: 219 | ps3BackgroundPath: 220 | ps3SoundPath: 221 | ps3NPAgeRating: 12 222 | ps3TrophyCommId: 223 | ps3NpCommunicationPassphrase: 224 | ps3TrophyPackagePath: 225 | ps3BootCheckMaxSaveGameSizeKB: 128 226 | ps3TrophyCommSig: 227 | ps3SaveGameSlots: 1 228 | ps3TrialMode: 0 229 | ps3VideoMemoryForAudio: 0 230 | ps3EnableVerboseMemoryStats: 0 231 | ps3UseSPUForUmbra: 0 232 | ps3EnableMoveSupport: 1 233 | ps3DisableDolbyEncoding: 0 234 | ps4NPAgeRating: 12 235 | ps4NPTitleSecret: 236 | ps4NPTrophyPackPath: 237 | ps4ParentalLevel: 1 238 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 239 | ps4Category: 0 240 | ps4MasterVersion: 01.00 241 | ps4AppVersion: 01.00 242 | ps4AppType: 0 243 | ps4ParamSfxPath: 244 | ps4VideoOutPixelFormat: 0 245 | ps4VideoOutResolution: 4 246 | ps4PronunciationXMLPath: 247 | ps4PronunciationSIGPath: 248 | ps4BackgroundImagePath: 249 | ps4StartupImagePath: 250 | ps4SaveDataImagePath: 251 | ps4SdkOverride: 252 | ps4BGMPath: 253 | ps4ShareFilePath: 254 | ps4ShareOverlayImagePath: 255 | ps4PrivacyGuardImagePath: 256 | ps4NPtitleDatPath: 257 | ps4RemotePlayKeyAssignment: -1 258 | ps4RemotePlayKeyMappingDir: 259 | ps4PlayTogetherPlayerCount: 0 260 | ps4EnterButtonAssignment: 1 261 | ps4ApplicationParam1: 0 262 | ps4ApplicationParam2: 0 263 | ps4ApplicationParam3: 0 264 | ps4ApplicationParam4: 0 265 | ps4DownloadDataSize: 0 266 | ps4GarlicHeapSize: 2048 267 | ps4Passcode: BlQ9wQj99nsQzldVI5ZuGXbEWRK5RhRX 268 | ps4UseDebugIl2cppLibs: 0 269 | ps4pnSessions: 1 270 | ps4pnPresence: 1 271 | ps4pnFriends: 1 272 | ps4pnGameCustomData: 1 273 | playerPrefsSupport: 0 274 | ps4ReprojectionSupport: 0 275 | ps4UseAudio3dBackend: 0 276 | ps4SocialScreenEnabled: 0 277 | ps4Audio3dVirtualSpeakerCount: 14 278 | ps4attribCpuUsage: 0 279 | ps4PatchPkgPath: 280 | ps4PatchLatestPkgPath: 281 | ps4PatchChangeinfoPath: 282 | ps4PatchDayOne: 0 283 | ps4attribUserManagement: 0 284 | ps4attribMoveSupport: 0 285 | ps4attrib3DSupport: 0 286 | ps4attribShareSupport: 0 287 | ps4attribExclusiveVR: 0 288 | ps4disableAutoHideSplash: 0 289 | ps4IncludedModules: [] 290 | monoEnv: 291 | psp2Splashimage: {fileID: 0} 292 | psp2NPTrophyPackPath: 293 | psp2NPSupportGBMorGJP: 0 294 | psp2NPAgeRating: 12 295 | psp2NPTitleDatPath: 296 | psp2NPCommsID: 297 | psp2NPCommunicationsID: 298 | psp2NPCommsPassphrase: 299 | psp2NPCommsSig: 300 | psp2ParamSfxPath: 301 | psp2ManualPath: 302 | psp2LiveAreaGatePath: 303 | psp2LiveAreaBackroundPath: 304 | psp2LiveAreaPath: 305 | psp2LiveAreaTrialPath: 306 | psp2PatchChangeInfoPath: 307 | psp2PatchOriginalPackage: 308 | psp2PackagePassword: dCdG5nG5azdNMK66MuCV6GXi5xr84P2R 309 | psp2KeystoneFile: 310 | psp2MemoryExpansionMode: 0 311 | psp2DRMType: 0 312 | psp2StorageType: 0 313 | psp2MediaCapacity: 0 314 | psp2DLCConfigPath: 315 | psp2ThumbnailPath: 316 | psp2BackgroundPath: 317 | psp2SoundPath: 318 | psp2TrophyCommId: 319 | psp2TrophyPackagePath: 320 | psp2PackagedResourcesPath: 321 | psp2SaveDataQuota: 10240 322 | psp2ParentalLevel: 1 323 | psp2ShortTitle: Not Set 324 | psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF 325 | psp2Category: 0 326 | psp2MasterVersion: 01.00 327 | psp2AppVersion: 01.00 328 | psp2TVBootMode: 0 329 | psp2EnterButtonAssignment: 2 330 | psp2TVDisableEmu: 0 331 | psp2AllowTwitterDialog: 1 332 | psp2Upgradable: 0 333 | psp2HealthWarning: 0 334 | psp2UseLibLocation: 0 335 | psp2InfoBarOnStartup: 0 336 | psp2InfoBarColor: 0 337 | psp2UseDebugIl2cppLibs: 0 338 | psmSplashimage: {fileID: 0} 339 | spritePackerPolicy: 340 | scriptingDefineSymbols: {} 341 | metroPackageName: terrain-generator 342 | metroPackageVersion: 343 | metroCertificatePath: 344 | metroCertificatePassword: 345 | metroCertificateSubject: 346 | metroCertificateIssuer: 347 | metroCertificateNotAfter: 0000000000000000 348 | metroApplicationDescription: terrain-generator 349 | wsaImages: {} 350 | metroTileShortName: 351 | metroCommandLineArgsFile: 352 | metroTileShowName: 0 353 | metroMediumTileShowName: 0 354 | metroLargeTileShowName: 0 355 | metroWideTileShowName: 0 356 | metroDefaultTileSize: 1 357 | metroTileForegroundText: 1 358 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 359 | metroSplashScreenBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, 360 | a: 1} 361 | metroSplashScreenUseBackgroundColor: 1 362 | platformCapabilities: {} 363 | metroFTAName: 364 | metroFTAFileTypes: [] 365 | metroProtocolName: 366 | metroCompilationOverrides: 1 367 | tizenProductDescription: 368 | tizenProductURL: 369 | tizenSigningProfileName: 370 | tizenGPSPermissions: 0 371 | tizenMicrophonePermissions: 0 372 | tizenMinOSVersion: 0 373 | n3dsUseExtSaveData: 0 374 | n3dsCompressStaticMem: 1 375 | n3dsExtSaveDataNumber: 0x12345 376 | n3dsStackSize: 131072 377 | n3dsTargetPlatform: 2 378 | n3dsRegion: 7 379 | n3dsMediaSize: 0 380 | n3dsLogoStyle: 3 381 | n3dsTitle: GameName 382 | n3dsProductCode: 383 | n3dsApplicationId: 0xFF3FF 384 | stvDeviceAddress: 385 | stvProductDescription: 386 | stvProductAuthor: 387 | stvProductAuthorEmail: 388 | stvProductLink: 389 | stvProductCategory: 0 390 | XboxOneProductId: 391 | XboxOneUpdateKey: 392 | XboxOneSandboxId: 393 | XboxOneContentId: 394 | XboxOneTitleId: 395 | XboxOneSCId: 396 | XboxOneGameOsOverridePath: 397 | XboxOnePackagingOverridePath: 398 | XboxOneAppManifestOverridePath: 399 | XboxOnePackageEncryption: 0 400 | XboxOnePackageUpdateGranularity: 2 401 | XboxOneDescription: 402 | XboxOneIsContentPackage: 0 403 | XboxOneEnableGPUVariability: 0 404 | XboxOneSockets: {} 405 | XboxOneSplashScreen: {fileID: 0} 406 | XboxOneAllowedProductIds: [] 407 | XboxOnePersistentLocalStorageSize: 0 408 | intPropertyNames: 409 | - Standalone::ScriptingBackend 410 | - WebGL::ScriptingBackend 411 | - WebGL::audioCompressionFormat 412 | - WebGL::exceptionSupport 413 | - WebGL::memorySize 414 | - WebPlayer::ScriptingBackend 415 | - iOS::Architecture 416 | - iOS::ScriptingBackend 417 | - tvOS::Architecture 418 | - tvOS::ScriptingBackend 419 | Standalone::ScriptingBackend: 0 420 | WebGL::ScriptingBackend: 1 421 | WebGL::audioCompressionFormat: 4 422 | WebGL::exceptionSupport: 1 423 | WebGL::memorySize: 256 424 | WebPlayer::ScriptingBackend: 0 425 | iOS::Architecture: 2 426 | iOS::ScriptingBackend: 1 427 | tvOS::Architecture: 1 428 | tvOS::ScriptingBackend: 1 429 | boolPropertyNames: 430 | - Android::VR::enable 431 | - Metro::VR::enable 432 | - N3DS::VR::enable 433 | - PS3::VR::enable 434 | - PS4::VR::enable 435 | - PSM::VR::enable 436 | - PSP2::VR::enable 437 | - SamsungTV::VR::enable 438 | - Standalone::VR::enable 439 | - Tizen::VR::enable 440 | - WebGL::VR::enable 441 | - WebGL::analyzeBuildSize 442 | - WebGL::dataCaching 443 | - WebGL::useEmbeddedResources 444 | - WebPlayer::VR::enable 445 | - WiiU::VR::enable 446 | - Xbox360::VR::enable 447 | - XboxOne::VR::enable 448 | - XboxOne::enus 449 | - iOS::VR::enable 450 | - tvOS::VR::enable 451 | Android::VR::enable: 0 452 | Metro::VR::enable: 0 453 | N3DS::VR::enable: 0 454 | PS3::VR::enable: 0 455 | PS4::VR::enable: 0 456 | PSM::VR::enable: 0 457 | PSP2::VR::enable: 0 458 | SamsungTV::VR::enable: 0 459 | Standalone::VR::enable: 0 460 | Tizen::VR::enable: 0 461 | WebGL::VR::enable: 0 462 | WebGL::analyzeBuildSize: 0 463 | WebGL::dataCaching: 0 464 | WebGL::useEmbeddedResources: 0 465 | WebPlayer::VR::enable: 0 466 | WiiU::VR::enable: 0 467 | Xbox360::VR::enable: 0 468 | XboxOne::VR::enable: 0 469 | XboxOne::enus: 1 470 | iOS::VR::enable: 0 471 | tvOS::VR::enable: 0 472 | stringPropertyNames: 473 | - Analytics_ServiceEnabled::Analytics_ServiceEnabled 474 | - Build_ServiceEnabled::Build_ServiceEnabled 475 | - Collab_ServiceEnabled::Collab_ServiceEnabled 476 | - ErrorHub_ServiceEnabled::ErrorHub_ServiceEnabled 477 | - Game_Performance_ServiceEnabled::Game_Performance_ServiceEnabled 478 | - Hub_ServiceEnabled::Hub_ServiceEnabled 479 | - Purchasing_ServiceEnabled::Purchasing_ServiceEnabled 480 | - UNet_ServiceEnabled::UNet_ServiceEnabled 481 | - Unity_Ads_ServiceEnabled::Unity_Ads_ServiceEnabled 482 | - WebGL::emscriptenArgs 483 | - WebGL::template 484 | - additionalIl2CppArgs::additionalIl2CppArgs 485 | Analytics_ServiceEnabled::Analytics_ServiceEnabled: False 486 | Build_ServiceEnabled::Build_ServiceEnabled: False 487 | Collab_ServiceEnabled::Collab_ServiceEnabled: False 488 | ErrorHub_ServiceEnabled::ErrorHub_ServiceEnabled: False 489 | Game_Performance_ServiceEnabled::Game_Performance_ServiceEnabled: False 490 | Hub_ServiceEnabled::Hub_ServiceEnabled: False 491 | Purchasing_ServiceEnabled::Purchasing_ServiceEnabled: False 492 | UNet_ServiceEnabled::UNet_ServiceEnabled: False 493 | Unity_Ads_ServiceEnabled::Unity_Ads_ServiceEnabled: False 494 | WebGL::emscriptenArgs: 495 | WebGL::template: APPLICATION:Default 496 | additionalIl2CppArgs::additionalIl2CppArgs: 497 | vectorPropertyNames: 498 | - Android::VR::enabledDevices 499 | - Metro::VR::enabledDevices 500 | - N3DS::VR::enabledDevices 501 | - PS3::VR::enabledDevices 502 | - PS4::VR::enabledDevices 503 | - PSM::VR::enabledDevices 504 | - PSP2::VR::enabledDevices 505 | - SamsungTV::VR::enabledDevices 506 | - Standalone::VR::enabledDevices 507 | - Tizen::VR::enabledDevices 508 | - WebGL::VR::enabledDevices 509 | - WebPlayer::VR::enabledDevices 510 | - WiiU::VR::enabledDevices 511 | - Xbox360::VR::enabledDevices 512 | - XboxOne::VR::enabledDevices 513 | - iOS::VR::enabledDevices 514 | - tvOS::VR::enabledDevices 515 | Android::VR::enabledDevices: 516 | - Oculus 517 | Metro::VR::enabledDevices: [] 518 | N3DS::VR::enabledDevices: [] 519 | PS3::VR::enabledDevices: [] 520 | PS4::VR::enabledDevices: 521 | - PlayStationVR 522 | PSM::VR::enabledDevices: [] 523 | PSP2::VR::enabledDevices: [] 524 | SamsungTV::VR::enabledDevices: [] 525 | Standalone::VR::enabledDevices: 526 | - Oculus 527 | Tizen::VR::enabledDevices: [] 528 | WebGL::VR::enabledDevices: [] 529 | WebPlayer::VR::enabledDevices: [] 530 | WiiU::VR::enabledDevices: [] 531 | Xbox360::VR::enabledDevices: [] 532 | XboxOne::VR::enabledDevices: [] 533 | iOS::VR::enabledDevices: [] 534 | tvOS::VR::enabledDevices: [] 535 | cloudProjectId: 536 | projectName: 537 | organizationId: 538 | cloudEnabled: 0 539 | --------------------------------------------------------------------------------