Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

made some changes (dont remember which, sorry)

  • Loading branch information...
commit a0e06b139510547879d9991885978895ed2568ef 1 parent ea3f4ab
@fleischhauf authored
Showing with 5,465 additions and 5 deletions.
  1. +103 −0 CarTest/Assembly-CSharp-Editor-vs.csproj
  2. +101 −0 CarTest/Assembly-CSharp-Editor.csproj
  3. +10 −0 CarTest/Assembly-CSharp-firstpass-vs.csproj
  4. +10 −0 CarTest/Assembly-CSharp-firstpass.csproj
  5. +94 −0 CarTest/Assembly-CSharp-vs.csproj
  6. +93 −0 CarTest/Assembly-CSharp.csproj
  7. +103 −0 CarTest/Assembly-UnityScript-Editor-vs.unityproj
  8. +101 −0 CarTest/Assembly-UnityScript-Editor.unityproj
  9. +10 −0 CarTest/Assembly-UnityScript-firstpass-vs.unityproj
  10. +10 −0 CarTest/Assembly-UnityScript-firstpass.unityproj
  11. +10 −0 CarTest/Assembly-UnityScript-vs.unityproj
  12. BIN  CarTest/Assembly-UnityScript.pidb
  13. +10 −0 CarTest/Assembly-UnityScript.unityproj
  14. +197 −0 CarTest/Assets/EasyRoads3D/Editor/ERTextureWindow.js
  15. BIN  CarTest/Assets/EasyRoads3D/Editor/EasyRoads3DEditor.dll
  16. +154 −0 CarTest/Assets/EasyRoads3D/Editor/EasyRoadsEditorMenu.cs
  17. +355 −0 CarTest/Assets/EasyRoads3D/Editor/MarkerEditorScript.js
  18. +148 −0 CarTest/Assets/EasyRoads3D/Editor/NewEasyRoads3D.cs
  19. +11 −0 CarTest/Assets/EasyRoads3D/Editor/ObjectManager.cs
  20. +9 −0 CarTest/Assets/EasyRoads3D/Editor/ProceduralObjectsEditor.cs
  21. +721 −0 CarTest/Assets/EasyRoads3D/Editor/RoadObjectEditorScript.js
  22. +11 −0 CarTest/Assets/EasyRoads3D/Editor/SideObjectImporter.cs
  23. +6 −0 CarTest/Assets/EasyRoads3D/Editor/SideObjectInit.cs
  24. +11 −0 CarTest/Assets/EasyRoads3D/Editor/SurfaceEditorScript.js
  25. +9 −0 CarTest/Assets/EasyRoads3D/Editor/TerrainEditorScript.js
  26. +4 −0 CarTest/Assets/EasyRoads3D/Editor/sideObjectEditorScript.js
  27. BIN  CarTest/Assets/EasyRoads3D/Resources/ER3DLogo.png
  28. BIN  CarTest/Assets/EasyRoads3D/Resources/ER3DSkin.GUISkin
  29. BIN  CarTest/Assets/EasyRoads3D/Resources/EasyRoad3DObject.prefab
  30. BIN  CarTest/Assets/EasyRoads3D/Resources/Materials/markerObject-markerObjectMat.mat
  31. BIN  CarTest/Assets/EasyRoads3D/Resources/marker.prefab
  32. +719 −0 CarTest/Assets/EasyRoads3D/Resources/markerObject.obj
  33. BIN  CarTest/Assets/EasyRoads3D/Resources/markerobject-cylinder01mat.mat
  34. BIN  CarTest/Assets/EasyRoads3D/Resources/roadMaterial.mat
  35. BIN  CarTest/Assets/EasyRoads3D/Resources/roadMaterialEdit.mat
  36. BIN  CarTest/Assets/EasyRoads3D/Resources/surfaceAlphaMaterial.mat
  37. BIN  CarTest/Assets/EasyRoads3D/Resources/surfaceMaterial.mat
  38. BIN  CarTest/Assets/EasyRoads3D/Resources/waterAnim.anim
  39. +101 −0 CarTest/Assets/EasyRoads3D/Shaders/EasyRoads3D Marker.shader
  40. +30 −0 CarTest/Assets/EasyRoads3D/Shaders/EasyRoads3D-Normal-Diffuse.shader
  41. +37 −0 CarTest/Assets/EasyRoads3D/Shaders/EasyRoads3D-Road-Edit-Mode.shader
  42. +101 −0 CarTest/Assets/EasyRoads3D/Shaders/EasyRoads3D-Surface.shader
  43. +408 −0 CarTest/Assets/EasyRoads3D/Shaders/EasyRoads3D-Surface_Alpha.shader
  44. +397 −0 CarTest/Assets/EasyRoads3D/Shaders/Surface.shader
  45. +408 −0 CarTest/Assets/EasyRoads3D/Shaders/surfaceAlpha.shader
  46. BIN  CarTest/Assets/EasyRoads3D/Textures/Road Textures/road2Lane_d.jpg
  47. BIN  CarTest/Assets/EasyRoads3D/Textures/addDef.png
  48. BIN  CarTest/Assets/EasyRoads3D/Textures/addOn.png
  49. BIN  CarTest/Assets/EasyRoads3D/Textures/addOver.png
  50. BIN  CarTest/Assets/EasyRoads3D/Textures/box.png
  51. BIN  CarTest/Assets/EasyRoads3D/Textures/infoDef.png
  52. BIN  CarTest/Assets/EasyRoads3D/Textures/infoOn.png
  53. BIN  CarTest/Assets/EasyRoads3D/Textures/infoOver.png
  54. BIN  CarTest/Assets/EasyRoads3D/Textures/insertDef.png
  55. BIN  CarTest/Assets/EasyRoads3D/Textures/insertOn.png
  56. BIN  CarTest/Assets/EasyRoads3D/Textures/insertOver.png
  57. BIN  CarTest/Assets/EasyRoads3D/Textures/off.jpg
  58. BIN  CarTest/Assets/EasyRoads3D/Textures/on.jpg
  59. BIN  CarTest/Assets/EasyRoads3D/Textures/settingsDef.png
  60. BIN  CarTest/Assets/EasyRoads3D/Textures/settingsOn.png
  61. BIN  CarTest/Assets/EasyRoads3D/Textures/settingsOver.png
  62. BIN  CarTest/Assets/EasyRoads3D/Textures/terrainDef.png
  63. BIN  CarTest/Assets/EasyRoads3D/Textures/terrainOn.png
  64. BIN  CarTest/Assets/EasyRoads3D/Textures/terrainOver.png
  65. BIN  CarTest/Assets/EasyRoads3D/lib/EasyRoads3D.dll
  66. BIN  CarTest/Assets/EasyRoads3D/lib/EasyRoads3D.resources
  67. BIN  CarTest/Assets/EasyRoads3D/materials/markerMaterial.mat
  68. BIN  CarTest/Assets/EasyRoads3D/materials/surfaceAlphaMaterial.mat
  69. BIN  CarTest/Assets/EasyRoads3D/materials/surfaceMaterial.mat
  70. +6 −0 CarTest/Assets/EasyRoads3D/scripts/EasyRoads3DTerrainID.cs
  71. +140 −0 CarTest/Assets/EasyRoads3D/scripts/MarkerScript.cs
  72. +738 −0 CarTest/Assets/EasyRoads3D/scripts/RoadObjectScript.cs
  73. +13 −0 CarTest/Assets/EasyRoads3D/scripts/SurfaceScript.cs
  74. +39 −0 CarTest/Assets/EasyRoads3D/scripts/sideObjectScript.cs
  75. BIN  CarTest/Assets/New Terrain 4.asset
  76. BIN  CarTest/Assets/track2-2.unity
  77. BIN  CarTest/Assets/track2.unity
  78. +13 −1 CarTest/CarTest-csharp.sln
  79. +19 −1 CarTest/CarTest.sln
  80. +2 −2 CarTest/CarTest.userprefs
  81. BIN  CarTest/EasyRoads3D/495533929/RoadObject01_detailData.backup
  82. BIN  CarTest/EasyRoads3D/495533929/RoadObject01_heightmap.backup
  83. BIN  CarTest/EasyRoads3D/495533929/RoadObject01_treeData.backup
  84. BIN  CarTest/EasyRoads3D/495533929/detailData.backup
  85. BIN  CarTest/EasyRoads3D/495533929/heightdata.backup
  86. BIN  CarTest/EasyRoads3D/495533929/treeData.backup
  87. BIN  CarTest/EasyRoads3D/RoadObject01/OCQCCCQQQO.backup
  88. +2 −0  CarTest/EasyRoads3D/RoadObject01/totalpts.er3d
  89. BIN  CarTest/Library/AssetServerCacheV3
  90. BIN  CarTest/Library/ScriptAssemblies/Assembly-CSharp-Editor.dll
  91. BIN  CarTest/Library/ScriptAssemblies/Assembly-CSharp-Editor.dll.mdb
  92. BIN  CarTest/Library/ScriptAssemblies/Assembly-CSharp-firstpass.dll
  93. BIN  CarTest/Library/ScriptAssemblies/Assembly-CSharp-firstpass.dll.mdb
  94. BIN  CarTest/Library/ScriptAssemblies/Assembly-CSharp.dll
  95. BIN  CarTest/Library/ScriptAssemblies/Assembly-CSharp.dll.mdb
  96. BIN  CarTest/Library/ScriptAssemblies/Assembly-UnityScript-Editor.dll
  97. BIN  CarTest/Library/ScriptAssemblies/Assembly-UnityScript-Editor.dll.mdb
  98. BIN  CarTest/Library/ScriptAssemblies/Assembly-UnityScript-firstpass.dll
  99. BIN  CarTest/Library/ScriptAssemblies/Assembly-UnityScript-firstpass.dll.mdb
  100. BIN  CarTest/Library/ScriptAssemblies/Assembly-UnityScript.dll
  101. BIN  CarTest/Library/ScriptAssemblies/Assembly-UnityScript.dll.mdb
  102. BIN  CarTest/Library/ScriptMapper
  103. BIN  CarTest/Library/assetDatabase3
  104. BIN  CarTest/Library/cache/0a/0aff5f173b5147745bd1e3d510b4f049
  105. BIN  CarTest/Library/cache/0d/0d253b3d50aeea6409b06b241abd48d4
  106. BIN  CarTest/Library/cache/1c/1c014ab7f8fd7e444871f161e301a832
  107. BIN  CarTest/Library/cache/22/22bb76cc929bd84449e5e9e761d1c65c
  108. BIN  CarTest/Library/cache/27/27d41234d64342145a20b6f809f7d024
  109. BIN  CarTest/Library/cache/2a/2a84f6581a32f1045b85ff7865621a81
  110. BIN  CarTest/Library/cache/2d/2d5e2015c9c07f941a4bae8597c61e61
  111. BIN  CarTest/Library/cache/30/30db73c0024d69348a1b53f497bd07f8
  112. BIN  CarTest/Library/cache/33/3356a45f3c2842c40adb8e8bc78c9d60
  113. BIN  CarTest/Library/cache/37/375e0fc48b78f7741958b0580473b880
  114. BIN  CarTest/Library/cache/3b/3b41af7353098014ba4ba23658b1142f
  115. BIN  CarTest/Library/cache/45/45a374d808e24c94fb645f19b2b98f37
  116. BIN  CarTest/Library/cache/51/51e1fca649c7ca346bd6de8537dbaee9
  117. BIN  CarTest/Library/cache/59/5935e7bd294a43d46ae85c6f81901419
  118. BIN  CarTest/Library/cache/5a/5a2c6a92fc3ccb84cb4d5f78acd57fd9
  119. BIN  CarTest/Library/cache/5e/5e3be35a3aef9b947990d9a72901a62c
  120. BIN  CarTest/Library/cache/63/63542c5fea3315349b712df9cbcae068
  121. BIN  CarTest/Library/cache/66/66c5911fa41472140804cbc6029d49a0
  122. BIN  CarTest/Library/cache/69/698ee553627b5bb418af62204637ad2e
  123. BIN  CarTest/Library/cache/6b/6b5f9245598058e4c810147637c815ca
  124. BIN  CarTest/Library/cache/6e/6e0d00d6450de864291152464231c11c
  125. BIN  CarTest/Library/cache/72/725c11ffcd731d64397abcd07e7abd43
  126. BIN  CarTest/Library/cache/75/75bbb3a4ecda106488a670309c8b163c
  127. BIN  CarTest/Library/cache/76/7664e919e4202bc48bf79995c5c06d16
  128. BIN  CarTest/Library/cache/77/77ee0126faae737498d1f98eb4da73cd
  129. BIN  CarTest/Library/cache/78/78da8ddeb4b09bf4bac23a9f008f1e86
  130. BIN  CarTest/Library/cache/89/897d499e0bf8e174ab5189e12d012f11
  131. BIN  CarTest/Library/cache/97/97fb3a58d7c261a4c94f2acbc4003428
  132. BIN  CarTest/Library/cache/a2/a298bc5e0458484419a0521de8a610d8
  133. BIN  CarTest/Library/cache/a5/a514f0a0577662a47b90fa8b3c08c5a4
  134. BIN  CarTest/Library/cache/a5/a596052b1a02f8d4bb83be67b561689e
  135. BIN  CarTest/Library/cache/a8/a809df639c1c48149a4a8f21ad714a0a
  136. BIN  CarTest/Library/cache/ac/ac428ba1012229e40bbed4d17cbac202
  137. BIN  CarTest/Library/cache/ad/ad27437d81e87254b99bc54961e1674e
  138. BIN  CarTest/Library/cache/af/af519f63585e60b468e8fe59ad1cca06
  139. BIN  CarTest/Library/cache/b0/b0d97d6e43f393241bf92f928a963bad
  140. BIN  CarTest/Library/cache/b9/b99e88d58f353a44d9c163a4a4e499ea
  141. BIN  CarTest/Library/cache/bb/bbaf57cd700ae664cb6aa41d32c55478
  142. BIN  CarTest/Library/cache/bc/bc8586c361f63d34bb752fc4085c0592
  143. BIN  CarTest/Library/cache/be/be2048149dbd8924bb4bfe6a05bfac0e
  144. BIN  CarTest/Library/cache/c0/c00aadc0e7a668c4c9659767239ca25b
  145. BIN  CarTest/Library/cache/cc/cc59623ee381e4940aa301cf2ddf7ba5
  146. BIN  CarTest/Library/cache/cd/cdac80a930c5c54438d96ba616dadc58
  147. BIN  CarTest/Library/cache/cf/cf27c8a3dc76b324f83319825b238a7a
  148. BIN  CarTest/Library/cache/cf/cf8744a82b02a9d4d9a66e4ea52d38ff
  149. BIN  CarTest/Library/cache/da/da243aed603eb3840a6f1b5ff66a5d84
  150. BIN  CarTest/Library/cache/db/db269d104447e7a4aa259e1ed04c6481
  151. BIN  CarTest/Library/cache/de/de1b787779bbb5346ad15edfa6425706
  152. BIN  CarTest/Library/cache/de/deb24298d0991e44890726ac4b440e74
  153. BIN  CarTest/Library/cache/de/deceee1593b428c44938ad4cfbd68f18
  154. BIN  CarTest/Library/cache/e1/e1f2875017faac24e86d6617e1542f88
  155. BIN  CarTest/Library/cache/e3/e3a8fde865ef6c84d829bcafa50ef55d
  156. BIN  CarTest/Library/cache/e6/e65160e8479252844a88c1277c94183b
  157. BIN  CarTest/Library/cache/ed/ed229c2668d06084f93a0b158f9786b5
  158. BIN  CarTest/Library/cache/ee/ee9d0c0408533524cafc8fd4340cc2f0
  159. BIN  CarTest/Library/cache/ee/eecee802fee08fa4aa1f6845043154a5
  160. BIN  CarTest/Library/cache/ef/efc3078301fd8794e99be6e025cb7a4c
  161. BIN  CarTest/Library/cache/f2/f278c0099505a8a46a7f4d35e24b97e6
  162. BIN  CarTest/Library/cache/fa/fa1c543e1e591c7448b1783454909361
  163. BIN  CarTest/Library/guidmapper
  164. BIN  CarTest/Library/metadata/0a/0aff5f173b5147745bd1e3d510b4f049
  165. BIN  CarTest/Library/metadata/0d/0d253b3d50aeea6409b06b241abd48d4
  166. BIN  CarTest/Library/metadata/0f/0faa032601cfa5448aa11a44b6f7371b
  167. BIN  CarTest/Library/metadata/15/15c2c370d74a44b418f7705b902d9e70
  168. BIN  CarTest/Library/metadata/15/15f28d4144c4bdf4fa5cac4eb08ba5a7
  169. BIN  CarTest/Library/metadata/1c/1c014ab7f8fd7e444871f161e301a832
  170. BIN  CarTest/Library/metadata/22/22bb76cc929bd84449e5e9e761d1c65c
  171. BIN  CarTest/Library/metadata/27/27d41234d64342145a20b6f809f7d024
  172. BIN  CarTest/Library/metadata/2a/2a84f6581a32f1045b85ff7865621a81
  173. BIN  CarTest/Library/metadata/2d/2d5e2015c9c07f941a4bae8597c61e61
  174. BIN  CarTest/Library/metadata/30/30db73c0024d69348a1b53f497bd07f8
  175. BIN  CarTest/Library/metadata/33/3356a45f3c2842c40adb8e8bc78c9d60
  176. BIN  CarTest/Library/metadata/37/375e0fc48b78f7741958b0580473b880
  177. BIN  CarTest/Library/metadata/3b/3b41af7353098014ba4ba23658b1142f
  178. BIN  CarTest/Library/metadata/3b/3b6f8ce4b306caa4a8540225ff40c467
  179. BIN  CarTest/Library/metadata/3b/3baa24e52b115eb44943c07f6e5d2039
  180. BIN  CarTest/Library/metadata/45/45a374d808e24c94fb645f19b2b98f37
  181. BIN  CarTest/Library/metadata/51/51e1fca649c7ca346bd6de8537dbaee9
  182. BIN  CarTest/Library/metadata/59/5935e7bd294a43d46ae85c6f81901419
  183. BIN  CarTest/Library/metadata/5a/5a2c6a92fc3ccb84cb4d5f78acd57fd9
  184. BIN  CarTest/Library/metadata/5e/5e3be35a3aef9b947990d9a72901a62c
  185. BIN  CarTest/Library/metadata/63/63542c5fea3315349b712df9cbcae068
  186. BIN  CarTest/Library/metadata/66/66c5911fa41472140804cbc6029d49a0
  187. BIN  CarTest/Library/metadata/69/698ee553627b5bb418af62204637ad2e
  188. BIN  CarTest/Library/metadata/6b/6b5f9245598058e4c810147637c815ca
  189. BIN  CarTest/Library/metadata/6e/6e0d00d6450de864291152464231c11c
  190. BIN  CarTest/Library/metadata/6e/6e91c60e985e3b44c9ad37876d71d89d
  191. BIN  CarTest/Library/metadata/72/725c11ffcd731d64397abcd07e7abd43
  192. BIN  CarTest/Library/metadata/75/75bbb3a4ecda106488a670309c8b163c
  193. BIN  CarTest/Library/metadata/76/7664e919e4202bc48bf79995c5c06d16
  194. BIN  CarTest/Library/metadata/77/77ee0126faae737498d1f98eb4da73cd
  195. BIN  CarTest/Library/metadata/78/78da8ddeb4b09bf4bac23a9f008f1e86
  196. BIN  CarTest/Library/metadata/80/800ec2506f49a344c8b768a0161cf4d1
  197. BIN  CarTest/Library/metadata/84/84796f45c2e03bc409167505c3aee5d0
  198. BIN  CarTest/Library/metadata/87/87538423ec5b4c74b9fea7b661b9af07
  199. BIN  CarTest/Library/metadata/89/897d499e0bf8e174ab5189e12d012f11
  200. BIN  CarTest/Library/metadata/97/97fb3a58d7c261a4c94f2acbc4003428
  201. BIN  CarTest/Library/metadata/9e/9e5ec973fa2f96d429dc54aeacc57e66
  202. BIN  CarTest/Library/metadata/a2/a298bc5e0458484419a0521de8a610d8
  203. BIN  CarTest/Library/metadata/a5/a514f0a0577662a47b90fa8b3c08c5a4
  204. BIN  CarTest/Library/metadata/a5/a596052b1a02f8d4bb83be67b561689e
  205. BIN  CarTest/Library/metadata/a8/a809df639c1c48149a4a8f21ad714a0a
  206. BIN  CarTest/Library/metadata/ab/ab3f51841d793554e925527506695626
  207. BIN  CarTest/Library/metadata/ac/ac428ba1012229e40bbed4d17cbac202
  208. BIN  CarTest/Library/metadata/ad/ad27437d81e87254b99bc54961e1674e
  209. BIN  CarTest/Library/metadata/af/af519f63585e60b468e8fe59ad1cca06
  210. BIN  CarTest/Library/metadata/b0/b0d97d6e43f393241bf92f928a963bad
  211. BIN  CarTest/Library/metadata/b9/b99e88d58f353a44d9c163a4a4e499ea
  212. BIN  CarTest/Library/metadata/bb/bbaf57cd700ae664cb6aa41d32c55478
  213. BIN  CarTest/Library/metadata/bc/bc8586c361f63d34bb752fc4085c0592
  214. BIN  CarTest/Library/metadata/be/be2048149dbd8924bb4bfe6a05bfac0e
  215. BIN  CarTest/Library/metadata/c0/c00aadc0e7a668c4c9659767239ca25b
  216. BIN  CarTest/Library/metadata/c7/c76c8e736aab6e24388ecf38883c0626
  217. BIN  CarTest/Library/metadata/cc/cc59623ee381e4940aa301cf2ddf7ba5
  218. BIN  CarTest/Library/metadata/cd/cdac80a930c5c54438d96ba616dadc58
  219. BIN  CarTest/Library/metadata/cf/cf27c8a3dc76b324f83319825b238a7a
  220. BIN  CarTest/Library/metadata/cf/cf8744a82b02a9d4d9a66e4ea52d38ff
  221. BIN  CarTest/Library/metadata/d3/d3cca41d34350a644a11bde9030626c1
  222. BIN  CarTest/Library/metadata/d6/d6cc418b29ac1314a9ec9c2b5660740d
  223. BIN  CarTest/Library/metadata/da/da243aed603eb3840a6f1b5ff66a5d84
  224. BIN  CarTest/Library/metadata/db/db269d104447e7a4aa259e1ed04c6481
  225. BIN  CarTest/Library/metadata/de/de1b787779bbb5346ad15edfa6425706
  226. BIN  CarTest/Library/metadata/de/deb24298d0991e44890726ac4b440e74
  227. BIN  CarTest/Library/metadata/de/deceee1593b428c44938ad4cfbd68f18
  228. BIN  CarTest/Library/metadata/e1/e1f2875017faac24e86d6617e1542f88
  229. BIN  CarTest/Library/metadata/e3/e3a8fde865ef6c84d829bcafa50ef55d
  230. BIN  CarTest/Library/metadata/e6/e65160e8479252844a88c1277c94183b
  231. BIN  CarTest/Library/metadata/ed/ed229c2668d06084f93a0b158f9786b5
  232. BIN  CarTest/Library/metadata/ee/ee9d0c0408533524cafc8fd4340cc2f0
  233. BIN  CarTest/Library/metadata/ee/eecee802fee08fa4aa1f6845043154a5
  234. BIN  CarTest/Library/metadata/ef/efc3078301fd8794e99be6e025cb7a4c
  235. BIN  CarTest/Library/metadata/f2/f278c0099505a8a46a7f4d35e24b97e6
  236. BIN  CarTest/Library/metadata/f7/f78bbb8cb5fbedd4c8767d206fcc7fba
  237. BIN  CarTest/Library/metadata/fa/fa1c543e1e591c7448b1783454909361
  238. BIN  CarTest/Library/previews/0a/0aff5f173b5147745bd1e3d510b4f049
  239. BIN  CarTest/Library/previews/0d/0d253b3d50aeea6409b06b241abd48d4
  240. BIN  CarTest/Library/previews/0f/0faa032601cfa5448aa11a44b6f7371b
  241. BIN  CarTest/Library/previews/0f/0faa032601cfa5448aa11a44b6f7371b_/100000
  242. BIN  CarTest/Library/previews/0f/0faa032601cfa5448aa11a44b6f7371b_/4300002
  243. BIN  CarTest/Library/previews/15/15c2c370d74a44b418f7705b902d9e70
  244. BIN  CarTest/Library/previews/15/15f28d4144c4bdf4fa5cac4eb08ba5a7
  245. BIN  CarTest/Library/previews/27/27d41234d64342145a20b6f809f7d024
  246. BIN  CarTest/Library/previews/2d/2d5e2015c9c07f941a4bae8597c61e61
  247. BIN  CarTest/Library/previews/37/375e0fc48b78f7741958b0580473b880
  248. BIN  CarTest/Library/previews/3b/3b41af7353098014ba4ba23658b1142f
  249. BIN  CarTest/Library/previews/3b/3b6f8ce4b306caa4a8540225ff40c467
  250. BIN  CarTest/Library/previews/66/66c5911fa41472140804cbc6029d49a0
  251. BIN  CarTest/Library/previews/6b/6b5f9245598058e4c810147637c815ca
  252. BIN  CarTest/Library/previews/6e/6e0d00d6450de864291152464231c11c
  253. BIN  CarTest/Library/previews/72/725c11ffcd731d64397abcd07e7abd43
  254. BIN  CarTest/Library/previews/76/7664e919e4202bc48bf79995c5c06d16
  255. BIN  CarTest/Library/previews/78/78da8ddeb4b09bf4bac23a9f008f1e86
  256. BIN  CarTest/Library/previews/80/800ec2506f49a344c8b768a0161cf4d1
  257. BIN  CarTest/Library/previews/84/84796f45c2e03bc409167505c3aee5d0
  258. BIN  CarTest/Library/previews/89/897d499e0bf8e174ab5189e12d012f11
  259. BIN  CarTest/Library/previews/9e/9e5ec973fa2f96d429dc54aeacc57e66
  260. BIN  CarTest/Library/previews/a5/a514f0a0577662a47b90fa8b3c08c5a4
  261. BIN  CarTest/Library/previews/a5/a596052b1a02f8d4bb83be67b561689e
  262. BIN  CarTest/Library/previews/ab/ab3f51841d793554e925527506695626
  263. BIN  CarTest/Library/previews/ad/ad27437d81e87254b99bc54961e1674e
  264. BIN  CarTest/Library/previews/be/be2048149dbd8924bb4bfe6a05bfac0e
  265. BIN  CarTest/Library/previews/d3/d3cca41d34350a644a11bde9030626c1
  266. BIN  CarTest/Library/previews/d6/d6cc418b29ac1314a9ec9c2b5660740d
  267. BIN  CarTest/Library/previews/e3/e3a8fde865ef6c84d829bcafa50ef55d
  268. BIN  CarTest/Library/previews/ee/ee9d0c0408533524cafc8fd4340cc2f0
  269. BIN  CarTest/Library/previews/ef/efc3078301fd8794e99be6e025cb7a4c
  270. BIN  CarTest/Library/previews/f7/f78bbb8cb5fbedd4c8767d206fcc7fba
  271. +1 −1  CarTest/apocalypseRacer_Data/output_log.txt
View
103 CarTest/Assembly-CSharp-Editor-vs.csproj
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>10.0.20506</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{13A84607-370E-2056-CC10-31C2C7577D04}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace></RootNamespace>
+ <AssemblyName>Assembly-CSharp-Editor</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>Temp\bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE;UNITY_3_5_2;UNITY_3_5;UNITY_EDITOR;ENABLE_PROFILER;UNITY_ANDROID;ENABLE_GENERICS;ENABLE_TERRAIN;ENABLE_WEBCAM;ENABLE_NETWORK;ENABLE_CLOTH;ENABLE_WWW;ENABLE_DUCK_TYPING</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>Temp\bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.XML" />
+ <Reference Include="System.Core" />
+ <Reference Include="UnityEngine">
+ <HintPath>E:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll</HintPath>
+ </Reference>
+ <Reference Include="UnityEditor">
+ <HintPath>E:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Assets\EasyRoads3D\Editor\EasyRoadsEditorMenu.cs" />
+ <Compile Include="Assets\EasyRoads3D\Editor\NewEasyRoads3D.cs" />
+ <Compile Include="Assets\EasyRoads3D\Editor\ObjectManager.cs" />
+ <Compile Include="Assets\EasyRoads3D\Editor\ProceduralObjectsEditor.cs" />
+ <Compile Include="Assets\EasyRoads3D\Editor\SideObjectImporter.cs" />
+ <Compile Include="Assets\EasyRoads3D\Editor\SideObjectInit.cs" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Multiply Culled.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Basic.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Background.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Transparent Vertex Color.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface_Alpha.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Detail.shader" />
+ <None Include="Assets\Standard Assets\Particles\Sources\Shaders\Particle Alpha Blend (Queue +100).shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D Marker.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-BasicOutline.shader" />
+ <None Include="Assets\Standard Assets\Water (Basic)\Sources\Shaders\FX-Water Simple.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Reflective.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Particles Additive Culled.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\surfaceAlpha.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-LightedOutline.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Lighted.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Normal-Diffuse.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Vertex Colored.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Only.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap AlphaTest.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Road-Edit-Mode.shader" />
+ <Reference Include="Assembly-UnityScript-firstpass">
+ <HintPath>Library\ScriptAssemblies\Assembly-UnityScript-firstpass.dll</HintPath>
+ </Reference>
+ <Reference Include="Assembly-UnityScript">
+ <HintPath>Library\ScriptAssemblies\Assembly-UnityScript.dll</HintPath>
+ </Reference>
+ <Reference Include="EasyRoads3DEditor">
+ <HintPath>Assets\EasyRoads3D\Editor\EasyRoads3DEditor.dll</HintPath>
+ </Reference>
+ <Reference Include="EasyRoads3D">
+ <HintPath>Assets\EasyRoads3D\lib\EasyRoads3D.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="Assembly-CSharp-firstpass-vs.csproj">
+ <Project>{9EFFE3A6-E335-C25A-64EF-8953DC46EB0B}</Project> <Name>Assembly-CSharp-firstpass-vs</Name> </ProjectReference>
+ <ProjectReference Include="Assembly-CSharp-vs.csproj">
+ <Project>{224B46A9-4176-02F8-BAE8-3A0609A244FC}</Project> <Name>Assembly-CSharp-vs</Name> </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+
+</Project>
View
101 CarTest/Assembly-CSharp-Editor.csproj
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>10.0.20506</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{13A84607-370E-2056-CC10-31C2C7577D04}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace></RootNamespace>
+ <AssemblyName>Assembly-CSharp-Editor</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>Temp\bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE;UNITY_3_5_2;UNITY_3_5;UNITY_EDITOR;ENABLE_PROFILER;UNITY_ANDROID;ENABLE_GENERICS;ENABLE_TERRAIN;ENABLE_WEBCAM;ENABLE_NETWORK;ENABLE_CLOTH;ENABLE_WWW;ENABLE_DUCK_TYPING</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>Temp\bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.XML" />
+ <Reference Include="System.Core" />
+ <Reference Include="UnityEngine">
+ <HintPath>E:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll</HintPath>
+ </Reference>
+ <Reference Include="UnityEditor">
+ <HintPath>E:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Assets\EasyRoads3D\Editor\EasyRoadsEditorMenu.cs" />
+ <Compile Include="Assets\EasyRoads3D\Editor\NewEasyRoads3D.cs" />
+ <Compile Include="Assets\EasyRoads3D\Editor\ObjectManager.cs" />
+ <Compile Include="Assets\EasyRoads3D\Editor\ProceduralObjectsEditor.cs" />
+ <Compile Include="Assets\EasyRoads3D\Editor\SideObjectImporter.cs" />
+ <Compile Include="Assets\EasyRoads3D\Editor\SideObjectInit.cs" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Multiply Culled.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Basic.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Background.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Transparent Vertex Color.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface_Alpha.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Detail.shader" />
+ <None Include="Assets\Standard Assets\Particles\Sources\Shaders\Particle Alpha Blend (Queue +100).shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D Marker.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-BasicOutline.shader" />
+ <None Include="Assets\Standard Assets\Water (Basic)\Sources\Shaders\FX-Water Simple.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Reflective.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Particles Additive Culled.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\surfaceAlpha.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-LightedOutline.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Lighted.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Normal-Diffuse.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Vertex Colored.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Only.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap AlphaTest.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Road-Edit-Mode.shader" />
+ <Reference Include="EasyRoads3DEditor">
+ <HintPath>Assets\EasyRoads3D\Editor\EasyRoads3DEditor.dll</HintPath>
+ </Reference>
+ <Reference Include="EasyRoads3D">
+ <HintPath>Assets\EasyRoads3D\lib\EasyRoads3D.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="Assembly-CSharp-firstpass.csproj">
+ <Project>{9EFFE3A6-E335-C25A-64EF-8953DC46EB0B}</Project> <Name>Assembly-CSharp-firstpass</Name> </ProjectReference>
+ <ProjectReference Include="Assembly-UnityScript-firstpass.unityproj">
+ <Project>{0802A4AA-6BC9-4F2E-5229-FD7612EBF973}</Project> <Name>Assembly-UnityScript-firstpass</Name> </ProjectReference>
+ <ProjectReference Include="Assembly-CSharp.csproj">
+ <Project>{224B46A9-4176-02F8-BAE8-3A0609A244FC}</Project> <Name>Assembly-CSharp</Name> </ProjectReference>
+ <ProjectReference Include="Assembly-UnityScript.unityproj">
+ <Project>{DD6294EA-AF9A-6B4E-E1FE-4A385D628BB1}</Project> <Name>Assembly-UnityScript</Name> </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+
+</Project>
View
10 CarTest/Assembly-CSharp-firstpass-vs.csproj
@@ -49,17 +49,27 @@
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Basic.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Background.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Transparent Vertex Color.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface_Alpha.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Detail.shader" />
<None Include="Assets\Standard Assets\Particles\Sources\Shaders\Particle Alpha Blend (Queue +100).shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D Marker.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-BasicOutline.shader" />
<None Include="Assets\Standard Assets\Water (Basic)\Sources\Shaders\FX-Water Simple.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Reflective.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Particles Additive Culled.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\surfaceAlpha.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-LightedOutline.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Lighted.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Normal-Diffuse.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Vertex Colored.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Only.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap AlphaTest.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Road-Edit-Mode.shader" />
+ <Reference Include="EasyRoads3D">
+ <HintPath>Assets\EasyRoads3D\lib\EasyRoads3D.dll</HintPath>
+ </Reference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
View
10 CarTest/Assembly-CSharp-firstpass.csproj
@@ -49,17 +49,27 @@
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Basic.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Background.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Transparent Vertex Color.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface_Alpha.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Detail.shader" />
<None Include="Assets\Standard Assets\Particles\Sources\Shaders\Particle Alpha Blend (Queue +100).shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D Marker.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-BasicOutline.shader" />
<None Include="Assets\Standard Assets\Water (Basic)\Sources\Shaders\FX-Water Simple.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Reflective.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Particles Additive Culled.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\surfaceAlpha.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-LightedOutline.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Lighted.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Normal-Diffuse.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Vertex Colored.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Only.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap AlphaTest.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Road-Edit-Mode.shader" />
+ <Reference Include="EasyRoads3D">
+ <HintPath>Assets\EasyRoads3D\lib\EasyRoads3D.dll</HintPath>
+ </Reference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
View
94 CarTest/Assembly-CSharp-vs.csproj
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>10.0.20506</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{224B46A9-4176-02F8-BAE8-3A0609A244FC}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace></RootNamespace>
+ <AssemblyName>Assembly-CSharp</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>Temp\bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE;UNITY_3_5_2;UNITY_3_5;UNITY_EDITOR;ENABLE_PROFILER;UNITY_ANDROID;ENABLE_GENERICS;ENABLE_TERRAIN;ENABLE_WEBCAM;ENABLE_NETWORK;ENABLE_CLOTH;ENABLE_WWW</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>Temp\bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.XML" />
+ <Reference Include="System.Core" />
+ <Reference Include="UnityEngine">
+ <HintPath>E:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll</HintPath>
+ </Reference>
+ <Reference Include="UnityEditor">
+ <HintPath>E:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Assets\EasyRoads3D\scripts\EasyRoads3DTerrainID.cs" />
+ <Compile Include="Assets\EasyRoads3D\scripts\MarkerScript.cs" />
+ <Compile Include="Assets\EasyRoads3D\scripts\RoadObjectScript.cs" />
+ <Compile Include="Assets\EasyRoads3D\scripts\SurfaceScript.cs" />
+ <Compile Include="Assets\EasyRoads3D\scripts\sideObjectScript.cs" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Multiply Culled.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Basic.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Background.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Transparent Vertex Color.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface_Alpha.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Detail.shader" />
+ <None Include="Assets\Standard Assets\Particles\Sources\Shaders\Particle Alpha Blend (Queue +100).shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D Marker.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-BasicOutline.shader" />
+ <None Include="Assets\Standard Assets\Water (Basic)\Sources\Shaders\FX-Water Simple.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Reflective.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Particles Additive Culled.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\surfaceAlpha.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-LightedOutline.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Lighted.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Normal-Diffuse.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Vertex Colored.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Only.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap AlphaTest.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Road-Edit-Mode.shader" />
+ <Reference Include="Assembly-UnityScript-firstpass">
+ <HintPath>Library\ScriptAssemblies\Assembly-UnityScript-firstpass.dll</HintPath>
+ </Reference>
+ <Reference Include="EasyRoads3D">
+ <HintPath>Assets\EasyRoads3D\lib\EasyRoads3D.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="Assembly-CSharp-firstpass-vs.csproj">
+ <Project>{9EFFE3A6-E335-C25A-64EF-8953DC46EB0B}</Project> <Name>Assembly-CSharp-firstpass-vs</Name> </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+
+</Project>
View
93 CarTest/Assembly-CSharp.csproj
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>10.0.20506</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{224B46A9-4176-02F8-BAE8-3A0609A244FC}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace></RootNamespace>
+ <AssemblyName>Assembly-CSharp</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>Temp\bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE;UNITY_3_5_2;UNITY_3_5;UNITY_EDITOR;ENABLE_PROFILER;UNITY_ANDROID;ENABLE_GENERICS;ENABLE_TERRAIN;ENABLE_WEBCAM;ENABLE_NETWORK;ENABLE_CLOTH;ENABLE_WWW</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>Temp\bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.XML" />
+ <Reference Include="System.Core" />
+ <Reference Include="UnityEngine">
+ <HintPath>E:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll</HintPath>
+ </Reference>
+ <Reference Include="UnityEditor">
+ <HintPath>E:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Assets\EasyRoads3D\scripts\EasyRoads3DTerrainID.cs" />
+ <Compile Include="Assets\EasyRoads3D\scripts\MarkerScript.cs" />
+ <Compile Include="Assets\EasyRoads3D\scripts\RoadObjectScript.cs" />
+ <Compile Include="Assets\EasyRoads3D\scripts\SurfaceScript.cs" />
+ <Compile Include="Assets\EasyRoads3D\scripts\sideObjectScript.cs" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Multiply Culled.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Basic.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Background.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Transparent Vertex Color.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface_Alpha.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Detail.shader" />
+ <None Include="Assets\Standard Assets\Particles\Sources\Shaders\Particle Alpha Blend (Queue +100).shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D Marker.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-BasicOutline.shader" />
+ <None Include="Assets\Standard Assets\Water (Basic)\Sources\Shaders\FX-Water Simple.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Reflective.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Particles Additive Culled.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\surfaceAlpha.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-LightedOutline.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Lighted.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Normal-Diffuse.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Vertex Colored.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Only.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap AlphaTest.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Road-Edit-Mode.shader" />
+ <Reference Include="EasyRoads3D">
+ <HintPath>Assets\EasyRoads3D\lib\EasyRoads3D.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="Assembly-CSharp-firstpass.csproj">
+ <Project>{9EFFE3A6-E335-C25A-64EF-8953DC46EB0B}</Project> <Name>Assembly-CSharp-firstpass</Name> </ProjectReference>
+ <ProjectReference Include="Assembly-UnityScript-firstpass.unityproj">
+ <Project>{0802A4AA-6BC9-4F2E-5229-FD7612EBF973}</Project> <Name>Assembly-UnityScript-firstpass</Name> </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+
+</Project>
View
103 CarTest/Assembly-UnityScript-Editor-vs.unityproj
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>10.0.20506</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{E18534BA-12F2-3A7D-C369-01F1C4A6103E}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace></RootNamespace>
+ <AssemblyName>Assembly-UnityScript-Editor</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>Temp\bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE;UNITY_3_5_2;UNITY_3_5;UNITY_EDITOR;ENABLE_PROFILER;UNITY_ANDROID;ENABLE_GENERICS;ENABLE_TERRAIN;ENABLE_WEBCAM;ENABLE_NETWORK;ENABLE_CLOTH;ENABLE_WWW;ENABLE_DUCK_TYPING</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>Temp\bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.XML" />
+ <Reference Include="System.Core" />
+ <Reference Include="UnityEngine">
+ <HintPath>E:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll</HintPath>
+ </Reference>
+ <Reference Include="UnityEditor">
+ <HintPath>E:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Assets\EasyRoads3D\Editor\ERTextureWindow.js" />
+ <Compile Include="Assets\EasyRoads3D\Editor\MarkerEditorScript.js" />
+ <Compile Include="Assets\EasyRoads3D\Editor\RoadObjectEditorScript.js" />
+ <Compile Include="Assets\EasyRoads3D\Editor\SurfaceEditorScript.js" />
+ <Compile Include="Assets\EasyRoads3D\Editor\TerrainEditorScript.js" />
+ <Compile Include="Assets\EasyRoads3D\Editor\sideObjectEditorScript.js" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Multiply Culled.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Basic.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Background.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Transparent Vertex Color.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface_Alpha.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Detail.shader" />
+ <None Include="Assets\Standard Assets\Particles\Sources\Shaders\Particle Alpha Blend (Queue +100).shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D Marker.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-BasicOutline.shader" />
+ <None Include="Assets\Standard Assets\Water (Basic)\Sources\Shaders\FX-Water Simple.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Reflective.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Particles Additive Culled.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\surfaceAlpha.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-LightedOutline.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Lighted.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Normal-Diffuse.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Vertex Colored.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Only.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap AlphaTest.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Road-Edit-Mode.shader" />
+ <Reference Include="Assembly-UnityScript-firstpass">
+ <HintPath>Library\ScriptAssemblies\Assembly-UnityScript-firstpass.dll</HintPath>
+ </Reference>
+ <Reference Include="Assembly-UnityScript">
+ <HintPath>Library\ScriptAssemblies\Assembly-UnityScript.dll</HintPath>
+ </Reference>
+ <Reference Include="EasyRoads3DEditor">
+ <HintPath>Assets\EasyRoads3D\Editor\EasyRoads3DEditor.dll</HintPath>
+ </Reference>
+ <Reference Include="EasyRoads3D">
+ <HintPath>Assets\EasyRoads3D\lib\EasyRoads3D.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="Assembly-CSharp-firstpass-vs.csproj">
+ <Project>{9EFFE3A6-E335-C25A-64EF-8953DC46EB0B}</Project> <Name>Assembly-CSharp-firstpass-vs</Name> </ProjectReference>
+ <ProjectReference Include="Assembly-CSharp-vs.csproj">
+ <Project>{224B46A9-4176-02F8-BAE8-3A0609A244FC}</Project> <Name>Assembly-CSharp-vs</Name> </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+
+</Project>
View
101 CarTest/Assembly-UnityScript-Editor.unityproj
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>10.0.20506</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{E18534BA-12F2-3A7D-C369-01F1C4A6103E}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace></RootNamespace>
+ <AssemblyName>Assembly-UnityScript-Editor</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>Temp\bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE;UNITY_3_5_2;UNITY_3_5;UNITY_EDITOR;ENABLE_PROFILER;UNITY_ANDROID;ENABLE_GENERICS;ENABLE_TERRAIN;ENABLE_WEBCAM;ENABLE_NETWORK;ENABLE_CLOTH;ENABLE_WWW;ENABLE_DUCK_TYPING</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>Temp\bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <NoWarn>0169</NoWarn>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.XML" />
+ <Reference Include="System.Core" />
+ <Reference Include="UnityEngine">
+ <HintPath>E:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll</HintPath>
+ </Reference>
+ <Reference Include="UnityEditor">
+ <HintPath>E:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Assets\EasyRoads3D\Editor\ERTextureWindow.js" />
+ <Compile Include="Assets\EasyRoads3D\Editor\MarkerEditorScript.js" />
+ <Compile Include="Assets\EasyRoads3D\Editor\RoadObjectEditorScript.js" />
+ <Compile Include="Assets\EasyRoads3D\Editor\SurfaceEditorScript.js" />
+ <Compile Include="Assets\EasyRoads3D\Editor\TerrainEditorScript.js" />
+ <Compile Include="Assets\EasyRoads3D\Editor\sideObjectEditorScript.js" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Multiply Culled.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Basic.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Background.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Transparent Vertex Color.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface_Alpha.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Detail.shader" />
+ <None Include="Assets\Standard Assets\Particles\Sources\Shaders\Particle Alpha Blend (Queue +100).shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D Marker.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-BasicOutline.shader" />
+ <None Include="Assets\Standard Assets\Water (Basic)\Sources\Shaders\FX-Water Simple.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Reflective.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Particles Additive Culled.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\surfaceAlpha.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-LightedOutline.shader" />
+ <None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Lighted.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Normal-Diffuse.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Vertex Colored.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Only.shader" />
+ <None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap AlphaTest.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Road-Edit-Mode.shader" />
+ <Reference Include="EasyRoads3DEditor">
+ <HintPath>Assets\EasyRoads3D\Editor\EasyRoads3DEditor.dll</HintPath>
+ </Reference>
+ <Reference Include="EasyRoads3D">
+ <HintPath>Assets\EasyRoads3D\lib\EasyRoads3D.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="Assembly-CSharp-firstpass.csproj">
+ <Project>{9EFFE3A6-E335-C25A-64EF-8953DC46EB0B}</Project> <Name>Assembly-CSharp-firstpass</Name> </ProjectReference>
+ <ProjectReference Include="Assembly-UnityScript-firstpass.unityproj">
+ <Project>{0802A4AA-6BC9-4F2E-5229-FD7612EBF973}</Project> <Name>Assembly-UnityScript-firstpass</Name> </ProjectReference>
+ <ProjectReference Include="Assembly-CSharp.csproj">
+ <Project>{224B46A9-4176-02F8-BAE8-3A0609A244FC}</Project> <Name>Assembly-CSharp</Name> </ProjectReference>
+ <ProjectReference Include="Assembly-UnityScript.unityproj">
+ <Project>{DD6294EA-AF9A-6B4E-E1FE-4A385D628BB1}</Project> <Name>Assembly-UnityScript</Name> </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+
+</Project>
View
10 CarTest/Assembly-UnityScript-firstpass-vs.unityproj
@@ -49,17 +49,27 @@
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Basic.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Background.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Transparent Vertex Color.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface_Alpha.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Detail.shader" />
<None Include="Assets\Standard Assets\Particles\Sources\Shaders\Particle Alpha Blend (Queue +100).shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D Marker.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-BasicOutline.shader" />
<None Include="Assets\Standard Assets\Water (Basic)\Sources\Shaders\FX-Water Simple.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Reflective.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Particles Additive Culled.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\surfaceAlpha.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-LightedOutline.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Lighted.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Normal-Diffuse.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Vertex Colored.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Only.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap AlphaTest.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Road-Edit-Mode.shader" />
+ <Reference Include="EasyRoads3D">
+ <HintPath>Assets\EasyRoads3D\lib\EasyRoads3D.dll</HintPath>
+ </Reference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
View
10 CarTest/Assembly-UnityScript-firstpass.unityproj
@@ -49,17 +49,27 @@
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Basic.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Background.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Transparent Vertex Color.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface_Alpha.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Detail.shader" />
<None Include="Assets\Standard Assets\Particles\Sources\Shaders\Particle Alpha Blend (Queue +100).shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D Marker.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-BasicOutline.shader" />
<None Include="Assets\Standard Assets\Water (Basic)\Sources\Shaders\FX-Water Simple.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Reflective.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Particles Additive Culled.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\surfaceAlpha.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-LightedOutline.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Lighted.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Normal-Diffuse.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Vertex Colored.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Only.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap AlphaTest.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Road-Edit-Mode.shader" />
+ <Reference Include="EasyRoads3D">
+ <HintPath>Assets\EasyRoads3D\lib\EasyRoads3D.dll</HintPath>
+ </Reference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
View
10 CarTest/Assembly-UnityScript-vs.unityproj
@@ -64,20 +64,30 @@
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Basic.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Background.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Transparent Vertex Color.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface_Alpha.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Detail.shader" />
<None Include="Assets\Standard Assets\Particles\Sources\Shaders\Particle Alpha Blend (Queue +100).shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D Marker.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-BasicOutline.shader" />
<None Include="Assets\Standard Assets\Water (Basic)\Sources\Shaders\FX-Water Simple.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Reflective.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Particles Additive Culled.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\surfaceAlpha.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-LightedOutline.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Lighted.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Normal-Diffuse.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Vertex Colored.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Only.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap AlphaTest.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Road-Edit-Mode.shader" />
<Reference Include="Assembly-UnityScript-firstpass">
<HintPath>Library\ScriptAssemblies\Assembly-UnityScript-firstpass.dll</HintPath>
</Reference>
+ <Reference Include="EasyRoads3D">
+ <HintPath>Assets\EasyRoads3D\lib\EasyRoads3D.dll</HintPath>
+ </Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="Assembly-CSharp-firstpass-vs.csproj">
View
BIN  CarTest/Assembly-UnityScript.pidb
Binary file not shown
View
10 CarTest/Assembly-UnityScript.unityproj
@@ -64,17 +64,27 @@
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Basic.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Background.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Transparent Vertex Color.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Surface_Alpha.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Detail.shader" />
<None Include="Assets\Standard Assets\Particles\Sources\Shaders\Particle Alpha Blend (Queue +100).shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D Marker.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-BasicOutline.shader" />
<None Include="Assets\Standard Assets\Water (Basic)\Sources\Shaders\FX-Water Simple.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Reflective.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Particles Additive Culled.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\surfaceAlpha.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-LightedOutline.shader" />
<None Include="Assets\Standard Assets\Toon Shading\Sources\Shaders\Toony-Lighted.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Normal-Diffuse.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Vertex Colored Shaders\Mobile Vertex Colored.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap Only.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Lightmap Shaders (Legacy)\Mobile Lightmap AlphaTest.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\Surface.shader" />
+ <None Include="Assets\EasyRoads3D\Shaders\EasyRoads3D-Road-Edit-Mode.shader" />
+ <Reference Include="EasyRoads3D">
+ <HintPath>Assets\EasyRoads3D\lib\EasyRoads3D.dll</HintPath>
+ </Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="Assembly-CSharp-firstpass.csproj">
View
197 CarTest/Assets/EasyRoads3D/Editor/ERTextureWindow.js
@@ -0,0 +1,197 @@
+import System.IO;
+class ERTextureWindow extends EditorWindow {
+public static var instance : ERTextureWindow ;
+private var roadTexture : Texture2D;
+private var scrollPosition : Vector2;
+private var selectedItem : int = 0;
+private var shaders1 : String[];
+private var shaders2 : String[];
+private var shaders3 : String[];
+private var roadTextures : Texture2D[];
+private var texturePaths : String[];
+private var shaderOptions : int[];
+private var selInt : int[];
+private var dtextures : ArrayList = new ArrayList();
+private var btextures : ArrayList = new ArrayList();
+private var stextures : ArrayList = new ArrayList();
+static public var window : ERTextureWindow;
+static private var roadscript : RoadObjectScript;
+public static var test : int;
+static function Init (scr : RoadObjectScript) {
+
+roadscript = scr;
+window = EditorWindow.GetWindow (ERTextureWindow);
+
+}
+public function ERTextureWindow() {
+
+instance = this;
+title = "Road Materials";
+GetFiles() ;
+
+
+
+}
+function OnDestroy(){
+instance = null;
+}
+function OnGUI () {
+if(shaders1 == null){
+shaders1 = new String[1];
+shaders1[0] = "Diffuse";
+shaders2 = new String[2];
+shaders2[0] = "Diffuse";shaders2[1] = "Bumpmap Diffuse";
+shaders3 = new String[3];
+shaders3[0] = "Diffuse";shaders3[1] = "Bumpmap Diffuse";shaders3[2] = "Bumped Specular";
+}
+var r : Rect = this.position;
+
+var cols : int = Mathf.Floor(r.width / 150f);
+
+
+scrollPosition = EditorGUILayout.BeginScrollView(scrollPosition);
+GUILayout.Space(10);
+var k : int = 0;
+var l : int = 0;
+for(i = 0; i < 5; i++){
+EditorGUILayout.BeginHorizontal();
+GUILayout.Space(10);
+for(j= 0; j < cols; j++){
+if(GUILayout.Button (roadTextures[k], GUILayout.Width(125), GUILayout.Height(125))){
+SetMaterial(roadTextures[k], selInt[k], texturePaths[k], k);
+}
+GUILayout.Space(25);
+k++;
+if(k >= roadTextures.length) break;
+}
+EditorGUILayout.EndHorizontal();
+GUILayout.Space(1);
+EditorGUILayout.BeginHorizontal();
+GUILayout.Space(10);
+for(j= 0; j < cols; j++){
+var oldItem : int = selInt[l];
+if(shaderOptions[l] == 1) selInt[l]= EditorGUILayout.Popup (selInt[l], shaders1, EditorStyles.toolbarPopup , GUILayout.Width(125) );
+else if(shaderOptions[l] == 2) selInt[l]= EditorGUILayout.Popup (selInt[l], shaders2, EditorStyles.toolbarPopup , GUILayout.Width(125) );
+else if(shaderOptions[l] == 3) selInt[l]= EditorGUILayout.Popup (selInt[l], shaders3, EditorStyles.toolbarPopup , GUILayout.Width(125) );
+if(oldItem != selInt[l] && selectedItem == l) SetMaterial(roadTextures[l], selInt[l], texturePaths[l], l);
+GUILayout.Space(29);
+l++;
+if(l >= roadTextures.length) break;
+}
+EditorGUILayout.EndHorizontal();
+GUILayout.Space(10);
+if(k >= roadTextures.length) break;
+}
+EditorGUILayout.EndScrollView();
+}
+function GetFiles() {
+var textures : ArrayList = new ArrayList();
+var dir : DirectoryInfo= new DirectoryInfo(Application.dataPath + "/EasyRoads3D/Textures/Road Textures/");
+
+var extStrings : String[] = new String[1];
+extStrings[0] = "*.*";
+for(var ext : String in extStrings){
+for(var f : FileInfo in dir.GetFiles(ext)) {
+var name : String = f. Name;
+textures.Add(name);
+
+}
+}
+
+dtextures.Clear();
+btextures.Clear();
+stextures.Clear();
+for(file in textures){
+if(file.IndexOf("_d.") >= 0 ) dtextures.Add(file);
+else if(file.IndexOf("_b.") >= 0 ) btextures.Add(file);
+else if(file.IndexOf("_s.") >= 0 ) stextures.Add(file);
+else dtextures.Add(file);
+}
+roadTextures = new Texture2D[dtextures.Count];
+texturePaths = new String[dtextures.Count];
+shaderOptions = new int[dtextures.Count];
+selInt = new int[dtextures.Count];
+var i : int = 0;
+for(file in dtextures){
+
+// Debug.Log("/Assets/EasyRoads3D/Textures/Road Textures/" + file);
+roadTextures[i] = AssetDatabase.LoadAssetAtPath("Assets/EasyRoads3D/Textures/Road Textures/" + file, typeof(Texture2D));
+
+var arr = file.Split("_"[0]);
+var extr : String = "";
+if(arr.length > 2){
+for(l = 0; l < arr.length - 1;l++) extr += arr[l] + "_";
+extr = extr.Substring(0, extr.length - 1);
+}else{
+extr = arr[0];
+}
+
+var option : int = 1;
+for(fb in btextures){
+
+if(fb.IndexOf(extr ) >= 0){
+option++;
+option++;
+for(fs in stextures){
+if(fs.IndexOf(extr ) >= 0){
+
+break;
+}
+}
+break;
+}
+}
+shaderOptions[i] = option;
+texturePaths[i] = file;
+i++;
+}
+}
+function SetMaterial(tex, shader, file, item){
+// Debug.Log(shader +" "+file);
+selectedItem = item;
+var arr = file.Split("_"[0]);
+var extr : String = "";
+if(arr.length > 2){
+for(l = 0; l < arr.length - 1;l++) extr += arr[l] + "_";
+extr = extr.Substring(0, extr.length - 1);
+}else{
+extr = arr[0];
+}
+mat = Resources.Load("roadMaterial", typeof(Material));
+matEdit = Resources.Load("roadMaterialEdit", typeof(Material));
+if(shader == 0) mat.shader = Shader.Find ("EasyRoads3D/Diffuse");
+else if(shader == 1){
+mat.shader = Shader.Find ("EasyRoads3D/Bumped Diffuse");
+var btex : String = "";
+for(fb in btextures){
+if(fb.IndexOf(extr ) >= 0){
+btex = fb;
+break;
+}
+}
+mat.SetTexture("_BumpMap",AssetDatabase.LoadAssetAtPath("Assets/EasyRoads3D/Textures/Road Textures/" + btex, typeof(Texture2D)));
+}else if(shader == 2){
+mat.shader = Shader.Find ("EasyRoads3D/Bumped Specular");
+btex = "";
+for(fb in btextures){
+if(fb.IndexOf(extr ) >= 0){
+btex = fb;
+break;
+}
+}
+}
+roadscript.roadTexture = tex;
+mat.mainTexture = tex;
+matEdit.mainTexture = tex;
+var road : GameObject = roadscript.OOCQDCOCCQ.road;
+if(road != null){
+if(road.transform.childCount > 0){
+for(child in road.transform){
+child.gameObject.renderer.material = mat;
+}
+}else{
+road.renderer.material = mat;
+}
+}
+}
+}
View
BIN  CarTest/Assets/EasyRoads3D/Editor/EasyRoads3DEditor.dll
Binary file not shown
View
154 CarTest/Assets/EasyRoads3D/Editor/EasyRoadsEditorMenu.cs
@@ -0,0 +1,154 @@
+using System;
+using System.Collections;
+using System.IO;
+using UnityEngine;
+using UnityEditor;
+using EasyRoads3D;
+using EasyRoads3DEditor;
+public class EasyRoadsEditorMenu : ScriptableObject {
+
+
+
+
+
+
+
+[MenuItem( "EasyRoads3D/New Object" )]
+public static void CreateEasyRoads3DObject ()
+{
+
+Terrain[] terrains = (Terrain[]) FindObjectsOfType(typeof(Terrain));
+if(terrains.Length == 0){
+EditorUtility.DisplayDialog("Alert", "No Terrain objects found! EasyRoads3D objects requires a terrain object to interact with. Please create a Terrain object first", "Close");
+return;
+}
+
+
+
+if(NewEasyRoads3D.instance == null){
+NewEasyRoads3D window = (NewEasyRoads3D)ScriptableObject.CreateInstance(typeof(NewEasyRoads3D));
+window.ShowUtility();
+}
+
+
+
+}
+[MenuItem( "EasyRoads3D/Back Up/Terrain Height Data" )]
+public static void GetTerrain ()
+{
+if(GetEasyRoads3DObjects()){
+
+ODOOOQCCOD.OQQCDDDDQO(Selection.activeGameObject);
+}else{
+EditorUtility.DisplayDialog("Alert", "No EasyRoads3D objects found! Terrain functions cannot be accessed!", "Close");
+}
+}
+[MenuItem( "EasyRoads3D/Restore/Terrain Height Data" )]
+public static void SetTerrain ()
+{
+if(GetEasyRoads3DObjects()){
+
+ODOOOQCCOD.OOOCDDDOQO(Selection.activeGameObject);
+}else{
+EditorUtility.DisplayDialog("Alert", "No EasyRoads3D objects found! Terrain functions cannot be accessed!", "Close");
+}
+}
+[MenuItem( "EasyRoads3D/Back Up/Terrain Splatmap Data" )]
+public static void OQDDCQOCQO()
+{
+if(GetEasyRoads3DObjects()){
+
+ODOOOQCCOD.OQDDCQOCQO(Selection.activeGameObject);
+}else{
+EditorUtility.DisplayDialog("Alert", "No EasyRoads3D objects found! Terrain functions cannot be accessed!", "Close");
+}
+}
+[MenuItem( "EasyRoads3D/Restore/Terrain Splatmap Data" )]
+public static void OQQQOQQOQC ()
+{
+if(GetEasyRoads3DObjects()){
+string path = "";
+if(EditorUtility.DisplayDialog("Road Splatmap", "Would you like to merge the terrain splatmap(s) with a road splatmap?", "Yes", "No")){
+path = EditorUtility.OpenFilePanel("Select png road splatmap texture", "", "png");
+}
+
+
+ODOOOQCCOD.OQCQODOQDQ(true, 100, 4, path, Selection.activeGameObject);
+}else{
+EditorUtility.DisplayDialog("Alert", "No EasyRoads3D objects found! Terrain functions cannot be accessed!", "Close");
+}
+}
+[MenuItem( "EasyRoads3D/Back Up/Terrain Vegetation Data" )]
+public static void OCCOCCQDOO()
+{
+if(GetEasyRoads3DObjects()){
+
+ODOOOQCCOD.OCCOCCQDOO(Selection.activeGameObject, null, "");
+}else{
+EditorUtility.DisplayDialog("Alert", "No EasyRoads3D objects found! Terrain functions cannot be accessed!", "Close");
+}
+}
+[MenuItem( "EasyRoads3D/Back Up/All Terrain Data" )]
+public static void GetAllData()
+{
+if(GetEasyRoads3DObjects()){
+
+ODOOOQCCOD.OQQCDDDDQO(Selection.activeGameObject);
+ODOOOQCCOD.OQDDCQOCQO(Selection.activeGameObject);
+ODOOOQCCOD.OCCOCCQDOO(Selection.activeGameObject, null,"");
+}else{
+EditorUtility.DisplayDialog("Alert", "No EasyRoads3D objects found! Terrain functions cannot be accessed!", "Close");
+}
+}
+[MenuItem( "EasyRoads3D/Restore/Terrain Vegetation Data" )]
+public static void OOCOODCQCC()
+{
+if(GetEasyRoads3DObjects()){
+
+ODOOOQCCOD.OOCOODCQCC(Selection.activeGameObject);
+}else{
+EditorUtility.DisplayDialog("Alert", "No EasyRoads3D objects found! Terrain functions cannot be accessed!", "Close");
+}
+}
+[MenuItem( "EasyRoads3D/Restore/All Terrain Data" )]
+public static void RestoreAllData()
+{
+if(GetEasyRoads3DObjects()){
+
+ODOOOQCCOD.OOOCDDDOQO(Selection.activeGameObject);
+ODOOOQCCOD.OQCQODOQDQ(true, 100, 4, "", Selection.activeGameObject);
+ODOOOQCCOD.OOCOODCQCC(Selection.activeGameObject);
+
+}else{
+EditorUtility.DisplayDialog("Alert", "No EasyRoads3D objects found! Terrain functions cannot be accessed!", "Close");
+}
+
+
+}
+public static bool GetEasyRoads3DObjects(){
+RoadObjectScript[] scripts = (RoadObjectScript[])FindObjectsOfType(typeof(RoadObjectScript));
+bool flag = false;
+foreach (RoadObjectScript script in scripts) {
+if(script.OOCQDCOCCQ == null){
+script.ODQDOOODOD(null, null, null);
+}
+flag = true;
+}
+return flag;
+}
+public static Vector3 ReadFile(string file)
+{
+Vector3 pos = Vector3.zero;
+if(File.Exists(file)){
+StreamReader streamReader = File.OpenText(file);
+string line = streamReader.ReadLine();
+line = line.Replace(",",".");
+string[] lines = line.Split("\n"[0]);
+string[] arr = lines[0].Split("|"[0]);
+float.TryParse(arr[0],System.Globalization.NumberStyles.Float, System.Globalization.NumberFormatInfo.InvariantInfo, out pos.x);
+float.TryParse(arr[1],System.Globalization.NumberStyles.Float, System.Globalization.NumberFormatInfo.InvariantInfo, out pos.y);
+float.TryParse(arr[2],System.Globalization.NumberStyles.Float, System.Globalization.NumberFormatInfo.InvariantInfo, out pos.z);
+}
+return pos;
+}
+}
View
355 CarTest/Assets/EasyRoads3D/Editor/MarkerEditorScript.js
@@ -0,0 +1,355 @@
+import EasyRoads3D;
+@CustomEditor(MarkerScript)
+@CanEditMultipleObjects
+class MarkerEditorScript extends Editor
+{
+var oldPos : Vector3;
+var pos : Vector3;
+var ODQOQCOCQC : GUISkin;
+var OQDQQCOOCQ : GUISkin;
+var showGui : int;
+var OCQDDDQCDC : boolean;
+var count:int = 0;
+function OnEnable(){
+if(target.objectScript == null) target.SetObjectScript();
+}
+function OnInspectorGUI()
+{
+
+showGui = EasyRoadsGUIMenu(false, false, target.objectScript);
+if(showGui != -1 && !target.objectScript.ODODDQOO) Selection.activeGameObject = target.transform.parent.parent.gameObject;
+else if(target.objectScript.OODQDQDQQQs.length <= 1 && !target.objectScript.ODODDDOO) ERMarkerGUI(target);
+else if(target.objectScript.OODQDQDQQQs.length == 2 && !target.objectScript.ODODDDOO) MSMarkerGUI(target);
+else if(target.objectScript.ODODDDOO)TRMarkerGUI(target);
+
+
+}
+function OnSceneGUI() {
+if(target.objectScript.OOCQDCOCCQ == null || target.objectScript.erInit == "") Selection.activeGameObject = target.transform.parent.parent.gameObject;
+else MarkerOnScene(target);
+}
+function EasyRoadsGUIMenu(flag : boolean, senderIsMain : boolean, nRoadScript : RoadObjectScript) : int {
+if((target.objectScript.ODOCOODCDQ == null || target.objectScript.OQDDCOQQCC == null || target.objectScript.ODCODQOOQD == null) && target.objectScript.OOCQDCOCCQ){
+target.objectScript.ODOCOODCDQ = new boolean[5];
+target.objectScript.OQDDCOQQCC = new boolean[5];
+target.objectScript.ODCODQOOQD = nRoadScript;
+
+target.objectScript.OODODOQDCO = target.objectScript.OOCQDCOCCQ.OQODQCDQOO();
+target.objectScript.ODODQOQO = target.objectScript.OOCQDCOCCQ.OCDODQCQCQ();
+target.objectScript.ODODQOQOInt = target.objectScript.OOCQDCOCCQ.OOQOOQCQOO();
+}else if(target.objectScript.OOCQDCOCCQ == null) return;
+
+if(target.objectScript.ODQOQCOCQC == null){
+target.objectScript.ODQOQCOCQC = Resources.Load("ER3DSkin", GUISkin);
+target.objectScript.OQDCOQDQOO = Resources.Load("ER3DLogo", Texture2D);
+}
+if(!flag) target.objectScript.ODDDOQODQQ();
+GUI.skin = target.objectScript.ODQOQCOCQC;
+EditorGUILayout.Space();
+EditorGUILayout.BeginHorizontal ();
+GUILayout.FlexibleSpace();
+target.objectScript.ODOCOODCDQ[0] = GUILayout.Toggle(target.objectScript.ODOCOODCDQ[0] ,new GUIContent("", " Add road markers. "),"AddMarkers",GUILayout.Width(40), GUILayout.Height(22));
+if(target.objectScript.ODOCOODCDQ[0] == true && target.objectScript.OQDDCOQQCC[0] == false) {
+target.objectScript.ODDDOQODQQ();
+target.objectScript.ODOCOODCDQ[0] = true; target.objectScript.OQDDCOQQCC[0] = true;
+Selection.activeGameObject = target.transform.parent.parent.gameObject;
+}
+target.objectScript.ODOCOODCDQ[1] = GUILayout.Toggle(target.objectScript.ODOCOODCDQ[1] ,new GUIContent("", " Insert road markers. "),"insertMarkers",GUILayout.Width(40),GUILayout.Height(22));
+if(target.objectScript.ODOCOODCDQ[1] == true && target.objectScript.OQDDCOQQCC[1] == false) {
+target.objectScript.ODDDOQODQQ();
+target.objectScript.ODOCOODCDQ[1] = true; target.objectScript.OQDDCOQQCC[1] = true;
+Selection.activeGameObject = target.transform.parent.parent.gameObject;
+}
+target.objectScript.ODOCOODCDQ[2] = GUILayout.Toggle(target.objectScript.ODOCOODCDQ[2] ,new GUIContent("", " Process the terrain and create road geometry. "),"terrain",GUILayout.Width(40),GUILayout.Height(22));
+
+if(target.objectScript.ODOCOODCDQ[2] == true && target.objectScript.OQDDCOQQCC[2] == false) {
+if(target.objectScript.markers < 2){
+EditorUtility.DisplayDialog("Alert", "A minimum of 2 road markers is required before the terrain can be leveled!", "Close");
+target.objectScript.ODOCOODCDQ[2] = false;
+}else{
+target.objectScript.ODOCOODCDQ[2] = false;
+Selection.activeGameObject = target.transform.parent.parent.gameObject;
+
+
+
+
+
+}
+}
+if(target.objectScript.ODOCOODCDQ[2] == false && target.objectScript.OQDDCOQQCC[2] == true){
+
+target.objectScript.OQDDCOQQCC[2] = false;
+Selection.activeGameObject = target.transform.parent.parent.gameObject;
+}
+target.objectScript.ODOCOODCDQ[3] = GUILayout.Toggle(target.objectScript.ODOCOODCDQ[3] ,new GUIContent("", " General settings. "),"settings",GUILayout.Width(40),GUILayout.Height(22));
+if(target.objectScript.ODOCOODCDQ[3] == true && target.objectScript.OQDDCOQQCC[3] == false) {
+target.objectScript.ODDDOQODQQ();
+target.objectScript.ODOCOODCDQ[3] = true; target.objectScript.OQDDCOQQCC[3] = true;
+Selection.activeGameObject = target.transform.parent.parent.gameObject;
+}
+target.objectScript.ODOCOODCDQ[4] = GUILayout.Toggle(target.objectScript.ODOCOODCDQ[4] ,new GUIContent("", "Version and Purchase Info"),"info",GUILayout.Width(40),GUILayout.Height(22));
+if(target.objectScript.ODOCOODCDQ[4] == true && target.objectScript.OQDDCOQQCC[4] == false) {
+target.objectScript.ODDDOQODQQ();
+target.objectScript.ODOCOODCDQ[4] = true; target.objectScript.OQDDCOQQCC[4] = true;
+Selection.activeGameObject = target.transform.parent.parent.gameObject;
+}
+GUILayout.FlexibleSpace();
+EditorGUILayout.EndHorizontal();
+GUI.skin = null;
+target.objectScript.OQDQQCQDOO = -1;
+for(var i : int = 0; i < 5; i++){
+if(target.objectScript.ODOCOODCDQ[i]){
+target.objectScript.OQDQQCQDOO = i;
+target.objectScript.OCCDDQODCQ = i;
+}
+}
+if(target.objectScript.OQDQQCQDOO == -1) target.objectScript.ODDDOQODQQ();
+var markerMenuDisplay : int = 1;
+if(target.objectScript.OQDQQCQDOO == 0 || target.objectScript.OQDQQCQDOO == 1) markerMenuDisplay = 0;
+else if(target.objectScript.OQDQQCQDOO == 2 || target.objectScript.OQDQQCQDOO == 3 || target.objectScript.OQDQQCQDOO == 4) markerMenuDisplay = 0;
+if(target.objectScript.OCDCCCOCOC && !target.objectScript.ODOCOODCDQ[2] && !target.objectScript.ODODDQOO){
+target.objectScript.OCDCCCOCOC = false;
+if(target.objectScript.objectType != 2)target.objectScript.OCODQQDDDC();
+if(target.objectScript.objectType == 2 && target.objectScript.OCDCCCOCOC){
+Debug.Log("restore");
+target.objectScript.OOCQDCOCCQ.OOCQDDCDCC(target.transform, true);
+}
+}
+GUI.skin.box.alignment = TextAnchor.UpperLeft;
+if(target.objectScript.OQDQQCQDOO >= 0 && target.objectScript.OQDQQCQDOO != 4){
+if(target.objectScript.OODODOQDCO == null || target.objectScript.OODODOQDCO.Length == 0){
+
+target.objectScript.OODODOQDCO = target.objectScript.OOCQDCOCCQ.OQODQCDQOO();
+target.objectScript.ODODQOQO = target.objectScript.OOCQDCOCCQ.OCDODQCQCQ();
+target.objectScript.ODODQOQOInt = target.objectScript.OOCQDCOCCQ.OOQOOQCQOO();
+}
+EditorGUILayout.BeginHorizontal();
+GUILayout.Box(target.objectScript.OODODOQDCO[target.objectScript.OQDQQCQDOO], GUILayout.MinWidth(253), GUILayout.MaxWidth(1500), GUILayout.Height(50));
+EditorGUILayout.EndHorizontal();
+EditorGUILayout.Space();
+}
+return target.objectScript.OQDQQCQDOO;
+}
+function ERMarkerGUI( markerScript : MarkerScript){
+EditorGUILayout.Space();
+GUILayout.Box(" Marker: " + (target.markerNum + 1).ToString(), GUILayout.MinWidth(253), GUILayout.MaxWidth(1500), GUILayout.Height(20));
+if(target.distance == "-1" && target.objectScript.OOCQDCOCCQ != null){
+var arr = target.objectScript.OOCQDCOCCQ.OODODQCOOQ(target.markerNum);
+target.distance = arr[0];
+target.OOCQDCDOQD = arr[1];
+target.ODOCDDQQQC = arr[2];
+}
+GUILayout.Label(" Total Distance to Marker: " + target.distance.ToString() + " km");
+GUILayout.Label(" Segment Distance to Marker: " + target.OOCQDCDOQD.ToString() + " km");
+GUILayout.Label(" Marker Distance: " + target.ODOCDDQQQC.ToString() + " m");
+EditorGUILayout.Space();
+GUILayout.Box(" Marker Settings", GUILayout.MinWidth(253), GUILayout.MaxWidth(1500), GUILayout.Height(20));
+var oldss : boolean = markerScript.OOQQOQCQOD;
+EditorGUILayout.BeginHorizontal();
+GUILayout.Label(new GUIContent(" Soft Selection", "When selected, the settings of other road markers within the selected distance will change according their distance to this marker."), GUILayout.Width(105));
+GUI.SetNextControlName ("OOQQOQCQOD");
+markerScript.OOQQOQCQOD = EditorGUILayout.Toggle (markerScript.OOQQOQCQOD, GUILayout.Width(25));
+EditorGUILayout.EndHorizontal();
+if(markerScript.OOQQOQCQOD){
+EditorGUILayout.BeginHorizontal();
+GUILayout.Label(new GUIContent(" Distance", "The soft selection distance within other markers should change too."), GUILayout.Width(105));
+markerScript.OQODODCQCQ = EditorGUILayout.Slider(markerScript.OQODODCQCQ, 0, 500);
+EditorGUILayout.EndHorizontal();
+EditorGUILayout.Space();
+}
+if(oldss != markerScript.OQODODCQCQ) target.objectScript.ResetMaterials(markerScript);
+GUI.enabled = false;
+EditorGUILayout.BeginHorizontal();
+GUILayout.Label(new GUIContent(" Left Indent", "The distance from the left side of the road to the part of the terrain levelled at the same height as the road") , GUILayout.Width(105));
+GUI.SetNextControlName ("ri");
+oldfl = markerScript.ri;
+markerScript.ri = EditorGUILayout.Slider(markerScript.ri, target.objectScript.indent, 100);
+EditorGUILayout.EndHorizontal();
+if(oldfl != markerScript.ri){
+target.objectScript.OCQDDQQCCQ("ri", markerScript);
+markerScript.OOQOQQOO = markerScript.ri;
+}
+GUI.enabled = true;
+EditorGUILayout.BeginHorizontal();
+GUILayout.Label(new GUIContent(" Right Indent", "The distance from the right side of the road to the part of the terrain levelled at the same height as the road") , GUILayout.Width(105));
+oldfl = markerScript.li;
+markerScript.li = EditorGUILayout.Slider(markerScript.li, target.objectScript.indent, 100);
+EditorGUILayout.EndHorizontal();
+if(oldfl != markerScript.li){
+target.objectScript.OCQDDQQCCQ("li", markerScript);
+markerScript.ODODQQOO = markerScript.li;
+}
+GUI.enabled = false;
+EditorGUILayout.BeginHorizontal();
+GUILayout.Label(new GUIContent(" Left Surrounding", "This represents the distance over which the terrain will be gradually leveled on the left side of the road to the original terrain height"), GUILayout.Width(105));
+oldfl = markerScript.rs;
+GUI.SetNextControlName ("rs");
+markerScript.rs = EditorGUILayout.Slider(markerScript.rs, target.objectScript.indent, 100);
+EditorGUILayout.EndHorizontal();
+if(oldfl != markerScript.rs){
+target.objectScript.OCQDDQQCCQ("rs", markerScript);
+markerScript.ODOQQOOO = markerScript.rs;
+}
+GUI.enabled = true;
+EditorGUILayout.BeginHorizontal();
+GUILayout.Label(new GUIContent(" Right Surrounding", "This represents the distance over which the terrain will be gradually leveled on the right side of the road to the original terrain height"), GUILayout.Width(105));
+oldfl = markerScript.ls;
+markerScript.ls = EditorGUILayout.Slider(markerScript.ls, target.objectScript.indent, 100);
+EditorGUILayout.EndHorizontal();
+if(oldfl != markerScript.ls){
+target.objectScript.OCQDDQQCCQ("ls", markerScript);
+markerScript.DODOQQOO = markerScript.ls;
+}
+if(target.objectScript.objectType == 0){
+GUI.enabled = false;
+EditorGUILayout.BeginHorizontal();
+oldfl = markerScript.rt;
+GUILayout.Label(new GUIContent(" Left Tilting", "Use this setting to tilt the road on the left side (m)."), GUILayout.Width(105));
+markerScript.rt = EditorGUILayout.Slider(markerScript.rt, 0, target.objectScript.roadWidth * 0.5f);
+EditorGUILayout.EndHorizontal();
+if(oldfl != markerScript.rt){
+target.objectScript.OCQDDQQCCQ("rt", markerScript);
+markerScript.ODDQODOO = markerScript.rt;
+}
+GUI.enabled = true;
+EditorGUILayout.BeginHorizontal();
+GUILayout.Label(new GUIContent(" Right Tilting", "Use this setting to tilt the road on the right side (cm)."), GUILayout.Width(105));
+oldfl = markerScript.lt;
+markerScript.lt = EditorGUILayout.Slider(markerScript.lt, 0, target.objectScript.roadWidth * 0.5f);
+EditorGUILayout.EndHorizontal();
+if(oldfl != markerScript.lt){
+target.objectScript.OCQDDQQCCQ("lt", markerScript);
+markerScript.ODDOQOQQ = markerScript.lt;
+}
+GUI.enabled = false;
+EditorGUILayout.BeginHorizontal();
+GUILayout.Label(new GUIContent(" Bridge Object", "When selected this road segment will be treated as a bridge segment."), GUILayout.Width(105));
+GUI.SetNextControlName ("bridgeObject");
+markerScript.bridgeObject = EditorGUILayout.Toggle (markerScript.bridgeObject, GUILayout.Width(10));
+if(markerScript.bridgeObject){
+GUILayout.Label(new GUIContent(" Distribute Heights", "When selected the terrain, the terrain will be gradually leveled between the height of this road segment and the current terrain height of the inner bridge segment."), GUILayout.Width(105));
+GUI.SetNextControlName ("distHeights");
+markerScript.distHeights = EditorGUILayout.Toggle (markerScript.distHeights);
+}
+EditorGUILayout.EndHorizontal();
+GUI.enabled = true;
+}else{
+EditorGUILayout.BeginHorizontal();
+GUILayout.Label(new GUIContent(" Floor Depth", "Use this setting to change the floor depth for this marker."), GUILayout.Width(105));
+oldfl = markerScript.floorDepth;
+markerScript.floorDepth = EditorGUILayout.Slider(markerScript.floorDepth, 0, 50);
+EditorGUILayout.EndHorizontal();
+if(oldfl != markerScript.floorDepth){
+target.objectScript.OCQDDQQCCQ("floorDepth", markerScript);
+markerScript.oldFloorDepth = markerScript.floorDepth;
+}
+}
+EditorGUILayout.Space();
+GUI.enabled = false;
+EditorGUILayout.BeginHorizontal();
+GUILayout.Label(new GUIContent(" Start New LOD Segment", "Use this to split the road or river object in segments to use in LOD system."), GUILayout.Width(170));
+markerScript.newSegment = EditorGUILayout.Toggle (markerScript.newSegment, GUILayout.Width(10));
+EditorGUILayout.EndHorizontal();
+GUI.enabled = true;
+EditorGUILayout.Space();
+if(!markerScript.autoUpdate){
+EditorGUILayout.BeginHorizontal();
+GUILayout.FlexibleSpace();
+if(GUILayout.Button ("Refresh Surface", GUILayout.Width(225))){
+target.objectScript.OQQDCOQOCO();
+}
+GUILayout.FlexibleSpace();
+EditorGUILayout.EndHorizontal();
+}
+if (GUI.changed && !target.objectScript.ODCODDCOOQ){
+target.objectScript.ODCODDCOOQ = true;
+}else if(target.objectScript.ODCODDCOOQ){
+target.objectScript.OQDCQOOODC(markerScript);
+target.objectScript.ODCODDCOOQ = false;
+}
+oldfl = markerScript.rs;
+}
+function MSMarkerGUI( markerScript : MarkerScript){
+EditorGUILayout.Space();
+EditorGUILayout.BeginHorizontal();
+GUILayout.FlexibleSpace();
+if(GUILayout.Button (new GUIContent(" Align XYZ", "Click to distribute the x, y and z values of all markers in between the selected markers in a line between the selected markers."), GUILayout.Width(150))){
+Undo.RegisterUndo(target.transform.parent.GetComponentsInChildren(typeof(Transform)), "Marker align");
+target.objectScript.OOCQDCOCCQ.OCDCCQOQCD(target.objectScript.OODQDQDQQQs, 0);
+target.objectScript.OQQDCOQOCO();
+}
+GUILayout.FlexibleSpace();
+EditorGUILayout.EndHorizontal();
+EditorGUILayout.BeginHorizontal();
+GUILayout.FlexibleSpace();
+if(GUILayout.Button (new GUIContent(" Align XZ", "Click to distribute the x and z values of all markers in between the selected markers in a line between the selected markers."), GUILayout.Width(150))){
+Undo.RegisterUndo(target.transform.parent.GetComponentsInChildren(typeof(Transform)), "Marker align");
+target.objectScript.OOCQDCOCCQ.OCDCCQOQCD(target.objectScript.OODQDQDQQQs, 1);
+target.objectScript.OQQDCOQOCO();
+}
+GUILayout.FlexibleSpace();
+EditorGUILayout.EndHorizontal();
+EditorGUILayout.BeginHorizontal();
+GUILayout.FlexibleSpace();
+if(GUILayout.Button (new GUIContent(" Align XZ Snap Y", "Click to distribute the x and z values of all markers in between the selected markers in a line between the selected markers and snap the y value to the terrain height at the new position."), GUILayout.Width(150))){
+Undo.RegisterUndo(target.transform.parent.GetComponentsInChildren(typeof(Transform)), "Marker align");
+target.objectScript.OOCQDCOCCQ.OCDCCQOQCD(target.objectScript.OODQDQDQQQs, 2);
+target.objectScript.OQQDCOQOCO();
+}
+GUILayout.FlexibleSpace();
+EditorGUILayout.EndHorizontal();
+EditorGUILayout.BeginHorizontal();
+GUILayout.FlexibleSpace();
+if(GUILayout.Button (new GUIContent(" Average Heights ", "Click to distribute the heights all markers in between the selected markers."), GUILayout.Width(150))){
+Undo.RegisterUndo(target.transform.parent.GetComponentsInChildren(typeof(Transform)), "Marker align");
+target.objectScript.OOCQDCOCCQ.OCDCCQOQCD(target.objectScript.OODQDQDQQQs, 3);
+target.objectScript.OQQDCOQOCO();
+}
+GUILayout.FlexibleSpace();
+EditorGUILayout.EndHorizontal();
+EditorGUILayout.Space();
+EditorGUILayout.Space();
+}
+function TRMarkerGUI(markerScript : MarkerScript){
+EditorGUILayout.Space();
+}
+function MarkerOnScene(markerScript : MarkerScript){
+var cEvent : Event = Event.current;
+
+if(!target.objectScript.ODODDDOO || target.objectScript.objectType == 2){
+if(cEvent.shift && (target.objectScript.OCCDDQODCQ == 0 || target.objectScript.OCCDDQODCQ == 1)) {
+Selection.activeGameObject = markerScript.transform.parent.parent.gameObject;
+}else if(cEvent.shift && target.objectScript.OODQDQDQQQ != target.transform){
+target.objectScript.OCQCQODQOQ(markerScript);
+Selection.objects = target.objectScript.OODQDQDQQQs;
+}else if(target.objectScript.OODQDQDQQQ != target.transform && count == 0){
+if(!target.InSelected()){
+target.objectScript.OODQDQDQQQs = new GameObject[0];
+target.objectScript.OCQCQODQOQ(markerScript);
+Selection.objects = target.objectScript.OODQDQDQQQs;
+
+
+count++;
+}
+
+}else{
+pos = markerScript.oldPos;
+if(pos != oldPos && !markerScript.changed){
+oldPos = pos;
+if(!cEvent.shift){
+target.objectScript.OQQODCQQDO(markerScript);
+}
+}
+}
+if(cEvent.shift && markerScript.changed){
+OCQDDDQCDC = true;
+}
+markerScript.changed = false;
+if(!cEvent.shift && OCQDDDQCDC){
+target.objectScript.OQQODCQQDO(markerScript);
+OCQDDDQCDC = false;
+}
+}
+
+}
+}
View
148 CarTest/Assets/EasyRoads3D/Editor/NewEasyRoads3D.cs
@@ -0,0 +1,148 @@
+using UnityEngine;
+using System.Collections;
+using UnityEditor;
+using System.IO;
+using System;
+public class NewEasyRoads3D : EditorWindow
+{
+public static NewEasyRoads3D instance;
+private Vector3 scroll;
+public GUISkin ODQOQCOCQC;
+public GUISkin OQDQQCOOCQ;
+private string objectname = "RoadObject01";
+private string backupFolder = "/EasyRoads3D";
+private int objectType = 0;
+private bool OOQDOOQQ;
+public NewEasyRoads3D()
+{
+objectname = GetNewRoadName();
+
+
+
+
+instance = this;
+title = "New EasyRoads3D Object";
+position = new Rect((Screen.width - 350.0f) / 2.0f, (Screen.height - 130.0f) / 2.0f, 350.0f, 130.0f);
+minSize = new Vector2(350.0f, 130.0f);
+maxSize = new Vector2(350.0f, 130.0f);
+}
+public void OnDestroy(){
+instance = null;
+}
+public static NewEasyRoads3D Instance{
+get
+{
+if( instance == null ){
+new NewEasyRoads3D();
+}
+return instance;
+}
+}
+public void OnGUI()
+{
+if(ODQOQCOCQC == null){
+OQDQQCOOCQ = GUI.skin;
+ODQOQCOCQC = (GUISkin)Resources.Load("ER3DSkin", typeof(GUISkin));
+}
+
+
+GUILayout.Space(15);
+GUILayout.Box("", GUILayout.MinWidth(340), GUILayout.MaxWidth(340), GUILayout.Height(70));
+GUI.skin = OQDQQCOOCQ;
+GUILayout.BeginArea (new Rect (5, 5, 336, 250));
+GUILayout.Label("Set a name for the new EasyRoads3D Road Object");
+GUILayout.Space(65);
+GUILayout.BeginArea (new Rect (50, 40, 250, 150));
+
+
+
+RoadObjectScript.objectStrings = new string[1];
+RoadObjectScript.objectStrings[0] = "Road Object";;
+
+EditorGUILayout.BeginHorizontal();
+GUILayout.Label("Object type",GUILayout.Width(75));
+objectType = EditorGUILayout.Popup (objectType, RoadObjectScript.objectStrings, EditorStyles.toolbarPopup, GUILayout.Width(150));
+EditorGUILayout.EndHorizontal();
+EditorGUILayout.BeginHorizontal();
+GUILayout.Label("Object name",GUILayout.Width(75));
+objectname = GUILayout.TextField(objectname,GUILayout.Width(150));
+EditorGUILayout.EndHorizontal();
+GUILayout.EndArea();
+EditorGUILayout.Space();
+EditorGUILayout.BeginHorizontal();
+GUILayout.Space(195);
+if(GUILayout.Button ("Create Object", EditorStyles.toolbarButton, GUILayout.Width(125))){
+if(objectname == ""){
+EditorUtility.DisplayDialog("Alert", "Please fill out a name for the new road object!", "Close");
+}else{
+bool flag = false;
+string[] dirs = Directory.GetDirectories(Directory.GetCurrentDirectory() + backupFolder);
+foreach(string nm in dirs){
+string[] words = nm.Split('\\');
+words = words[words.Length - 1].Split('/');
+string nm1 = words[words.Length - 1];
+if(nm1.ToUpper() == objectname.ToUpper()){
+EditorUtility.DisplayDialog("Alert", "An EasyRoads3D object with the name '"+objectname+"' already exists!\r\n\r\nPlease use an unique name!", "Close");
+flag = true;
+break;
+}
+}
+if(!flag){
+GameObject go = (GameObject)MonoBehaviour.Instantiate(Resources.Load("EasyRoad3DObject", typeof(GameObject)));
+instance.Close();
+go.name = objectname;
+go.transform.position = Vector3.zero;
+RoadObjectScript script = go.GetComponent<RoadObjectScript>();
+script.OOQDOOQQ = false;
+script.autoUpdate = true;
+script.surrounding = 3.0f;
+script.indent = 3.0f;
+script.geoResolution = 2.5f;
+script.objectType = objectType;
+script.materialType = 0;
+if(objectType == 1){
+script.objectText = "River";
+script.forceY = true;
+}
+if(objectType == 2)script.geoResolution = 0.5f;
+Selection.activeGameObject = go;
+}
+}
+}
+EditorGUILayout.EndHorizontal();
+GUILayout.EndArea();
+}
+public string GetNewRoadName(){
+
+if(EditorPrefs.GetInt("ER3DbckLocation", 0) == 1)backupFolder = "/Assets/EasyRoads3D/Backups";
+string path = Directory.GetCurrentDirectory() + backupFolder;
+if( !Directory.Exists(path)){
+try{
+Directory.CreateDirectory( path);
+}
+catch(System.Exception e){
+Debug.Log("Could not create directory: " + path + " " + e);
+return "";
+}
+}
+string[] dirs = Directory.GetDirectories(@Directory.GetCurrentDirectory() + backupFolder);
+int c = 0;
+int num;
+foreach(string nm in dirs){
+string[] words = nm.Split('\\');
+words = words[words.Length - 1].Split('/');
+string nm1 = words[words.Length - 1];
+if(nm.IndexOf("RoadObject") != -1){
+string str = nm1.Replace("RoadObject","");
+if(int.TryParse(str, out num)){
+if(num > c) c = num;
+}
+}
+}
+c++;
+string n;
+if(c < 10) n = "RoadObject0" + c.ToString();
+else n = "RoadObject" + c.ToString();
+return n;
+}
+}
View
11 CarTest/Assets/EasyRoads3D/Editor/ObjectManager.cs
@@ -0,0 +1,11 @@
+using UnityEngine;
+using System.Collections;
+using UnityEditor;
+using System.IO;
+using System.Text;
+using System;
+using EasyRoads3D;
+using EasyRoads3DEditor;
+public class ObjectManager : EditorWindow
+{
+}
View
9 CarTest/Assets/EasyRoads3D/Editor/ProceduralObjectsEditor.cs
@@ -0,0 +1,9 @@
+using UnityEngine;
+using UnityEditor;
+using System.Collections;
+using System.Reflection;
+using EasyRoads3D;
+using EasyRoads3DEditor;
+public class ProceduralObjectsEditor : EditorWindow
+{
+}
View
721 CarTest/Assets/EasyRoads3D/Editor/RoadObjectEditorScript.js
@@ -0,0 +1,721 @@
+import EasyRoads3D;
+import EasyRoads3DEditor;
+@CustomEditor(RoadObjectScript)
+class RoadObjectEditorScript extends Editor
+{
+var counter : int;
+var pe : float;
+var tv : boolean;
+var tvDone : boolean;
+var debugDone : boolean;
+var res : boolean;
+var col : Collider;
+
+function OnEnable(){
+if(target.backupLocation == -1){
+target.backupLocation = EditorPrefs.GetInt("ER3DbckLocation", 0);
+}
+if(target.OOCQDCOCCQ == null){
+ODQDCCDCCO();
+target.ODQDOOODOD(null, null, null);
+}
+if(target.customMesh != null){
+if(target.customMesh.GetComponent(typeof(Collider))){
+col = target.customMesh.GetComponent(typeof(Collider));
+}else if(ODOOOQCCOD.terrain != null){
+col = ODOOOQCCOD.terrain.GetComponent(typeof(TerrainCollider));
+}
+}else if(ODOOOQCCOD.terrain != null){
+col = ODOOOQCCOD.terrain.GetComponent(typeof(TerrainCollider));
+}
+
+
+
+
+}
+function OnInspectorGUI(){
+
+EasyRoadsGUIMenu(true, true, target);
+}
+function OnSceneGUI() {
+if(target.OOCQDCOCCQ == null){
+ODQDCCDCCO();
+target.ODQDOOODOD(null, null, null);
+if(target.ODQDCCDOQD != EditorApplication.currentScene && target.OOCQDCOCCQ == null){
+OOQOCDODQC.terrainList.Clear();
+target.ODQDCCDOQD = EditorApplication.currentScene;
+}
+
+}
+
+OnScene();
+
+}
+function EasyRoadsGUIMenu(flag : boolean, senderIsMain : boolean, nRoadScript : RoadObjectScript) : int {
+
+
+
+
+
+if(target.ODOCOODCDQ == null || target.OQDDCOQQCC == null || target.ODCODQOOQD == null || target.ODOCOODCDQ.Length == 0 ){
+target.ODOCOODCDQ = new boolean[5];
+target.OQDDCOQQCC = new boolean[5];