├── .gitignore
├── .vscode
├── launch.json
└── settings.json
├── Assets
├── Plugins.meta
├── Plugins
│ ├── LitJson.dll
│ └── LitJson.dll.meta
├── Scenes.meta
├── Scenes
│ ├── SampleScene.unity
│ └── SampleScene.unity.meta
├── Scripts.meta
├── Scripts
│ ├── SimpleHTTPServer.cs
│ ├── SimpleHTTPServer.cs.meta
│ ├── TestController.cs
│ ├── TestController.cs.meta
│ ├── UnityHTTPServer.cs
│ └── UnityHTTPServer.cs.meta
├── StreamingAssets.meta
└── StreamingAssets
│ ├── Logo.png
│ └── Logo.png.meta
├── Img
├── 01.png
├── 02.png
├── 03.png
├── 04.png
├── 05.png
├── 06.png
├── 07.png
├── 08.png
└── 09.png
├── Packages
├── manifest.json
└── packages-lock.json
├── ProjectSettings
├── AudioManager.asset
├── ClusterInputManager.asset
├── DynamicsManager.asset
├── EditorBuildSettings.asset
├── EditorSettings.asset
├── GraphicsSettings.asset
├── InputManager.asset
├── NavMeshAreas.asset
├── PackageManagerSettings.asset
├── Physics2DSettings.asset
├── PresetManager.asset
├── ProjectSettings.asset
├── ProjectVersion.txt
├── QualitySettings.asset
├── TagManager.asset
├── TimeManager.asset
├── UnityConnectSettings.asset
├── VFXManager.asset
└── XRSettings.asset
└── Readme.md
/.gitignore:
--------------------------------------------------------------------------------
1 | # This .gitignore file should be placed at the root of your Unity project directory
2 | #
3 | # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
4 | #
5 | /[Ll]ibrary/
6 | /[Tt]emp/
7 | /[Oo]bj/
8 | /[Bb]uild/
9 | /[Bb]uilds/
10 | /[Ll]ogs/
11 | /[Uu]ser[Ss]ettings/
12 |
13 | # MemoryCaptures can get excessive in size.
14 | # They also could contain extremely sensitive data
15 | /[Mm]emoryCaptures/
16 |
17 | # Asset meta data should only be ignored when the corresponding asset is also ignored
18 | !/[Aa]ssets/**/*.meta
19 |
20 | # Uncomment this line if you wish to ignore the asset store tools plugin
21 | # /[Aa]ssets/AssetStoreTools*
22 |
23 | # Autogenerated Jetbrains Rider plugin
24 | /[Aa]ssets/Plugins/Editor/JetBrains*
25 |
26 | # Visual Studio cache directory
27 | .vs/
28 |
29 | # Gradle cache directory
30 | .gradle/
31 |
32 | # Autogenerated VS/MD/Consulo solution and project files
33 | ExportedObj/
34 | .consulo/
35 | *.csproj
36 | *.unityproj
37 | *.sln
38 | *.suo
39 | *.tmp
40 | *.user
41 | *.userprefs
42 | *.pidb
43 | *.booproj
44 | *.svd
45 | *.pdb
46 | *.mdb
47 | *.opendb
48 | *.VC.db
49 |
50 | # Unity3D generated meta files
51 | *.pidb.meta
52 | *.pdb.meta
53 | *.mdb.meta
54 |
55 | # Unity3D generated file on crash reports
56 | sysinfo.txt
57 |
58 | # Builds
59 | *.apk
60 | *.aab
61 | *.unitypackage
62 |
63 | # Crashlytics generated file
64 | crashlytics-build.properties
65 |
66 | # Packed Addressables
67 | /[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin*
68 |
69 | # Temporary auto-generated Android Assets
70 | /[Aa]ssets/[Ss]treamingAssets/aa.meta
71 | /[Aa]ssets/[Ss]treamingAssets/aa/*
72 |
--------------------------------------------------------------------------------
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // 使用 IntelliSense 以得知可用的屬性。
3 | // 暫留以檢視現有屬性的描述。
4 | // 如需詳細資訊,請瀏覽: https://go.microsoft.com/fwlink/?linkid=830387
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": "Unity Editor",
9 | "type": "unity",
10 | "path": "/Users/miki/Documents/UnityHttp/Library/EditorInstance.json",
11 | "request": "launch"
12 | },
13 | {
14 | "name": "Windows Player",
15 | "type": "unity",
16 | "request": "launch"
17 | },
18 | {
19 | "name": "OSX Player",
20 | "type": "unity",
21 | "request": "launch"
22 | },
23 | {
24 | "name": "Linux Player",
25 | "type": "unity",
26 | "request": "launch"
27 | },
28 | {
29 | "name": "iOS Player",
30 | "type": "unity",
31 | "request": "launch"
32 | },
33 | {
34 | "name": "Android Player",
35 | "type": "unity",
36 | "request": "launch"
37 | },
38 | {
39 | "name": "Xbox One Player",
40 | "type": "unity",
41 | "request": "launch"
42 | },
43 | {
44 | "name": "PS4 Player",
45 | "type": "unity",
46 | "request": "launch"
47 | },
48 | {
49 | "name": "SwitchPlayer",
50 | "type": "unity",
51 | "request": "launch"
52 | }
53 | ]
54 | }
--------------------------------------------------------------------------------
/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "files.exclude":
3 | {
4 | "**/.DS_Store":true,
5 | "**/.git":true,
6 | "**/.gitignore":true,
7 | "**/.gitmodules":true,
8 | "**/*.booproj":true,
9 | "**/*.pidb":true,
10 | "**/*.suo":true,
11 | "**/*.user":true,
12 | "**/*.userprefs":true,
13 | "**/*.unityproj":true,
14 | "**/*.dll":true,
15 | "**/*.exe":true,
16 | "**/*.pdf":true,
17 | "**/*.mid":true,
18 | "**/*.midi":true,
19 | "**/*.wav":true,
20 | "**/*.gif":true,
21 | "**/*.ico":true,
22 | "**/*.jpg":true,
23 | "**/*.jpeg":true,
24 | "**/*.png":true,
25 | "**/*.psd":true,
26 | "**/*.tga":true,
27 | "**/*.tif":true,
28 | "**/*.tiff":true,
29 | "**/*.3ds":true,
30 | "**/*.3DS":true,
31 | "**/*.fbx":true,
32 | "**/*.FBX":true,
33 | "**/*.lxo":true,
34 | "**/*.LXO":true,
35 | "**/*.ma":true,
36 | "**/*.MA":true,
37 | "**/*.obj":true,
38 | "**/*.OBJ":true,
39 | "**/*.asset":true,
40 | "**/*.cubemap":true,
41 | "**/*.flare":true,
42 | "**/*.mat":true,
43 | "**/*.meta":true,
44 | "**/*.prefab":true,
45 | "**/*.unity":true,
46 | "build/":true,
47 | "Build/":true,
48 | "Library/":true,
49 | "library/":true,
50 | "obj/":true,
51 | "Obj/":true,
52 | "ProjectSettings/":true,
53 | "temp/":true,
54 | "Temp/":true
55 | }
56 | }
--------------------------------------------------------------------------------
/Assets/Plugins.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 91cb1904252414bdb9ecd1bea92470e0
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/Plugins/LitJson.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sableangle/UnityHTTPServer/8617601dd71eabc60aee11ba34118c7eb4c6c98b/Assets/Plugins/LitJson.dll
--------------------------------------------------------------------------------
/Assets/Plugins/LitJson.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: befadaaa374cc4cab8c676002a209ff7
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 0
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | Any:
16 | second:
17 | enabled: 1
18 | settings: {}
19 | - first:
20 | Editor: Editor
21 | second:
22 | enabled: 0
23 | settings:
24 | DefaultValueInitialized: true
25 | - first:
26 | Windows Store Apps: WindowsStoreApps
27 | second:
28 | enabled: 0
29 | settings:
30 | CPU: AnyCPU
31 | userData:
32 | assetBundleName:
33 | assetBundleVariant:
34 |
--------------------------------------------------------------------------------
/Assets/Scenes.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c2f54325eecce4119b17cbb97c59fe50
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/Scenes/SampleScene.unity:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!29 &1
4 | OcclusionCullingSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_OcclusionBakeSettings:
8 | smallestOccluder: 5
9 | smallestHole: 0.25
10 | backfaceThreshold: 100
11 | m_SceneGUID: 00000000000000000000000000000000
12 | m_OcclusionCullingData: {fileID: 0}
13 | --- !u!104 &2
14 | RenderSettings:
15 | m_ObjectHideFlags: 0
16 | serializedVersion: 9
17 | m_Fog: 0
18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
19 | m_FogMode: 3
20 | m_FogDensity: 0.01
21 | m_LinearFogStart: 0
22 | m_LinearFogEnd: 300
23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
26 | m_AmbientIntensity: 1
27 | m_AmbientMode: 0
28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
30 | m_HaloStrength: 0.5
31 | m_FlareStrength: 1
32 | m_FlareFadeSpeed: 3
33 | m_HaloTexture: {fileID: 0}
34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
35 | m_DefaultReflectionMode: 0
36 | m_DefaultReflectionResolution: 128
37 | m_ReflectionBounces: 1
38 | m_ReflectionIntensity: 1
39 | m_CustomReflection: {fileID: 0}
40 | m_Sun: {fileID: 705507994}
41 | m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
42 | m_UseRadianceAmbientProbe: 0
43 | --- !u!157 &3
44 | LightmapSettings:
45 | m_ObjectHideFlags: 0
46 | serializedVersion: 11
47 | m_GIWorkflowMode: 1
48 | m_GISettings:
49 | serializedVersion: 2
50 | m_BounceScale: 1
51 | m_IndirectOutputScale: 1
52 | m_AlbedoBoost: 1
53 | m_EnvironmentLightingMode: 0
54 | m_EnableBakedLightmaps: 1
55 | m_EnableRealtimeLightmaps: 0
56 | m_LightmapEditorSettings:
57 | serializedVersion: 12
58 | m_Resolution: 2
59 | m_BakeResolution: 40
60 | m_AtlasSize: 1024
61 | m_AO: 0
62 | m_AOMaxDistance: 1
63 | m_CompAOExponent: 1
64 | m_CompAOExponentDirect: 0
65 | m_ExtractAmbientOcclusion: 0
66 | m_Padding: 2
67 | m_LightmapParameters: {fileID: 0}
68 | m_LightmapsBakeMode: 1
69 | m_TextureCompression: 1
70 | m_FinalGather: 0
71 | m_FinalGatherFiltering: 1
72 | m_FinalGatherRayCount: 256
73 | m_ReflectionCompression: 2
74 | m_MixedBakeMode: 2
75 | m_BakeBackend: 1
76 | m_PVRSampling: 1
77 | m_PVRDirectSampleCount: 32
78 | m_PVRSampleCount: 500
79 | m_PVRBounces: 2
80 | m_PVREnvironmentSampleCount: 500
81 | m_PVREnvironmentReferencePointCount: 2048
82 | m_PVRFilteringMode: 2
83 | m_PVRDenoiserTypeDirect: 0
84 | m_PVRDenoiserTypeIndirect: 0
85 | m_PVRDenoiserTypeAO: 0
86 | m_PVRFilterTypeDirect: 0
87 | m_PVRFilterTypeIndirect: 0
88 | m_PVRFilterTypeAO: 0
89 | m_PVREnvironmentMIS: 0
90 | m_PVRCulling: 1
91 | m_PVRFilteringGaussRadiusDirect: 1
92 | m_PVRFilteringGaussRadiusIndirect: 5
93 | m_PVRFilteringGaussRadiusAO: 2
94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5
95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2
96 | m_PVRFilteringAtrousPositionSigmaAO: 1
97 | m_ExportTrainingData: 0
98 | m_TrainingDataDestination: TrainingData
99 | m_LightProbeSampleCountMultiplier: 4
100 | m_LightingDataAsset: {fileID: 0}
101 | m_UseShadowmask: 1
102 | --- !u!196 &4
103 | NavMeshSettings:
104 | serializedVersion: 2
105 | m_ObjectHideFlags: 0
106 | m_BuildSettings:
107 | serializedVersion: 2
108 | agentTypeID: 0
109 | agentRadius: 0.5
110 | agentHeight: 2
111 | agentSlope: 45
112 | agentClimb: 0.4
113 | ledgeDropHeight: 0
114 | maxJumpAcrossDistance: 0
115 | minRegionArea: 2
116 | manualCellSize: 0
117 | cellSize: 0.16666667
118 | manualTileSize: 0
119 | tileSize: 256
120 | accuratePlacement: 0
121 | debug:
122 | m_Flags: 0
123 | m_NavMeshData: {fileID: 0}
124 | --- !u!1 &611650579
125 | GameObject:
126 | m_ObjectHideFlags: 0
127 | m_CorrespondingSourceObject: {fileID: 0}
128 | m_PrefabInstance: {fileID: 0}
129 | m_PrefabAsset: {fileID: 0}
130 | serializedVersion: 6
131 | m_Component:
132 | - component: {fileID: 611650581}
133 | - component: {fileID: 611650580}
134 | - component: {fileID: 611650582}
135 | m_Layer: 0
136 | m_Name: UnityHttpServer
137 | m_TagString: Untagged
138 | m_Icon: {fileID: 0}
139 | m_NavMeshLayer: 0
140 | m_StaticEditorFlags: 0
141 | m_IsActive: 1
142 | --- !u!114 &611650580
143 | MonoBehaviour:
144 | m_ObjectHideFlags: 0
145 | m_CorrespondingSourceObject: {fileID: 0}
146 | m_PrefabInstance: {fileID: 0}
147 | m_PrefabAsset: {fileID: 0}
148 | m_GameObject: {fileID: 611650579}
149 | m_Enabled: 1
150 | m_EditorHideFlags: 0
151 | m_Script: {fileID: 11500000, guid: 21148b9b4837a4ec0921422df9eeb461, type: 3}
152 | m_Name:
153 | m_EditorClassIdentifier:
154 | port: 13579
155 | SaveFolder:
156 | UseStreamingAssetsPath: 1
157 | bufferSize: 16
158 | controller: {fileID: 611650582}
159 | --- !u!4 &611650581
160 | Transform:
161 | m_ObjectHideFlags: 0
162 | m_CorrespondingSourceObject: {fileID: 0}
163 | m_PrefabInstance: {fileID: 0}
164 | m_PrefabAsset: {fileID: 0}
165 | m_GameObject: {fileID: 611650579}
166 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
167 | m_LocalPosition: {x: 0, y: 0, z: 0}
168 | m_LocalScale: {x: 1, y: 1, z: 1}
169 | m_Children: []
170 | m_Father: {fileID: 0}
171 | m_RootOrder: 2
172 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
173 | --- !u!114 &611650582
174 | MonoBehaviour:
175 | m_ObjectHideFlags: 0
176 | m_CorrespondingSourceObject: {fileID: 0}
177 | m_PrefabInstance: {fileID: 0}
178 | m_PrefabAsset: {fileID: 0}
179 | m_GameObject: {fileID: 611650579}
180 | m_Enabled: 1
181 | m_EditorHideFlags: 0
182 | m_Script: {fileID: 11500000, guid: 4594d4880203c44339c94ef9f9598999, type: 3}
183 | m_Name:
184 | m_EditorClassIdentifier:
185 | --- !u!1 &705507993
186 | GameObject:
187 | m_ObjectHideFlags: 0
188 | m_CorrespondingSourceObject: {fileID: 0}
189 | m_PrefabInstance: {fileID: 0}
190 | m_PrefabAsset: {fileID: 0}
191 | serializedVersion: 6
192 | m_Component:
193 | - component: {fileID: 705507995}
194 | - component: {fileID: 705507994}
195 | m_Layer: 0
196 | m_Name: Directional Light
197 | m_TagString: Untagged
198 | m_Icon: {fileID: 0}
199 | m_NavMeshLayer: 0
200 | m_StaticEditorFlags: 0
201 | m_IsActive: 1
202 | --- !u!108 &705507994
203 | Light:
204 | m_ObjectHideFlags: 0
205 | m_CorrespondingSourceObject: {fileID: 0}
206 | m_PrefabInstance: {fileID: 0}
207 | m_PrefabAsset: {fileID: 0}
208 | m_GameObject: {fileID: 705507993}
209 | m_Enabled: 1
210 | serializedVersion: 10
211 | m_Type: 1
212 | m_Shape: 0
213 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
214 | m_Intensity: 1
215 | m_Range: 10
216 | m_SpotAngle: 30
217 | m_InnerSpotAngle: 21.802082
218 | m_CookieSize: 10
219 | m_Shadows:
220 | m_Type: 2
221 | m_Resolution: -1
222 | m_CustomResolution: -1
223 | m_Strength: 1
224 | m_Bias: 0.05
225 | m_NormalBias: 0.4
226 | m_NearPlane: 0.2
227 | m_CullingMatrixOverride:
228 | e00: 1
229 | e01: 0
230 | e02: 0
231 | e03: 0
232 | e10: 0
233 | e11: 1
234 | e12: 0
235 | e13: 0
236 | e20: 0
237 | e21: 0
238 | e22: 1
239 | e23: 0
240 | e30: 0
241 | e31: 0
242 | e32: 0
243 | e33: 1
244 | m_UseCullingMatrixOverride: 0
245 | m_Cookie: {fileID: 0}
246 | m_DrawHalo: 0
247 | m_Flare: {fileID: 0}
248 | m_RenderMode: 0
249 | m_CullingMask:
250 | serializedVersion: 2
251 | m_Bits: 4294967295
252 | m_RenderingLayerMask: 1
253 | m_Lightmapping: 1
254 | m_LightShadowCasterMode: 0
255 | m_AreaSize: {x: 1, y: 1}
256 | m_BounceIntensity: 1
257 | m_ColorTemperature: 6570
258 | m_UseColorTemperature: 0
259 | m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
260 | m_UseBoundingSphereOverride: 0
261 | m_ShadowRadius: 0
262 | m_ShadowAngle: 0
263 | --- !u!4 &705507995
264 | Transform:
265 | m_ObjectHideFlags: 0
266 | m_CorrespondingSourceObject: {fileID: 0}
267 | m_PrefabInstance: {fileID: 0}
268 | m_PrefabAsset: {fileID: 0}
269 | m_GameObject: {fileID: 705507993}
270 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
271 | m_LocalPosition: {x: 0, y: 3, z: 0}
272 | m_LocalScale: {x: 1, y: 1, z: 1}
273 | m_Children: []
274 | m_Father: {fileID: 0}
275 | m_RootOrder: 1
276 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
277 | --- !u!1 &963194225
278 | GameObject:
279 | m_ObjectHideFlags: 0
280 | m_CorrespondingSourceObject: {fileID: 0}
281 | m_PrefabInstance: {fileID: 0}
282 | m_PrefabAsset: {fileID: 0}
283 | serializedVersion: 6
284 | m_Component:
285 | - component: {fileID: 963194228}
286 | - component: {fileID: 963194227}
287 | - component: {fileID: 963194226}
288 | m_Layer: 0
289 | m_Name: Main Camera
290 | m_TagString: MainCamera
291 | m_Icon: {fileID: 0}
292 | m_NavMeshLayer: 0
293 | m_StaticEditorFlags: 0
294 | m_IsActive: 1
295 | --- !u!81 &963194226
296 | AudioListener:
297 | m_ObjectHideFlags: 0
298 | m_CorrespondingSourceObject: {fileID: 0}
299 | m_PrefabInstance: {fileID: 0}
300 | m_PrefabAsset: {fileID: 0}
301 | m_GameObject: {fileID: 963194225}
302 | m_Enabled: 1
303 | --- !u!20 &963194227
304 | Camera:
305 | m_ObjectHideFlags: 0
306 | m_CorrespondingSourceObject: {fileID: 0}
307 | m_PrefabInstance: {fileID: 0}
308 | m_PrefabAsset: {fileID: 0}
309 | m_GameObject: {fileID: 963194225}
310 | m_Enabled: 1
311 | serializedVersion: 2
312 | m_ClearFlags: 1
313 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
314 | m_projectionMatrixMode: 1
315 | m_GateFitMode: 2
316 | m_FOVAxisMode: 0
317 | m_SensorSize: {x: 36, y: 24}
318 | m_LensShift: {x: 0, y: 0}
319 | m_FocalLength: 50
320 | m_NormalizedViewPortRect:
321 | serializedVersion: 2
322 | x: 0
323 | y: 0
324 | width: 1
325 | height: 1
326 | near clip plane: 0.3
327 | far clip plane: 1000
328 | field of view: 60
329 | orthographic: 0
330 | orthographic size: 5
331 | m_Depth: -1
332 | m_CullingMask:
333 | serializedVersion: 2
334 | m_Bits: 4294967295
335 | m_RenderingPath: -1
336 | m_TargetTexture: {fileID: 0}
337 | m_TargetDisplay: 0
338 | m_TargetEye: 3
339 | m_HDR: 1
340 | m_AllowMSAA: 1
341 | m_AllowDynamicResolution: 0
342 | m_ForceIntoRT: 0
343 | m_OcclusionCulling: 1
344 | m_StereoConvergence: 10
345 | m_StereoSeparation: 0.022
346 | --- !u!4 &963194228
347 | Transform:
348 | m_ObjectHideFlags: 0
349 | m_CorrespondingSourceObject: {fileID: 0}
350 | m_PrefabInstance: {fileID: 0}
351 | m_PrefabAsset: {fileID: 0}
352 | m_GameObject: {fileID: 963194225}
353 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
354 | m_LocalPosition: {x: 0, y: 1, z: -10}
355 | m_LocalScale: {x: 1, y: 1, z: 1}
356 | m_Children: []
357 | m_Father: {fileID: 0}
358 | m_RootOrder: 0
359 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
360 |
--------------------------------------------------------------------------------
/Assets/Scenes/SampleScene.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9fc0d4010bbf28b4594072e72b8655ab
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/Scripts.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 76755a3498a0c48cc9db4c4c5c524d21
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/Scripts/SimpleHTTPServer.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Net.Sockets;
8 | using System.Net;
9 | using System.IO;
10 | using System.Threading;
11 | using System.Diagnostics;
12 | using System.Reflection;
13 |
14 | public class SimpleHTTPServer
15 | {
16 | const string default404Page = @"
17 |
18 |
55 |
56 |
57 |
58 |
59 |
Error 404
60 |
61 |
62 |
63 | ";
64 |
65 | public Func