u3d 0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +2 -0
  3. data/.licenses.json +19 -0
  4. data/.rspec +1 -0
  5. data/.rubocop.yml +43 -0
  6. data/Gemfile +5 -0
  7. data/Gemfile.lock +98 -0
  8. data/LICENSE +21 -0
  9. data/LICENSE.fastlane +22 -0
  10. data/LOG_RULES.md +170 -0
  11. data/README.md +72 -0
  12. data/Rakefile +28 -0
  13. data/TODO.md +15 -0
  14. data/build.sh +5 -0
  15. data/config/log_rules.json +230 -0
  16. data/examples/Example1/.gitignore +19 -0
  17. data/examples/Example1/Assets/Editor.meta +9 -0
  18. data/examples/Example1/Assets/Editor/EditorRun.cs +23 -0
  19. data/examples/Example1/Assets/Editor/EditorRun.cs.meta +12 -0
  20. data/examples/Example1/Assets/Editor/FileSystemUtil.cs +26 -0
  21. data/examples/Example1/Assets/Editor/FileSystemUtil.cs.meta +12 -0
  22. data/examples/Example1/Assets/Scene1.unity +264 -0
  23. data/examples/Example1/Assets/Scene1.unity.meta +8 -0
  24. data/examples/Example1/Gemfile +8 -0
  25. data/examples/Example1/Gemfile.lock +165 -0
  26. data/examples/Example1/ProjectSettings/AudioManager.asset +16 -0
  27. data/examples/Example1/ProjectSettings/ClusterInputManager.asset +6 -0
  28. data/examples/Example1/ProjectSettings/DynamicsManager.asset +18 -0
  29. data/examples/Example1/ProjectSettings/EditorBuildSettings.asset +7 -0
  30. data/examples/Example1/ProjectSettings/EditorSettings.asset +14 -0
  31. data/examples/Example1/ProjectSettings/GraphicsSettings.asset +61 -0
  32. data/examples/Example1/ProjectSettings/InputManager.asset +295 -0
  33. data/examples/Example1/ProjectSettings/NavMeshAreas.asset +89 -0
  34. data/examples/Example1/ProjectSettings/NetworkManager.asset +8 -0
  35. data/examples/Example1/ProjectSettings/Physics2DSettings.asset +35 -0
  36. data/examples/Example1/ProjectSettings/ProjectSettings.asset +591 -0
  37. data/examples/Example1/ProjectSettings/ProjectVersion.txt +1 -0
  38. data/examples/Example1/ProjectSettings/QualitySettings.asset +180 -0
  39. data/examples/Example1/ProjectSettings/TagManager.asset +43 -0
  40. data/examples/Example1/ProjectSettings/TimeManager.asset +9 -0
  41. data/examples/Example1/ProjectSettings/UnityConnectSettings.asset +32 -0
  42. data/examples/Example1/README.md +5 -0
  43. data/examples/Example1/Rakefile +5 -0
  44. data/examples/Example1/fastlane/Fastfile +4 -0
  45. data/examples/Example1/fastlane/Pluginfile +1 -0
  46. data/examples/Example1/run.sh +1 -0
  47. data/examples/Example2/.gitignore +20 -0
  48. data/examples/Example2/Assets/Editor.meta +9 -0
  49. data/examples/Example2/Assets/Editor/EditorRun.cs +33 -0
  50. data/examples/Example2/Assets/Editor/EditorRun.cs.meta +12 -0
  51. data/examples/Example2/Assets/Editor/PostprocessBuildPlayer.cs +92 -0
  52. data/examples/Example2/Assets/Editor/PostprocessBuildPlayer.cs.meta +8 -0
  53. data/examples/Example2/Assets/Editor/PostprocessBuildPlayer_log.sh +31 -0
  54. data/examples/Example2/Assets/Editor/PostprocessBuildPlayer_log.sh.meta +8 -0
  55. data/examples/Example2/Assets/Editor/SimpleBuildSetup.cs +20 -0
  56. data/examples/Example2/Assets/Editor/SimpleBuildSetup.cs.meta +12 -0
  57. data/examples/Example2/Assets/Scene.unity +278 -0
  58. data/examples/Example2/Assets/Scene.unity.meta +8 -0
  59. data/examples/Example2/Gemfile +8 -0
  60. data/examples/Example2/Gemfile.lock +165 -0
  61. data/examples/Example2/ProjectSettings/AudioManager.asset +17 -0
  62. data/examples/Example2/ProjectSettings/ClusterInputManager.asset +6 -0
  63. data/examples/Example2/ProjectSettings/DynamicsManager.asset +19 -0
  64. data/examples/Example2/ProjectSettings/EditorBuildSettings.asset +10 -0
  65. data/examples/Example2/ProjectSettings/EditorSettings.asset +14 -0
  66. data/examples/Example2/ProjectSettings/GraphicsSettings.asset +63 -0
  67. data/examples/Example2/ProjectSettings/InputManager.asset +295 -0
  68. data/examples/Example2/ProjectSettings/NavMeshAreas.asset +89 -0
  69. data/examples/Example2/ProjectSettings/NetworkManager.asset +8 -0
  70. data/examples/Example2/ProjectSettings/Physics2DSettings.asset +36 -0
  71. data/examples/Example2/ProjectSettings/ProjectSettings.asset +591 -0
  72. data/examples/Example2/ProjectSettings/ProjectVersion.txt +1 -0
  73. data/examples/Example2/ProjectSettings/QualitySettings.asset +193 -0
  74. data/examples/Example2/ProjectSettings/TagManager.asset +43 -0
  75. data/examples/Example2/ProjectSettings/TimeManager.asset +9 -0
  76. data/examples/Example2/ProjectSettings/UnityConnectSettings.asset +34 -0
  77. data/examples/Example2/README.md +10 -0
  78. data/examples/Example2/fastlane/Fastfile +4 -0
  79. data/examples/Example2/fastlane/Pluginfile +1 -0
  80. data/exe/u3d +7 -0
  81. data/fastlane-plugin-u3d/.gitignore +10 -0
  82. data/fastlane-plugin-u3d/.licenses.json +9 -0
  83. data/fastlane-plugin-u3d/.rspec +3 -0
  84. data/fastlane-plugin-u3d/.rubocop.yml +253 -0
  85. data/fastlane-plugin-u3d/.travis.yml +4 -0
  86. data/fastlane-plugin-u3d/Gemfile +6 -0
  87. data/fastlane-plugin-u3d/LICENSE +21 -0
  88. data/fastlane-plugin-u3d/README.md +52 -0
  89. data/fastlane-plugin-u3d/Rakefile +9 -0
  90. data/fastlane-plugin-u3d/circle.yml +9 -0
  91. data/fastlane-plugin-u3d/fastlane-plugin-u3d.gemspec +31 -0
  92. data/fastlane-plugin-u3d/fastlane/Fastfile +3 -0
  93. data/fastlane-plugin-u3d/fastlane/Pluginfile +1 -0
  94. data/fastlane-plugin-u3d/lib/fastlane/plugin/u3d.rb +38 -0
  95. data/fastlane-plugin-u3d/lib/fastlane/plugin/u3d/actions/u3d_action.rb +80 -0
  96. data/fastlane-plugin-u3d/lib/fastlane/plugin/u3d/helper/u3d_helper.rb +34 -0
  97. data/fastlane-plugin-u3d/lib/fastlane/plugin/u3d/version.rb +27 -0
  98. data/fastlane-plugin-u3d/spec/spec_helper.rb +32 -0
  99. data/lib/u3d.rb +33 -0
  100. data/lib/u3d/cache.rb +120 -0
  101. data/lib/u3d/commands.rb +307 -0
  102. data/lib/u3d/commands_generator.rb +163 -0
  103. data/lib/u3d/downloader.rb +363 -0
  104. data/lib/u3d/iniparser.rb +83 -0
  105. data/lib/u3d/installer.rb +445 -0
  106. data/lib/u3d/log_analyzer.rb +221 -0
  107. data/lib/u3d/unity_version_number.rb +71 -0
  108. data/lib/u3d/unity_versions.rb +207 -0
  109. data/lib/u3d/utils.rb +121 -0
  110. data/lib/u3d/version.rb +31 -0
  111. data/lib/u3d_core.rb +30 -0
  112. data/lib/u3d_core/command_executor.rb +134 -0
  113. data/lib/u3d_core/command_runner.rb +93 -0
  114. data/lib/u3d_core/credentials.rb +116 -0
  115. data/lib/u3d_core/globals.rb +84 -0
  116. data/lib/u3d_core/helper.rb +149 -0
  117. data/lib/u3d_core/ui/disable_colors.rb +40 -0
  118. data/lib/u3d_core/ui/implementations/shell.rb +157 -0
  119. data/lib/u3d_core/ui/interface.rb +182 -0
  120. data/lib/u3d_core/ui/ui.rb +49 -0
  121. data/local_gem_install.sh +6 -0
  122. data/scripts/be +14 -0
  123. data/u3d.gemspec +41 -0
  124. metadata +388 -0
@@ -0,0 +1,28 @@
1
+ ## --- BEGIN LICENSE BLOCK ---
2
+ # Copyright (c) 2016-present WeWantToKnow AS
3
+ #
4
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ # of this software and associated documentation files (the "Software"), to deal
6
+ # in the Software without restriction, including without limitation the rights
7
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ # copies of the Software, and to permit persons to whom the Software is
9
+ # furnished to do so, subject to the following conditions:
10
+ #
11
+ # The above copyright notice and this permission notice shall be included in all
12
+ # copies or substantial portions of the Software.
13
+ #
14
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
+ # SOFTWARE.
21
+ ## --- END LICENSE BLOCK ---
22
+
23
+ require "bundler/gem_tasks"
24
+ require "rspec/core/rake_task"
25
+
26
+ RSpec::Core::RakeTask.new(:spec)
27
+
28
+ task default: :spec
data/TODO.md ADDED
@@ -0,0 +1,15 @@
1
+ = before release
2
+ * core: moar tests if needed
3
+ * [JL] prepare documentation / README / site
4
+
5
+ = post
6
+ * patch commander to support argument descriptions
7
+
8
+ * bug: installer shouldn't ask to rename directory of current Unity install if more packages are coming
9
+
10
+ * feature to clear credentials
11
+
12
+ * u3d specific keychain (u3d_credentials_store)
13
+
14
+ * if failure to download a package, display available ones
15
+ #No package "Mac" was found for version 5.6.0f3
@@ -0,0 +1,5 @@
1
+ rm -f u3d*.gem
2
+ if [[ ! `gem list | grep "^bundler "` ]]; then gem install bundler; fi
3
+ bundle install
4
+ gem build u3d.gemspec
5
+ gem install *.gem
@@ -0,0 +1,230 @@
1
+ {
2
+ "GENERAL": {
3
+ "active": true,
4
+ "comment": "A generic set of rules, to be applied regardless of the current phase",
5
+ "rules": {
6
+ "steps": {
7
+ "active": false,
8
+ "start_pattern": "DisplayProgressbar: (?<step>.+)",
9
+ "start_message": "Current step: %{step}"
10
+ },
11
+ "fail": {
12
+ "active": true,
13
+ "start_pattern": "^(?<fail>Failed to .+)\\n",
14
+ "end_pattern": "Filename: (?:[\\w/:]+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)",
15
+ "start_message": false,
16
+ "end_message": "%{file}(line %{line}): %{fail}",
17
+ "store_lines": false,
18
+ "ignore_lines": [
19
+ "UnityEditor",
20
+ "UnityEngine",
21
+ "^\\n"
22
+ ],
23
+ "type": "error"
24
+ },
25
+ "log": {
26
+ "active": true,
27
+ "start_pattern": "UnityEngine\\.Debug:Log\\(Object\\)",
28
+ "fetch_first_line_not_matching": [
29
+ "UnityEngine\\.",
30
+ "^\\n"
31
+ ],
32
+ "fetched_line_pattern": "(?<message>.*)\\n",
33
+ "fetched_line_message": false,
34
+ "start_message": false,
35
+ "end_pattern": "Filename: (?:[\\w/:]+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)",
36
+ "end_message": "[LOG] %{file}(line %{line}): %{message}"
37
+ },
38
+ "log_assertion": {
39
+ "active": true,
40
+ "start_pattern": "UnityEngine\\.Debug:LogAssertion\\(Object\\)",
41
+ "fetch_first_line_not_matching": [
42
+ "UnityEngine\\.",
43
+ "^\\n"
44
+ ],
45
+ "fetched_line_pattern": "(?<message>.*)\\n",
46
+ "fetched_line_message": false,
47
+ "start_message": false,
48
+ "end_pattern": "Filename: (?:[\\w/:]+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)",
49
+ "end_message": "[LOG] %{file}(line %{line}): %{message}",
50
+ "type": "warning"
51
+ },
52
+ "log_warning": {
53
+ "active": true,
54
+ "start_pattern": "UnityEngine\\.Debug:LogWarning\\(Object\\)",
55
+ "fetch_first_line_not_matching": [
56
+ "UnityEngine\\.",
57
+ "^\\n"
58
+ ],
59
+ "fetched_line_pattern": "(?<message>.*)\\n",
60
+ "fetched_line_message": false,
61
+ "start_message": false,
62
+ "end_pattern": "Filename: (?:[\\w/:]+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)",
63
+ "end_message": "[LOG] %{file}(line %{line}): %{message}",
64
+ "type": "warning"
65
+ },
66
+ "log_error": {
67
+ "active": true,
68
+ "start_pattern": "UnityEngine\\.Debug:LogError\\(Object\\)",
69
+ "fetch_first_line_not_matching": [
70
+ "UnityEngine\\.",
71
+ "^\\n",
72
+ "^\\t",
73
+ "^ "
74
+ ],
75
+ "fetched_line_pattern": "(?<message>.*)\\n",
76
+ "fetched_line_message": false,
77
+ "start_message": false,
78
+ "end_pattern": "Filename: (?:[\\w/:]+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)",
79
+ "end_message": "[LOG] %{file}(line %{line}): %{message}",
80
+ "type": "error"
81
+ },
82
+ "log_exception": {
83
+ "active": true,
84
+ "start_pattern": "UnityEngine\\.Debug:LogException\\(Object\\)",
85
+ "fetch_first_line_not_matching": [
86
+ "UnityEngine\\.",
87
+ "^\\n",
88
+ "^\\t",
89
+ "^ "
90
+ ],
91
+ "fetched_line_pattern": "(?<message>.*)\\n",
92
+ "fetched_line_message": false,
93
+ "start_message": false,
94
+ "end_pattern": "Filename: (?:[\\w/:]+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)",
95
+ "end_message": "[LOG] %{file}(line %{line}): %{message}",
96
+ "type": "error"
97
+ },
98
+ "batchmode_exit": {
99
+ "active": true,
100
+ "start_pattern": "Exiting batchmode successfully now!",
101
+ "type": "success"
102
+ }
103
+ }
104
+ },
105
+ "JENKINS": {
106
+ "active": true,
107
+ "silent": false,
108
+ "comment": "Jenkins specific, used to catch build launchs via Jenkins",
109
+ "phase_start_pattern": "Started by",
110
+ "rules": {
111
+ "start": {
112
+ "active": true,
113
+ "start_pattern": "Started by"
114
+ }
115
+ }
116
+ },
117
+ "INIT": {
118
+ "active": true,
119
+ "silent": false,
120
+ "comment": "Initialization on editor launch",
121
+ "phase_start_pattern": "Initialize mono",
122
+ "rules": {
123
+ "mono_options": {
124
+ "active": true,
125
+ "start_pattern": "Using monoOptions -(?<options>.+)"
126
+ },
127
+ "batchmode_args": {
128
+ "active": true,
129
+ "start_pattern": "(?: COMMAND LINE|BATCHMODE) ARGUMENTS:",
130
+ "start_message": "Batchmode arguments:",
131
+ "store_lines": true,
132
+ "end_pattern": "(Successfully changed project path|Loading GUID)",
133
+ "end_message": "[...]"
134
+ },
135
+ "GUID_loading": {
136
+ "active": true,
137
+ "start_pattern": "Loading GUID <-> Path mappings"
138
+ },
139
+ "asset_DB_loading": {
140
+ "active": true,
141
+ "start_pattern": "Loading Asset Database ?... {,2}\\d+\\.?\\d*"
142
+ },
143
+ "asset_DB_loading_FAIL": {
144
+ "active": true,
145
+ "start_pattern": "Loading Asset Database ?... ?\\[ Failed \\]",
146
+ "type": "warning"
147
+ },
148
+ "engine_version": {
149
+ "active": true,
150
+ "start_pattern": "Initialize engine version: (?<version>\\d+\\.\\d+\\.\\d+\\w\\d+) \\((?<hash>\\w*)\\)",
151
+ "start_message": "Engine Initialization (version %{version})"
152
+ }
153
+ }
154
+ },
155
+ "COMPILER": {
156
+ "active": true,
157
+ "silent": false,
158
+ "comment": "Compiling phase",
159
+ "phase_start_pattern": "- starting compile",
160
+ "phase_end_pattern": "- Finished compile",
161
+ "rules": {
162
+ "target": {
163
+ "active": true,
164
+ "start_pattern": "- starting compile (?<path>.+), for buildtarget (?<target>.+)",
165
+ "start_message": "Target: %{path} (buildtarget %{target})"
166
+ },
167
+ "finished": {
168
+ "active": true,
169
+ "start_pattern": "- Finished compile (?<path>.+)\\n",
170
+ "start_message": "Finished compilation for %{path}"
171
+ },
172
+ "arguments": {
173
+ "active": false,
174
+ "start_pattern": "Compiler Commandline Arguments",
175
+ "end_pattern": "(^\\n|CompilerOutput)",
176
+ "store_lines": true,
177
+ "start_message": "Compiler command line arguments:",
178
+ "end_message": false
179
+ },
180
+ "stdout": {
181
+ "active": true,
182
+ "start_pattern": "CompilerOutput:-stdout--exitcode: (?<exitcode>\\d)--compilationhadfailure: (?<fail>False|True)--outfile: (?<file>.+)",
183
+ "start_message": "Exitcode %{exitcode} on the standard output of the compiler (%{file})"
184
+ },
185
+ "stderr": {
186
+ "active": false,
187
+ "start_pattern": "CompilerOutput:-stderr",
188
+ "start_message": "Errors and warnings:"
189
+ },
190
+ "compiler_error": {
191
+ "active": true,
192
+ "start_pattern": "/(?<file>\\w+\\.\\w+\\(\\d+,\\d+\\)): error (?<code>CS....): (?<message>.+)\\n",
193
+ "start_message": "Error %{code}: %{message} (%{file})",
194
+ "type": "error"
195
+ },
196
+ "compiler_warning": {
197
+ "active": true,
198
+ "start_pattern": "/(?<file>\\w+\\.\\w+\\(\\d+,\\d+\\)): warning (?<code>CS....): (?<message>.+)\\n",
199
+ "start_message": "Warning %{code}: %{message} (%{file})",
200
+ "type": "warning"
201
+ },
202
+ "cancel": {
203
+ "active": true,
204
+ "start_pattern": "\\*\\*\\* Cancelled '(?<build>.+)' in (?<time>\\d+) seconds",
205
+ "start_message": "Cancelled '%{build}' after %{time}s",
206
+ "type": "error"
207
+ }
208
+ }
209
+ },
210
+ "ASSET": {
211
+ "active": true,
212
+ "silent": false,
213
+ "comment": "Asset managing and packaging",
214
+ "phase_start_pattern": "Packing sprites",
215
+ "rules": {
216
+ "pack_warning": {
217
+ "active": true,
218
+ "start_pattern": "WARNING: (?<message>.+)",
219
+ "start_message": "Warning: %{message}",
220
+ "type": "warning"
221
+ },
222
+ "percentage": {
223
+ "active": true,
224
+ "start_pattern": "Textures\\s+\\d+\\.?\\d* .b\\s+\\d{1,3}\\.?\\d*%",
225
+ "end_pattern": "Complete size\\s+\\d+\\.?\\d* .b\\s+\\d{1,3}\\.?\\d*%",
226
+ "store_lines": true
227
+ }
228
+ }
229
+ }
230
+ }
@@ -0,0 +1,19 @@
1
+ # Unity specific
2
+ Library/
3
+ Temp/
4
+ *.csproj
5
+ *.pidb
6
+ *.pidb.meta
7
+ *.sln
8
+ *.suo
9
+ *.userprefs
10
+
11
+ # bundler specific
12
+ .bundle/
13
+
14
+ # fastlane specific
15
+ fastlane/report.xml
16
+ fastlane/README.md
17
+
18
+ # project specific
19
+ editor.log
@@ -0,0 +1,9 @@
1
+ fileFormatVersion: 2
2
+ guid: 7a3727f36590f4c0692c2cb35b5743c0
3
+ folderAsset: yes
4
+ timeCreated: 1500557048
5
+ licenseType: Pro
6
+ DefaultImporter:
7
+ userData:
8
+ assetBundleName:
9
+ assetBundleVariant:
@@ -0,0 +1,23 @@
1
+ using UnityEditor;
2
+ using UnityEngine;
3
+ using System.Collections.Generic;
4
+
5
+ namespace U3d {
6
+ class EditorRun {
7
+ [MenuItem ("U3d/Example/LoadSaveScenes")]
8
+ static void LoadSaveScenes() {
9
+ if(EditorApplication.isPlaying) {
10
+ Debug.LogError("Do not run while playing");
11
+ return;
12
+ }
13
+ IEnumerable<string> scenes = FileSystemUtil.GetFiles("Assets/");
14
+ foreach(string path in scenes) {
15
+ if (path.EndsWith(".unity")) {
16
+ Debug.Log("Loading " + path);
17
+ EditorApplication.OpenScene(path);
18
+ EditorApplication.SaveScene(path);
19
+ }
20
+ }
21
+ }
22
+ }
23
+ }
@@ -0,0 +1,12 @@
1
+ fileFormatVersion: 2
2
+ guid: 922af54712bad4c4886d3b5153b9cafa
3
+ timeCreated: 1500558048
4
+ licenseType: Pro
5
+ MonoImporter:
6
+ serializedVersion: 2
7
+ defaultReferences: []
8
+ executionOrder: 0
9
+ icon: {instanceID: 0}
10
+ userData:
11
+ assetBundleName:
12
+ assetBundleVariant:
@@ -0,0 +1,26 @@
1
+ using System.IO;
2
+ using System.Collections.Generic;
3
+
4
+ public static class FileSystemUtil
5
+ {
6
+ public static IEnumerable<string> GetFiles(string path) {
7
+ Queue<string> queue = new Queue<string>();
8
+ queue.Enqueue(path);
9
+ while (queue.Count > 0) {
10
+ path = queue.Dequeue();
11
+ if (!Directory.Exists(path)) continue;
12
+ foreach (string subDir in Directory.GetDirectories(path)) {
13
+ queue.Enqueue(subDir);
14
+ }
15
+ string[] files = null;
16
+ files = Directory.GetFiles(path);
17
+ if (files != null) {
18
+ for(int i = 0 ; i < files.Length ; i++) {
19
+ yield return files[i];
20
+ }
21
+ }
22
+ }
23
+ }
24
+ }
25
+
26
+
@@ -0,0 +1,12 @@
1
+ fileFormatVersion: 2
2
+ guid: 7ab4222ade50e4127a522c24d39afffb
3
+ timeCreated: 1500558131
4
+ licenseType: Pro
5
+ MonoImporter:
6
+ serializedVersion: 2
7
+ defaultReferences: []
8
+ executionOrder: 0
9
+ icon: {instanceID: 0}
10
+ userData:
11
+ assetBundleName:
12
+ assetBundleVariant:
@@ -0,0 +1,264 @@
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: 8
17
+ m_Fog: 0
18
+ m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
19
+ m_FogMode: 3
20
+ m_FogDensity: 0.01
21
+ m_LinearFogStart: 0
22
+ m_LinearFogEnd: 300
23
+ m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
24
+ m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
25
+ m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
26
+ m_AmbientIntensity: 1
27
+ m_AmbientMode: 0
28
+ m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
29
+ m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
30
+ m_HaloStrength: 0.5
31
+ m_FlareStrength: 1
32
+ m_FlareFadeSpeed: 3
33
+ m_HaloTexture: {fileID: 0}
34
+ m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
35
+ m_DefaultReflectionMode: 0
36
+ m_DefaultReflectionResolution: 128
37
+ m_ReflectionBounces: 1
38
+ m_ReflectionIntensity: 1
39
+ m_CustomReflection: {fileID: 0}
40
+ m_Sun: {fileID: 0}
41
+ m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
42
+ --- !u!157 &3
43
+ LightmapSettings:
44
+ m_ObjectHideFlags: 0
45
+ serializedVersion: 9
46
+ m_GIWorkflowMode: 0
47
+ m_GISettings:
48
+ serializedVersion: 2
49
+ m_BounceScale: 1
50
+ m_IndirectOutputScale: 1
51
+ m_AlbedoBoost: 1
52
+ m_TemporalCoherenceThreshold: 1
53
+ m_EnvironmentLightingMode: 0
54
+ m_EnableBakedLightmaps: 1
55
+ m_EnableRealtimeLightmaps: 1
56
+ m_LightmapEditorSettings:
57
+ serializedVersion: 8
58
+ m_Resolution: 2
59
+ m_BakeResolution: 40
60
+ m_TextureWidth: 1024
61
+ m_TextureHeight: 1024
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: 3
75
+ m_BakeBackend: 0
76
+ m_PVRSampling: 1
77
+ m_PVRDirectSampleCount: 32
78
+ m_PVRSampleCount: 500
79
+ m_PVRBounces: 2
80
+ m_PVRFiltering: 0
81
+ m_PVRFilteringMode: 1
82
+ m_PVRCulling: 1
83
+ m_PVRFilteringGaussRadiusDirect: 1
84
+ m_PVRFilteringGaussRadiusIndirect: 5
85
+ m_PVRFilteringGaussRadiusAO: 2
86
+ m_PVRFilteringAtrousColorSigma: 1
87
+ m_PVRFilteringAtrousNormalSigma: 1
88
+ m_PVRFilteringAtrousPositionSigma: 1
89
+ m_LightingDataAsset: {fileID: 0}
90
+ m_ShadowMaskMode: 2
91
+ --- !u!196 &4
92
+ NavMeshSettings:
93
+ serializedVersion: 2
94
+ m_ObjectHideFlags: 0
95
+ m_BuildSettings:
96
+ serializedVersion: 2
97
+ agentTypeID: 0
98
+ agentRadius: 0.5
99
+ agentHeight: 2
100
+ agentSlope: 45
101
+ agentClimb: 0.4
102
+ ledgeDropHeight: 0
103
+ maxJumpAcrossDistance: 0
104
+ minRegionArea: 2
105
+ manualCellSize: 0
106
+ cellSize: 0.16666667
107
+ manualTileSize: 0
108
+ tileSize: 256
109
+ accuratePlacement: 0
110
+ m_NavMeshData: {fileID: 0}
111
+ --- !u!1 &371350964
112
+ GameObject:
113
+ m_ObjectHideFlags: 0
114
+ m_PrefabParentObject: {fileID: 0}
115
+ m_PrefabInternal: {fileID: 0}
116
+ serializedVersion: 5
117
+ m_Component:
118
+ - component: {fileID: 371350966}
119
+ - component: {fileID: 371350965}
120
+ m_Layer: 0
121
+ m_Name: Directional Light
122
+ m_TagString: Untagged
123
+ m_Icon: {fileID: 0}
124
+ m_NavMeshLayer: 0
125
+ m_StaticEditorFlags: 0
126
+ m_IsActive: 1
127
+ --- !u!108 &371350965
128
+ Light:
129
+ m_ObjectHideFlags: 0
130
+ m_PrefabParentObject: {fileID: 0}
131
+ m_PrefabInternal: {fileID: 0}
132
+ m_GameObject: {fileID: 371350964}
133
+ m_Enabled: 1
134
+ serializedVersion: 8
135
+ m_Type: 1
136
+ m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
137
+ m_Intensity: 1
138
+ m_Range: 10
139
+ m_SpotAngle: 30
140
+ m_CookieSize: 10
141
+ m_Shadows:
142
+ m_Type: 2
143
+ m_Resolution: -1
144
+ m_CustomResolution: -1
145
+ m_Strength: 1
146
+ m_Bias: 0.05
147
+ m_NormalBias: 0.4
148
+ m_NearPlane: 0.2
149
+ m_Cookie: {fileID: 0}
150
+ m_DrawHalo: 0
151
+ m_Flare: {fileID: 0}
152
+ m_RenderMode: 0
153
+ m_CullingMask:
154
+ serializedVersion: 2
155
+ m_Bits: 4294967295
156
+ m_Lightmapping: 4
157
+ m_AreaSize: {x: 1, y: 1}
158
+ m_BounceIntensity: 1
159
+ m_ColorTemperature: 6570
160
+ m_UseColorTemperature: 0
161
+ m_ShadowRadius: 0
162
+ m_ShadowAngle: 0
163
+ --- !u!4 &371350966
164
+ Transform:
165
+ m_ObjectHideFlags: 0
166
+ m_PrefabParentObject: {fileID: 0}
167
+ m_PrefabInternal: {fileID: 0}
168
+ m_GameObject: {fileID: 371350964}
169
+ m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
170
+ m_LocalPosition: {x: 0, y: 3, z: 0}
171
+ m_LocalScale: {x: 1, y: 1, z: 1}
172
+ m_Children: []
173
+ m_Father: {fileID: 0}
174
+ m_RootOrder: 1
175
+ m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
176
+ --- !u!1 &497150019
177
+ GameObject:
178
+ m_ObjectHideFlags: 0
179
+ m_PrefabParentObject: {fileID: 0}
180
+ m_PrefabInternal: {fileID: 0}
181
+ serializedVersion: 5
182
+ m_Component:
183
+ - component: {fileID: 497150024}
184
+ - component: {fileID: 497150023}
185
+ - component: {fileID: 497150022}
186
+ - component: {fileID: 497150021}
187
+ - component: {fileID: 497150020}
188
+ m_Layer: 0
189
+ m_Name: Main Camera
190
+ m_TagString: MainCamera
191
+ m_Icon: {fileID: 0}
192
+ m_NavMeshLayer: 0
193
+ m_StaticEditorFlags: 0
194
+ m_IsActive: 1
195
+ --- !u!81 &497150020
196
+ AudioListener:
197
+ m_ObjectHideFlags: 0
198
+ m_PrefabParentObject: {fileID: 0}
199
+ m_PrefabInternal: {fileID: 0}
200
+ m_GameObject: {fileID: 497150019}
201
+ m_Enabled: 1
202
+ --- !u!124 &497150021
203
+ Behaviour:
204
+ m_ObjectHideFlags: 0
205
+ m_PrefabParentObject: {fileID: 0}
206
+ m_PrefabInternal: {fileID: 0}
207
+ m_GameObject: {fileID: 497150019}
208
+ m_Enabled: 1
209
+ --- !u!92 &497150022
210
+ Behaviour:
211
+ m_ObjectHideFlags: 0
212
+ m_PrefabParentObject: {fileID: 0}
213
+ m_PrefabInternal: {fileID: 0}
214
+ m_GameObject: {fileID: 497150019}
215
+ m_Enabled: 1
216
+ --- !u!20 &497150023
217
+ Camera:
218
+ m_ObjectHideFlags: 0
219
+ m_PrefabParentObject: {fileID: 0}
220
+ m_PrefabInternal: {fileID: 0}
221
+ m_GameObject: {fileID: 497150019}
222
+ m_Enabled: 1
223
+ serializedVersion: 2
224
+ m_ClearFlags: 1
225
+ m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
226
+ m_NormalizedViewPortRect:
227
+ serializedVersion: 2
228
+ x: 0
229
+ y: 0
230
+ width: 1
231
+ height: 1
232
+ near clip plane: 0.3
233
+ far clip plane: 1000
234
+ field of view: 60
235
+ orthographic: 0
236
+ orthographic size: 5
237
+ m_Depth: -1
238
+ m_CullingMask:
239
+ serializedVersion: 2
240
+ m_Bits: 4294967295
241
+ m_RenderingPath: -1
242
+ m_TargetTexture: {fileID: 0}
243
+ m_TargetDisplay: 0
244
+ m_TargetEye: 3
245
+ m_HDR: 1
246
+ m_AllowMSAA: 1
247
+ m_ForceIntoRT: 0
248
+ m_OcclusionCulling: 1
249
+ m_StereoConvergence: 10
250
+ m_StereoSeparation: 0.022
251
+ m_StereoMirrorMode: 0
252
+ --- !u!4 &497150024
253
+ Transform:
254
+ m_ObjectHideFlags: 0
255
+ m_PrefabParentObject: {fileID: 0}
256
+ m_PrefabInternal: {fileID: 0}
257
+ m_GameObject: {fileID: 497150019}
258
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
259
+ m_LocalPosition: {x: 0, y: 1, z: -10}
260
+ m_LocalScale: {x: 1, y: 1, z: 1}
261
+ m_Children: []
262
+ m_Father: {fileID: 0}
263
+ m_RootOrder: 0
264
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}