Basic client / server communication working. Successfully sending messages over …
…the network to load a video.
Showing
222 changed files
with
17172 additions
and
1 deletions
Assets/AVProWindowsMedia-UserManual.pdf
0 → 100644
No preview for this file type
Assets/AVProWindowsMedia-UserManual.pdf.meta
0 → 100644
Assets/Packages.meta
0 → 100644
Assets/Packages/AVProWindowsMedia.meta
0 → 100644
Assets/Packages/AVProWindowsMedia/Demos.meta
0 → 100644
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!29 &1 | ||
| 4 | +SceneSettings: | ||
| 5 | + m_ObjectHideFlags: 0 | ||
| 6 | + m_PVSData: | ||
| 7 | + m_PVSObjectsArray: [] | ||
| 8 | + m_PVSPortalsArray: [] | ||
| 9 | + m_OcclusionBakeSettings: | ||
| 10 | + smallestOccluder: 5 | ||
| 11 | + smallestHole: .25 | ||
| 12 | + backfaceThreshold: 100 | ||
| 13 | +--- !u!104 &2 | ||
| 14 | +RenderSettings: | ||
| 15 | + m_Fog: 0 | ||
| 16 | + m_FogColor: {r: .5, g: .5, b: .5, a: 1} | ||
| 17 | + m_FogMode: 3 | ||
| 18 | + m_FogDensity: .00999999978 | ||
| 19 | + m_LinearFogStart: 0 | ||
| 20 | + m_LinearFogEnd: 300 | ||
| 21 | + m_AmbientLight: {r: .200000003, g: .200000003, b: .200000003, a: 1} | ||
| 22 | + m_SkyboxMaterial: {fileID: 0} | ||
| 23 | + m_HaloStrength: .5 | ||
| 24 | + m_FlareStrength: 1 | ||
| 25 | + m_FlareFadeSpeed: 3 | ||
| 26 | + m_HaloTexture: {fileID: 0} | ||
| 27 | + m_SpotCookie: {fileID: 0} | ||
| 28 | + m_ObjectHideFlags: 0 | ||
| 29 | +--- !u!127 &3 | ||
| 30 | +LevelGameManager: | ||
| 31 | + m_ObjectHideFlags: 0 | ||
| 32 | +--- !u!157 &4 | ||
| 33 | +LightmapSettings: | ||
| 34 | + m_ObjectHideFlags: 0 | ||
| 35 | + m_LightProbes: {fileID: 0} | ||
| 36 | + m_Lightmaps: [] | ||
| 37 | + m_LightmapsMode: 1 | ||
| 38 | + m_BakedColorSpace: 0 | ||
| 39 | + m_UseDualLightmapsInForward: 0 | ||
| 40 | + m_LightmapEditorSettings: | ||
| 41 | + m_Resolution: 50 | ||
| 42 | + m_LastUsedResolution: 0 | ||
| 43 | + m_TextureWidth: 1024 | ||
| 44 | + m_TextureHeight: 1024 | ||
| 45 | + m_BounceBoost: 1 | ||
| 46 | + m_BounceIntensity: 1 | ||
| 47 | + m_SkyLightColor: {r: .860000014, g: .930000007, b: 1, a: 1} | ||
| 48 | + m_SkyLightIntensity: 0 | ||
| 49 | + m_Quality: 0 | ||
| 50 | + m_Bounces: 1 | ||
| 51 | + m_FinalGatherRays: 1000 | ||
| 52 | + m_FinalGatherContrastThreshold: .0500000007 | ||
| 53 | + m_FinalGatherGradientThreshold: 0 | ||
| 54 | + m_FinalGatherInterpolationPoints: 15 | ||
| 55 | + m_AOAmount: 0 | ||
| 56 | + m_AOMaxDistance: .100000001 | ||
| 57 | + m_AOContrast: 1 | ||
| 58 | + m_LODSurfaceMappingDistance: 1 | ||
| 59 | + m_Padding: 0 | ||
| 60 | + m_TextureCompression: 0 | ||
| 61 | + m_LockAtlas: 0 | ||
| 62 | +--- !u!1 &5 | ||
| 63 | +GameObject: | ||
| 64 | + m_ObjectHideFlags: 0 | ||
| 65 | + m_PrefabParentObject: {fileID: 0} | ||
| 66 | + m_PrefabInternal: {fileID: 0} | ||
| 67 | + serializedVersion: 4 | ||
| 68 | + m_Component: | ||
| 69 | + - 4: {fileID: 6} | ||
| 70 | + - 20: {fileID: 7} | ||
| 71 | + - 92: {fileID: 8} | ||
| 72 | + - 81: {fileID: 9} | ||
| 73 | + - 114: {fileID: 10} | ||
| 74 | + m_Layer: 0 | ||
| 75 | + m_Name: Main Camera | ||
| 76 | + m_TagString: MainCamera | ||
| 77 | + m_Icon: {fileID: 0} | ||
| 78 | + m_NavMeshLayer: 0 | ||
| 79 | + m_StaticEditorFlags: 0 | ||
| 80 | + m_IsActive: 1 | ||
| 81 | +--- !u!4 &6 | ||
| 82 | +Transform: | ||
| 83 | + m_ObjectHideFlags: 0 | ||
| 84 | + m_PrefabParentObject: {fileID: 0} | ||
| 85 | + m_PrefabInternal: {fileID: 0} | ||
| 86 | + m_GameObject: {fileID: 5} | ||
| 87 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 88 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 89 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 90 | + m_Children: [] | ||
| 91 | + m_Father: {fileID: 0} | ||
| 92 | + m_RootOrder: 1 | ||
| 93 | +--- !u!20 &7 | ||
| 94 | +Camera: | ||
| 95 | + m_ObjectHideFlags: 0 | ||
| 96 | + m_PrefabParentObject: {fileID: 0} | ||
| 97 | + m_PrefabInternal: {fileID: 0} | ||
| 98 | + m_GameObject: {fileID: 5} | ||
| 99 | + m_Enabled: 1 | ||
| 100 | + serializedVersion: 2 | ||
| 101 | + m_ClearFlags: 2 | ||
| 102 | + m_BackGroundColor: {r: 0, g: 0, b: 0, a: .0196078438} | ||
| 103 | + m_NormalizedViewPortRect: | ||
| 104 | + serializedVersion: 2 | ||
| 105 | + x: 0 | ||
| 106 | + y: 0 | ||
| 107 | + width: 1 | ||
| 108 | + height: 1 | ||
| 109 | + near clip plane: .150000006 | ||
| 110 | + far clip plane: 1000 | ||
| 111 | + field of view: 70 | ||
| 112 | + orthographic: 0 | ||
| 113 | + orthographic size: 100 | ||
| 114 | + m_Depth: 0 | ||
| 115 | + m_CullingMask: | ||
| 116 | + serializedVersion: 2 | ||
| 117 | + m_Bits: 4294967295 | ||
| 118 | + m_RenderingPath: -1 | ||
| 119 | + m_TargetTexture: {fileID: 0} | ||
| 120 | + m_TargetDisplay: 0 | ||
| 121 | + m_HDR: 0 | ||
| 122 | + m_OcclusionCulling: 0 | ||
| 123 | + m_StereoConvergence: 10 | ||
| 124 | + m_StereoSeparation: .0219999999 | ||
| 125 | +--- !u!92 &8 | ||
| 126 | +Behaviour: | ||
| 127 | + m_ObjectHideFlags: 0 | ||
| 128 | + m_PrefabParentObject: {fileID: 0} | ||
| 129 | + m_PrefabInternal: {fileID: 0} | ||
| 130 | + m_GameObject: {fileID: 5} | ||
| 131 | + m_Enabled: 1 | ||
| 132 | +--- !u!81 &9 | ||
| 133 | +AudioListener: | ||
| 134 | + m_ObjectHideFlags: 0 | ||
| 135 | + m_PrefabParentObject: {fileID: 0} | ||
| 136 | + m_PrefabInternal: {fileID: 0} | ||
| 137 | + m_GameObject: {fileID: 5} | ||
| 138 | + m_Enabled: 1 | ||
| 139 | +--- !u!114 &10 | ||
| 140 | +MonoBehaviour: | ||
| 141 | + m_ObjectHideFlags: 0 | ||
| 142 | + m_PrefabParentObject: {fileID: 0} | ||
| 143 | + m_PrefabInternal: {fileID: 0} | ||
| 144 | + m_GameObject: {fileID: 5} | ||
| 145 | + m_Enabled: 1 | ||
| 146 | + m_EditorHideFlags: 0 | ||
| 147 | + m_Script: {fileID: 11500000, guid: bc18b279b733ab946888907433108fa5, type: 3} | ||
| 148 | + m_Name: | ||
| 149 | + m_EditorClassIdentifier: | ||
| 150 | +--- !u!196 &11 | ||
| 151 | +NavMeshSettings: | ||
| 152 | + m_ObjectHideFlags: 0 | ||
| 153 | + m_BuildSettings: | ||
| 154 | + agentRadius: .5 | ||
| 155 | + agentHeight: 2 | ||
| 156 | + agentSlope: 45 | ||
| 157 | + agentClimb: .400000006 | ||
| 158 | + ledgeDropHeight: 0 | ||
| 159 | + maxJumpAcrossDistance: 0 | ||
| 160 | + accuratePlacement: 0 | ||
| 161 | + minRegionArea: 2 | ||
| 162 | + widthInaccuracy: 16.666666 | ||
| 163 | + heightInaccuracy: 10 | ||
| 164 | + m_NavMesh: {fileID: 0} | ||
| 165 | +--- !u!1 &782348078 | ||
| 166 | +GameObject: | ||
| 167 | + m_ObjectHideFlags: 0 | ||
| 168 | + m_PrefabParentObject: {fileID: 0} | ||
| 169 | + m_PrefabInternal: {fileID: 0} | ||
| 170 | + serializedVersion: 4 | ||
| 171 | + m_Component: | ||
| 172 | + - 4: {fileID: 782348080} | ||
| 173 | + - 114: {fileID: 782348079} | ||
| 174 | + m_Layer: 0 | ||
| 175 | + m_Name: MovieManager | ||
| 176 | + m_TagString: Untagged | ||
| 177 | + m_Icon: {fileID: 0} | ||
| 178 | + m_NavMeshLayer: 0 | ||
| 179 | + m_StaticEditorFlags: 0 | ||
| 180 | + m_IsActive: 1 | ||
| 181 | +--- !u!114 &782348079 | ||
| 182 | +MonoBehaviour: | ||
| 183 | + m_ObjectHideFlags: 0 | ||
| 184 | + m_PrefabParentObject: {fileID: 0} | ||
| 185 | + m_PrefabInternal: {fileID: 0} | ||
| 186 | + m_GameObject: {fileID: 782348078} | ||
| 187 | + m_Enabled: 1 | ||
| 188 | + m_EditorHideFlags: 0 | ||
| 189 | + m_Script: {fileID: 11500000, guid: e97ef6d0bfd7238498bb990e58ae4ca2, type: 3} | ||
| 190 | + m_Name: | ||
| 191 | + m_EditorClassIdentifier: | ||
| 192 | + _logVideoLoads: 1 | ||
| 193 | + _useExternalTextures: 0 | ||
| 194 | +--- !u!4 &782348080 | ||
| 195 | +Transform: | ||
| 196 | + m_ObjectHideFlags: 0 | ||
| 197 | + m_PrefabParentObject: {fileID: 0} | ||
| 198 | + m_PrefabInternal: {fileID: 0} | ||
| 199 | + m_GameObject: {fileID: 782348078} | ||
| 200 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 201 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 202 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 203 | + m_Children: [] | ||
| 204 | + m_Father: {fileID: 0} | ||
| 205 | + m_RootOrder: 3 | ||
| 206 | +--- !u!1 &1074124163 | ||
| 207 | +GameObject: | ||
| 208 | + m_ObjectHideFlags: 0 | ||
| 209 | + m_PrefabParentObject: {fileID: 0} | ||
| 210 | + m_PrefabInternal: {fileID: 0} | ||
| 211 | + serializedVersion: 4 | ||
| 212 | + m_Component: | ||
| 213 | + - 4: {fileID: 1074124166} | ||
| 214 | + - 33: {fileID: 1074124165} | ||
| 215 | + - 23: {fileID: 1074124164} | ||
| 216 | + m_Layer: 0 | ||
| 217 | + m_Name: Sphere | ||
| 218 | + m_TagString: Untagged | ||
| 219 | + m_Icon: {fileID: 0} | ||
| 220 | + m_NavMeshLayer: 0 | ||
| 221 | + m_StaticEditorFlags: 0 | ||
| 222 | + m_IsActive: 1 | ||
| 223 | +--- !u!23 &1074124164 | ||
| 224 | +Renderer: | ||
| 225 | + m_ObjectHideFlags: 0 | ||
| 226 | + m_PrefabParentObject: {fileID: 0} | ||
| 227 | + m_PrefabInternal: {fileID: 0} | ||
| 228 | + m_GameObject: {fileID: 1074124163} | ||
| 229 | + m_Enabled: 1 | ||
| 230 | + m_CastShadows: 0 | ||
| 231 | + m_ReceiveShadows: 0 | ||
| 232 | + m_LightmapIndex: 255 | ||
| 233 | + m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} | ||
| 234 | + m_Materials: | ||
| 235 | + - {fileID: 2100000, guid: ab72c05bbf469b14b8dc263f3da57a6b, type: 2} | ||
| 236 | + m_SubsetIndices: | ||
| 237 | + m_StaticBatchRoot: {fileID: 0} | ||
| 238 | + m_UseLightProbes: 0 | ||
| 239 | + m_LightProbeAnchor: {fileID: 0} | ||
| 240 | + m_ScaleInLightmap: 1 | ||
| 241 | + m_SortingLayerID: 0 | ||
| 242 | + m_SortingOrder: 0 | ||
| 243 | +--- !u!33 &1074124165 | ||
| 244 | +MeshFilter: | ||
| 245 | + m_ObjectHideFlags: 0 | ||
| 246 | + m_PrefabParentObject: {fileID: 0} | ||
| 247 | + m_PrefabInternal: {fileID: 0} | ||
| 248 | + m_GameObject: {fileID: 1074124163} | ||
| 249 | + m_Mesh: {fileID: 4300000, guid: a52e7a3bc245b48dead7ed46dc38ecec, type: 2} | ||
| 250 | +--- !u!4 &1074124166 | ||
| 251 | +Transform: | ||
| 252 | + m_ObjectHideFlags: 0 | ||
| 253 | + m_PrefabParentObject: {fileID: 0} | ||
| 254 | + m_PrefabInternal: {fileID: 0} | ||
| 255 | + m_GameObject: {fileID: 1074124163} | ||
| 256 | + m_LocalRotation: {x: 0, y: 1, z: 0, w: -4.37113883e-08} | ||
| 257 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 258 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 259 | + m_Children: [] | ||
| 260 | + m_Father: {fileID: 0} | ||
| 261 | + m_RootOrder: 4 | ||
| 262 | +--- !u!1 &1848005465 | ||
| 263 | +GameObject: | ||
| 264 | + m_ObjectHideFlags: 0 | ||
| 265 | + m_PrefabParentObject: {fileID: 0} | ||
| 266 | + m_PrefabInternal: {fileID: 0} | ||
| 267 | + serializedVersion: 4 | ||
| 268 | + m_Component: | ||
| 269 | + - 4: {fileID: 1848005466} | ||
| 270 | + - 114: {fileID: 1848005467} | ||
| 271 | + m_Layer: 0 | ||
| 272 | + m_Name: DemoInfo | ||
| 273 | + m_TagString: Untagged | ||
| 274 | + m_Icon: {fileID: 0} | ||
| 275 | + m_NavMeshLayer: 0 | ||
| 276 | + m_StaticEditorFlags: 0 | ||
| 277 | + m_IsActive: 1 | ||
| 278 | +--- !u!4 &1848005466 | ||
| 279 | +Transform: | ||
| 280 | + m_ObjectHideFlags: 0 | ||
| 281 | + m_PrefabParentObject: {fileID: 0} | ||
| 282 | + m_PrefabInternal: {fileID: 0} | ||
| 283 | + m_GameObject: {fileID: 1848005465} | ||
| 284 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 285 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 286 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 287 | + m_Children: [] | ||
| 288 | + m_Father: {fileID: 0} | ||
| 289 | + m_RootOrder: 0 | ||
| 290 | +--- !u!114 &1848005467 | ||
| 291 | +MonoBehaviour: | ||
| 292 | + m_ObjectHideFlags: 0 | ||
| 293 | + m_PrefabParentObject: {fileID: 0} | ||
| 294 | + m_PrefabInternal: {fileID: 0} | ||
| 295 | + m_GameObject: {fileID: 1848005465} | ||
| 296 | + m_Enabled: 1 | ||
| 297 | + m_EditorHideFlags: 0 | ||
| 298 | + m_Script: {fileID: 11500000, guid: 10fa3ce0e1c037e449490a4f9ca3bf99, type: 3} | ||
| 299 | + m_Name: | ||
| 300 | + m_EditorClassIdentifier: | ||
| 301 | + _title: 360 Sphere Video | ||
| 302 | + _description: This demo shows playback of a 360 degree VR equirectangular video. Use | ||
| 303 | + the mouse to look around. | ||
| 304 | +--- !u!1 &1853078886 | ||
| 305 | +GameObject: | ||
| 306 | + m_ObjectHideFlags: 0 | ||
| 307 | + m_PrefabParentObject: {fileID: 0} | ||
| 308 | + m_PrefabInternal: {fileID: 0} | ||
| 309 | + serializedVersion: 4 | ||
| 310 | + m_Component: | ||
| 311 | + - 4: {fileID: 1853078887} | ||
| 312 | + - 114: {fileID: 1853078888} | ||
| 313 | + - 114: {fileID: 1853078890} | ||
| 314 | + m_Layer: 0 | ||
| 315 | + m_Name: Movie | ||
| 316 | + m_TagString: Untagged | ||
| 317 | + m_Icon: {fileID: 0} | ||
| 318 | + m_NavMeshLayer: 0 | ||
| 319 | + m_StaticEditorFlags: 0 | ||
| 320 | + m_IsActive: 1 | ||
| 321 | +--- !u!4 &1853078887 | ||
| 322 | +Transform: | ||
| 323 | + m_ObjectHideFlags: 0 | ||
| 324 | + m_PrefabParentObject: {fileID: 0} | ||
| 325 | + m_PrefabInternal: {fileID: 0} | ||
| 326 | + m_GameObject: {fileID: 1853078886} | ||
| 327 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 328 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 329 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 330 | + m_Children: [] | ||
| 331 | + m_Father: {fileID: 0} | ||
| 332 | + m_RootOrder: 2 | ||
| 333 | +--- !u!114 &1853078888 | ||
| 334 | +MonoBehaviour: | ||
| 335 | + m_ObjectHideFlags: 0 | ||
| 336 | + m_PrefabParentObject: {fileID: 0} | ||
| 337 | + m_PrefabInternal: {fileID: 0} | ||
| 338 | + m_GameObject: {fileID: 1853078886} | ||
| 339 | + m_Enabled: 1 | ||
| 340 | + m_EditorHideFlags: 0 | ||
| 341 | + m_Script: {fileID: 11500000, guid: 8225388bc511e1f40be2e753ddefe282, type: 3} | ||
| 342 | + m_Name: | ||
| 343 | + m_EditorClassIdentifier: | ||
| 344 | + _folder: | ||
| 345 | + _filename: sample-sphere-1024x512-divx.avi | ||
| 346 | + _useStreamingAssetsPath: 1 | ||
| 347 | + _loop: 1 | ||
| 348 | + _colourFormat: 2 | ||
| 349 | + _allowAudio: 0 | ||
| 350 | + _useAudioDelay: 0 | ||
| 351 | + _useAudioMixer: 0 | ||
| 352 | + _useDisplaySync: 0 | ||
| 353 | + _loadOnStart: 1 | ||
| 354 | + _playOnStart: 1 | ||
| 355 | + _editorPreview: 0 | ||
| 356 | + _ignoreFlips: 1 | ||
| 357 | + _volume: .5 | ||
| 358 | + _audioBalance: 0 | ||
| 359 | + _textureFilterMode: 1 | ||
| 360 | + _textureWrapMode: 1 | ||
| 361 | + _clips: [] | ||
| 362 | +--- !u!114 &1853078890 | ||
| 363 | +MonoBehaviour: | ||
| 364 | + m_ObjectHideFlags: 0 | ||
| 365 | + m_PrefabParentObject: {fileID: 0} | ||
| 366 | + m_PrefabInternal: {fileID: 0} | ||
| 367 | + m_GameObject: {fileID: 1853078886} | ||
| 368 | + m_Enabled: 1 | ||
| 369 | + m_EditorHideFlags: 0 | ||
| 370 | + m_Script: {fileID: 11500000, guid: 72fc29f9cbb939141bc513bfa454dbaa, type: 3} | ||
| 371 | + m_Name: | ||
| 372 | + m_EditorClassIdentifier: | ||
| 373 | + _mesh: {fileID: 1074124164} | ||
| 374 | + _movie: {fileID: 1853078888} | ||
| 375 | + _defaultTexture: {fileID: 0} |
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!29 &1 | ||
| 4 | +SceneSettings: | ||
| 5 | + m_ObjectHideFlags: 0 | ||
| 6 | + m_PVSData: | ||
| 7 | + m_PVSObjectsArray: [] | ||
| 8 | + m_PVSPortalsArray: [] | ||
| 9 | + m_OcclusionBakeSettings: | ||
| 10 | + smallestOccluder: 5 | ||
| 11 | + smallestHole: .25 | ||
| 12 | + backfaceThreshold: 100 | ||
| 13 | +--- !u!104 &2 | ||
| 14 | +RenderSettings: | ||
| 15 | + m_Fog: 0 | ||
| 16 | + m_FogColor: {r: .5, g: .5, b: .5, a: 1} | ||
| 17 | + m_FogMode: 3 | ||
| 18 | + m_FogDensity: .00999999978 | ||
| 19 | + m_LinearFogStart: 0 | ||
| 20 | + m_LinearFogEnd: 300 | ||
| 21 | + m_AmbientLight: {r: .200000003, g: .200000003, b: .200000003, a: 1} | ||
| 22 | + m_SkyboxMaterial: {fileID: 0} | ||
| 23 | + m_HaloStrength: .5 | ||
| 24 | + m_FlareStrength: 1 | ||
| 25 | + m_FlareFadeSpeed: 3 | ||
| 26 | + m_HaloTexture: {fileID: 0} | ||
| 27 | + m_SpotCookie: {fileID: 0} | ||
| 28 | + m_ObjectHideFlags: 0 | ||
| 29 | +--- !u!127 &3 | ||
| 30 | +LevelGameManager: | ||
| 31 | + m_ObjectHideFlags: 0 | ||
| 32 | +--- !u!157 &4 | ||
| 33 | +LightmapSettings: | ||
| 34 | + m_ObjectHideFlags: 0 | ||
| 35 | + m_LightProbes: {fileID: 0} | ||
| 36 | + m_Lightmaps: [] | ||
| 37 | + m_LightmapsMode: 1 | ||
| 38 | + m_BakedColorSpace: 0 | ||
| 39 | + m_UseDualLightmapsInForward: 0 | ||
| 40 | + m_LightmapEditorSettings: | ||
| 41 | + m_Resolution: 50 | ||
| 42 | + m_LastUsedResolution: 0 | ||
| 43 | + m_TextureWidth: 1024 | ||
| 44 | + m_TextureHeight: 1024 | ||
| 45 | + m_BounceBoost: 1 | ||
| 46 | + m_BounceIntensity: 1 | ||
| 47 | + m_SkyLightColor: {r: .860000014, g: .930000007, b: 1, a: 1} | ||
| 48 | + m_SkyLightIntensity: 0 | ||
| 49 | + m_Quality: 0 | ||
| 50 | + m_Bounces: 1 | ||
| 51 | + m_FinalGatherRays: 1000 | ||
| 52 | + m_FinalGatherContrastThreshold: .0500000007 | ||
| 53 | + m_FinalGatherGradientThreshold: 0 | ||
| 54 | + m_FinalGatherInterpolationPoints: 15 | ||
| 55 | + m_AOAmount: 0 | ||
| 56 | + m_AOMaxDistance: .100000001 | ||
| 57 | + m_AOContrast: 1 | ||
| 58 | + m_LODSurfaceMappingDistance: 1 | ||
| 59 | + m_Padding: 0 | ||
| 60 | + m_TextureCompression: 0 | ||
| 61 | + m_LockAtlas: 0 | ||
| 62 | +--- !u!1 &5 | ||
| 63 | +GameObject: | ||
| 64 | + m_ObjectHideFlags: 0 | ||
| 65 | + m_PrefabParentObject: {fileID: 0} | ||
| 66 | + m_PrefabInternal: {fileID: 0} | ||
| 67 | + serializedVersion: 4 | ||
| 68 | + m_Component: | ||
| 69 | + - 4: {fileID: 6} | ||
| 70 | + - 20: {fileID: 7} | ||
| 71 | + - 92: {fileID: 8} | ||
| 72 | + - 81: {fileID: 9} | ||
| 73 | + m_Layer: 0 | ||
| 74 | + m_Name: Main Camera | ||
| 75 | + m_TagString: MainCamera | ||
| 76 | + m_Icon: {fileID: 0} | ||
| 77 | + m_NavMeshLayer: 0 | ||
| 78 | + m_StaticEditorFlags: 0 | ||
| 79 | + m_IsActive: 1 | ||
| 80 | +--- !u!4 &6 | ||
| 81 | +Transform: | ||
| 82 | + m_ObjectHideFlags: 0 | ||
| 83 | + m_PrefabParentObject: {fileID: 0} | ||
| 84 | + m_PrefabInternal: {fileID: 0} | ||
| 85 | + m_GameObject: {fileID: 5} | ||
| 86 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 87 | + m_LocalPosition: {x: 0, y: 0, z: -5} | ||
| 88 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 89 | + m_Children: [] | ||
| 90 | + m_Father: {fileID: 0} | ||
| 91 | + m_RootOrder: 1 | ||
| 92 | +--- !u!20 &7 | ||
| 93 | +Camera: | ||
| 94 | + m_ObjectHideFlags: 0 | ||
| 95 | + m_PrefabParentObject: {fileID: 0} | ||
| 96 | + m_PrefabInternal: {fileID: 0} | ||
| 97 | + m_GameObject: {fileID: 5} | ||
| 98 | + m_Enabled: 1 | ||
| 99 | + serializedVersion: 2 | ||
| 100 | + m_ClearFlags: 2 | ||
| 101 | + m_BackGroundColor: {r: .154411793, g: .135110319, b: .135110319, a: .0196078438} | ||
| 102 | + m_NormalizedViewPortRect: | ||
| 103 | + serializedVersion: 2 | ||
| 104 | + x: 0 | ||
| 105 | + y: 0 | ||
| 106 | + width: 1 | ||
| 107 | + height: 1 | ||
| 108 | + near clip plane: .150000006 | ||
| 109 | + far clip plane: 1000 | ||
| 110 | + field of view: 70 | ||
| 111 | + orthographic: 0 | ||
| 112 | + orthographic size: 100 | ||
| 113 | + m_Depth: 0 | ||
| 114 | + m_CullingMask: | ||
| 115 | + serializedVersion: 2 | ||
| 116 | + m_Bits: 4294967295 | ||
| 117 | + m_RenderingPath: -1 | ||
| 118 | + m_TargetTexture: {fileID: 0} | ||
| 119 | + m_TargetDisplay: 0 | ||
| 120 | + m_HDR: 0 | ||
| 121 | + m_OcclusionCulling: 0 | ||
| 122 | + m_StereoConvergence: 10 | ||
| 123 | + m_StereoSeparation: .0219999999 | ||
| 124 | +--- !u!92 &8 | ||
| 125 | +Behaviour: | ||
| 126 | + m_ObjectHideFlags: 0 | ||
| 127 | + m_PrefabParentObject: {fileID: 0} | ||
| 128 | + m_PrefabInternal: {fileID: 0} | ||
| 129 | + m_GameObject: {fileID: 5} | ||
| 130 | + m_Enabled: 1 | ||
| 131 | +--- !u!81 &9 | ||
| 132 | +AudioListener: | ||
| 133 | + m_ObjectHideFlags: 0 | ||
| 134 | + m_PrefabParentObject: {fileID: 0} | ||
| 135 | + m_PrefabInternal: {fileID: 0} | ||
| 136 | + m_GameObject: {fileID: 5} | ||
| 137 | + m_Enabled: 1 | ||
| 138 | +--- !u!196 &11 | ||
| 139 | +NavMeshSettings: | ||
| 140 | + m_ObjectHideFlags: 0 | ||
| 141 | + m_BuildSettings: | ||
| 142 | + agentRadius: .5 | ||
| 143 | + agentHeight: 2 | ||
| 144 | + agentSlope: 45 | ||
| 145 | + agentClimb: .400000006 | ||
| 146 | + ledgeDropHeight: 0 | ||
| 147 | + maxJumpAcrossDistance: 0 | ||
| 148 | + accuratePlacement: 0 | ||
| 149 | + minRegionArea: 2 | ||
| 150 | + widthInaccuracy: 16.666666 | ||
| 151 | + heightInaccuracy: 10 | ||
| 152 | + m_NavMesh: {fileID: 0} | ||
| 153 | +--- !u!1 &47307037 | ||
| 154 | +GameObject: | ||
| 155 | + m_ObjectHideFlags: 0 | ||
| 156 | + m_PrefabParentObject: {fileID: 0} | ||
| 157 | + m_PrefabInternal: {fileID: 0} | ||
| 158 | + serializedVersion: 4 | ||
| 159 | + m_Component: | ||
| 160 | + - 4: {fileID: 47307039} | ||
| 161 | + - 108: {fileID: 47307038} | ||
| 162 | + m_Layer: 0 | ||
| 163 | + m_Name: Directional light | ||
| 164 | + m_TagString: Untagged | ||
| 165 | + m_Icon: {fileID: 0} | ||
| 166 | + m_NavMeshLayer: 0 | ||
| 167 | + m_StaticEditorFlags: 0 | ||
| 168 | + m_IsActive: 1 | ||
| 169 | +--- !u!108 &47307038 | ||
| 170 | +Light: | ||
| 171 | + m_ObjectHideFlags: 0 | ||
| 172 | + m_PrefabParentObject: {fileID: 0} | ||
| 173 | + m_PrefabInternal: {fileID: 0} | ||
| 174 | + m_GameObject: {fileID: 47307037} | ||
| 175 | + m_Enabled: 1 | ||
| 176 | + serializedVersion: 3 | ||
| 177 | + m_Type: 1 | ||
| 178 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 179 | + m_Intensity: .5 | ||
| 180 | + m_Range: 10 | ||
| 181 | + m_SpotAngle: 30 | ||
| 182 | + m_CookieSize: 10 | ||
| 183 | + m_Shadows: | ||
| 184 | + m_Type: 0 | ||
| 185 | + m_Resolution: -1 | ||
| 186 | + m_Strength: 1 | ||
| 187 | + m_Bias: .0500000007 | ||
| 188 | + m_Softness: 4 | ||
| 189 | + m_SoftnessFade: 1 | ||
| 190 | + m_Cookie: {fileID: 0} | ||
| 191 | + m_DrawHalo: 0 | ||
| 192 | + m_ActuallyLightmapped: 0 | ||
| 193 | + m_Flare: {fileID: 0} | ||
| 194 | + m_RenderMode: 0 | ||
| 195 | + m_CullingMask: | ||
| 196 | + serializedVersion: 2 | ||
| 197 | + m_Bits: 4294967295 | ||
| 198 | + m_Lightmapping: 1 | ||
| 199 | + m_ShadowSamples: 1 | ||
| 200 | + m_ShadowRadius: 0 | ||
| 201 | + m_ShadowAngle: 0 | ||
| 202 | + m_IndirectIntensity: 1 | ||
| 203 | + m_AreaSize: {x: 1, y: 1} | ||
| 204 | +--- !u!4 &47307039 | ||
| 205 | +Transform: | ||
| 206 | + m_ObjectHideFlags: 0 | ||
| 207 | + m_PrefabParentObject: {fileID: 0} | ||
| 208 | + m_PrefabInternal: {fileID: 0} | ||
| 209 | + m_GameObject: {fileID: 47307037} | ||
| 210 | + m_LocalRotation: {x: .408217937, y: -.234569728, z: .109381661, w: .875426114} | ||
| 211 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 212 | + m_LocalScale: {x: 1, y: .99999994, z: 1} | ||
| 213 | + m_Children: [] | ||
| 214 | + m_Father: {fileID: 454957154} | ||
| 215 | + m_RootOrder: 3 | ||
| 216 | +--- !u!1 &454957153 | ||
| 217 | +GameObject: | ||
| 218 | + m_ObjectHideFlags: 0 | ||
| 219 | + m_PrefabParentObject: {fileID: 0} | ||
| 220 | + m_PrefabInternal: {fileID: 0} | ||
| 221 | + serializedVersion: 4 | ||
| 222 | + m_Component: | ||
| 223 | + - 4: {fileID: 454957154} | ||
| 224 | + m_Layer: 0 | ||
| 225 | + m_Name: Scene | ||
| 226 | + m_TagString: Untagged | ||
| 227 | + m_Icon: {fileID: 0} | ||
| 228 | + m_NavMeshLayer: 0 | ||
| 229 | + m_StaticEditorFlags: 0 | ||
| 230 | + m_IsActive: 1 | ||
| 231 | +--- !u!4 &454957154 | ||
| 232 | +Transform: | ||
| 233 | + m_ObjectHideFlags: 0 | ||
| 234 | + m_PrefabParentObject: {fileID: 0} | ||
| 235 | + m_PrefabInternal: {fileID: 0} | ||
| 236 | + m_GameObject: {fileID: 454957153} | ||
| 237 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 238 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 239 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 240 | + m_Children: | ||
| 241 | + - {fileID: 803496874} | ||
| 242 | + - {fileID: 929259379} | ||
| 243 | + - {fileID: 2047720171} | ||
| 244 | + - {fileID: 47307039} | ||
| 245 | + m_Father: {fileID: 0} | ||
| 246 | + m_RootOrder: 5 | ||
| 247 | +--- !u!1 &782348078 | ||
| 248 | +GameObject: | ||
| 249 | + m_ObjectHideFlags: 0 | ||
| 250 | + m_PrefabParentObject: {fileID: 0} | ||
| 251 | + m_PrefabInternal: {fileID: 0} | ||
| 252 | + serializedVersion: 4 | ||
| 253 | + m_Component: | ||
| 254 | + - 4: {fileID: 782348080} | ||
| 255 | + - 114: {fileID: 782348079} | ||
| 256 | + m_Layer: 0 | ||
| 257 | + m_Name: MovieManager | ||
| 258 | + m_TagString: Untagged | ||
| 259 | + m_Icon: {fileID: 0} | ||
| 260 | + m_NavMeshLayer: 0 | ||
| 261 | + m_StaticEditorFlags: 0 | ||
| 262 | + m_IsActive: 1 | ||
| 263 | +--- !u!114 &782348079 | ||
| 264 | +MonoBehaviour: | ||
| 265 | + m_ObjectHideFlags: 0 | ||
| 266 | + m_PrefabParentObject: {fileID: 0} | ||
| 267 | + m_PrefabInternal: {fileID: 0} | ||
| 268 | + m_GameObject: {fileID: 782348078} | ||
| 269 | + m_Enabled: 1 | ||
| 270 | + m_EditorHideFlags: 0 | ||
| 271 | + m_Script: {fileID: 11500000, guid: e97ef6d0bfd7238498bb990e58ae4ca2, type: 3} | ||
| 272 | + m_Name: | ||
| 273 | + m_EditorClassIdentifier: | ||
| 274 | + _logVideoLoads: 1 | ||
| 275 | + _useExternalTextures: 0 | ||
| 276 | +--- !u!4 &782348080 | ||
| 277 | +Transform: | ||
| 278 | + m_ObjectHideFlags: 0 | ||
| 279 | + m_PrefabParentObject: {fileID: 0} | ||
| 280 | + m_PrefabInternal: {fileID: 0} | ||
| 281 | + m_GameObject: {fileID: 782348078} | ||
| 282 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 283 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 284 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 285 | + m_Children: [] | ||
| 286 | + m_Father: {fileID: 0} | ||
| 287 | + m_RootOrder: 3 | ||
| 288 | +--- !u!1 &803496873 | ||
| 289 | +GameObject: | ||
| 290 | + m_ObjectHideFlags: 0 | ||
| 291 | + m_PrefabParentObject: {fileID: 0} | ||
| 292 | + m_PrefabInternal: {fileID: 0} | ||
| 293 | + serializedVersion: 4 | ||
| 294 | + m_Component: | ||
| 295 | + - 4: {fileID: 803496874} | ||
| 296 | + - 33: {fileID: 803496877} | ||
| 297 | + - 23: {fileID: 803496876} | ||
| 298 | + - 114: {fileID: 803496875} | ||
| 299 | + m_Layer: 0 | ||
| 300 | + m_Name: Cube | ||
| 301 | + m_TagString: Untagged | ||
| 302 | + m_Icon: {fileID: 0} | ||
| 303 | + m_NavMeshLayer: 0 | ||
| 304 | + m_StaticEditorFlags: 0 | ||
| 305 | + m_IsActive: 1 | ||
| 306 | +--- !u!4 &803496874 | ||
| 307 | +Transform: | ||
| 308 | + m_ObjectHideFlags: 0 | ||
| 309 | + m_PrefabParentObject: {fileID: 0} | ||
| 310 | + m_PrefabInternal: {fileID: 0} | ||
| 311 | + m_GameObject: {fileID: 803496873} | ||
| 312 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 313 | + m_LocalPosition: {x: -1.72399998, y: 0, z: -2.32399988} | ||
| 314 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 315 | + m_Children: [] | ||
| 316 | + m_Father: {fileID: 454957154} | ||
| 317 | + m_RootOrder: 0 | ||
| 318 | +--- !u!114 &803496875 | ||
| 319 | +MonoBehaviour: | ||
| 320 | + m_ObjectHideFlags: 0 | ||
| 321 | + m_PrefabParentObject: {fileID: 0} | ||
| 322 | + m_PrefabInternal: {fileID: 0} | ||
| 323 | + m_GameObject: {fileID: 803496873} | ||
| 324 | + m_Enabled: 1 | ||
| 325 | + m_EditorHideFlags: 0 | ||
| 326 | + m_Script: {fileID: 11500000, guid: 1ce061c3825c34945a67c7ca4422a7a1, type: 3} | ||
| 327 | + m_Name: | ||
| 328 | + m_EditorClassIdentifier: | ||
| 329 | +--- !u!23 &803496876 | ||
| 330 | +Renderer: | ||
| 331 | + m_ObjectHideFlags: 0 | ||
| 332 | + m_PrefabParentObject: {fileID: 0} | ||
| 333 | + m_PrefabInternal: {fileID: 0} | ||
| 334 | + m_GameObject: {fileID: 803496873} | ||
| 335 | + m_Enabled: 1 | ||
| 336 | + m_CastShadows: 0 | ||
| 337 | + m_ReceiveShadows: 0 | ||
| 338 | + m_LightmapIndex: 255 | ||
| 339 | + m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} | ||
| 340 | + m_Materials: | ||
| 341 | + - {fileID: 10302, guid: 0000000000000000f000000000000000, type: 0} | ||
| 342 | + m_SubsetIndices: | ||
| 343 | + m_StaticBatchRoot: {fileID: 0} | ||
| 344 | + m_UseLightProbes: 0 | ||
| 345 | + m_LightProbeAnchor: {fileID: 0} | ||
| 346 | + m_ScaleInLightmap: 1 | ||
| 347 | + m_SortingLayerID: 0 | ||
| 348 | + m_SortingOrder: 0 | ||
| 349 | +--- !u!33 &803496877 | ||
| 350 | +MeshFilter: | ||
| 351 | + m_ObjectHideFlags: 0 | ||
| 352 | + m_PrefabParentObject: {fileID: 0} | ||
| 353 | + m_PrefabInternal: {fileID: 0} | ||
| 354 | + m_GameObject: {fileID: 803496873} | ||
| 355 | + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} | ||
| 356 | +--- !u!1 &929259375 | ||
| 357 | +GameObject: | ||
| 358 | + m_ObjectHideFlags: 0 | ||
| 359 | + m_PrefabParentObject: {fileID: 0} | ||
| 360 | + m_PrefabInternal: {fileID: 0} | ||
| 361 | + serializedVersion: 4 | ||
| 362 | + m_Component: | ||
| 363 | + - 4: {fileID: 929259379} | ||
| 364 | + - 33: {fileID: 929259378} | ||
| 365 | + - 23: {fileID: 929259377} | ||
| 366 | + - 114: {fileID: 929259376} | ||
| 367 | + m_Layer: 0 | ||
| 368 | + m_Name: Cube | ||
| 369 | + m_TagString: Untagged | ||
| 370 | + m_Icon: {fileID: 0} | ||
| 371 | + m_NavMeshLayer: 0 | ||
| 372 | + m_StaticEditorFlags: 0 | ||
| 373 | + m_IsActive: 1 | ||
| 374 | +--- !u!114 &929259376 | ||
| 375 | +MonoBehaviour: | ||
| 376 | + m_ObjectHideFlags: 0 | ||
| 377 | + m_PrefabParentObject: {fileID: 0} | ||
| 378 | + m_PrefabInternal: {fileID: 0} | ||
| 379 | + m_GameObject: {fileID: 929259375} | ||
| 380 | + m_Enabled: 1 | ||
| 381 | + m_EditorHideFlags: 0 | ||
| 382 | + m_Script: {fileID: 11500000, guid: 1ce061c3825c34945a67c7ca4422a7a1, type: 3} | ||
| 383 | + m_Name: | ||
| 384 | + m_EditorClassIdentifier: | ||
| 385 | +--- !u!23 &929259377 | ||
| 386 | +Renderer: | ||
| 387 | + m_ObjectHideFlags: 0 | ||
| 388 | + m_PrefabParentObject: {fileID: 0} | ||
| 389 | + m_PrefabInternal: {fileID: 0} | ||
| 390 | + m_GameObject: {fileID: 929259375} | ||
| 391 | + m_Enabled: 1 | ||
| 392 | + m_CastShadows: 0 | ||
| 393 | + m_ReceiveShadows: 0 | ||
| 394 | + m_LightmapIndex: 255 | ||
| 395 | + m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} | ||
| 396 | + m_Materials: | ||
| 397 | + - {fileID: 10302, guid: 0000000000000000f000000000000000, type: 0} | ||
| 398 | + m_SubsetIndices: | ||
| 399 | + m_StaticBatchRoot: {fileID: 0} | ||
| 400 | + m_UseLightProbes: 0 | ||
| 401 | + m_LightProbeAnchor: {fileID: 0} | ||
| 402 | + m_ScaleInLightmap: 1 | ||
| 403 | + m_SortingLayerID: 0 | ||
| 404 | + m_SortingOrder: 0 | ||
| 405 | +--- !u!33 &929259378 | ||
| 406 | +MeshFilter: | ||
| 407 | + m_ObjectHideFlags: 0 | ||
| 408 | + m_PrefabParentObject: {fileID: 0} | ||
| 409 | + m_PrefabInternal: {fileID: 0} | ||
| 410 | + m_GameObject: {fileID: 929259375} | ||
| 411 | + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} | ||
| 412 | +--- !u!4 &929259379 | ||
| 413 | +Transform: | ||
| 414 | + m_ObjectHideFlags: 0 | ||
| 415 | + m_PrefabParentObject: {fileID: 0} | ||
| 416 | + m_PrefabInternal: {fileID: 0} | ||
| 417 | + m_GameObject: {fileID: 929259375} | ||
| 418 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 419 | + m_LocalPosition: {x: 1.53199995, y: .899999976, z: 0} | ||
| 420 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 421 | + m_Children: [] | ||
| 422 | + m_Father: {fileID: 454957154} | ||
| 423 | + m_RootOrder: 1 | ||
| 424 | +--- !u!1 &980153782 | ||
| 425 | +GameObject: | ||
| 426 | + m_ObjectHideFlags: 0 | ||
| 427 | + m_PrefabParentObject: {fileID: 0} | ||
| 428 | + m_PrefabInternal: {fileID: 0} | ||
| 429 | + serializedVersion: 4 | ||
| 430 | + m_Component: | ||
| 431 | + - 4: {fileID: 980153785} | ||
| 432 | + - 33: {fileID: 980153784} | ||
| 433 | + - 23: {fileID: 980153783} | ||
| 434 | + m_Layer: 0 | ||
| 435 | + m_Name: Quad | ||
| 436 | + m_TagString: Untagged | ||
| 437 | + m_Icon: {fileID: 0} | ||
| 438 | + m_NavMeshLayer: 0 | ||
| 439 | + m_StaticEditorFlags: 0 | ||
| 440 | + m_IsActive: 1 | ||
| 441 | +--- !u!23 &980153783 | ||
| 442 | +Renderer: | ||
| 443 | + m_ObjectHideFlags: 0 | ||
| 444 | + m_PrefabParentObject: {fileID: 0} | ||
| 445 | + m_PrefabInternal: {fileID: 0} | ||
| 446 | + m_GameObject: {fileID: 980153782} | ||
| 447 | + m_Enabled: 1 | ||
| 448 | + m_CastShadows: 0 | ||
| 449 | + m_ReceiveShadows: 0 | ||
| 450 | + m_LightmapIndex: 255 | ||
| 451 | + m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} | ||
| 452 | + m_Materials: | ||
| 453 | + - {fileID: 2100000, guid: fe6a8b0c4b26eb946a943716f2a75230, type: 2} | ||
| 454 | + m_SubsetIndices: | ||
| 455 | + m_StaticBatchRoot: {fileID: 0} | ||
| 456 | + m_UseLightProbes: 0 | ||
| 457 | + m_LightProbeAnchor: {fileID: 0} | ||
| 458 | + m_ScaleInLightmap: 1 | ||
| 459 | + m_SortingLayerID: 0 | ||
| 460 | + m_SortingOrder: 0 | ||
| 461 | +--- !u!33 &980153784 | ||
| 462 | +MeshFilter: | ||
| 463 | + m_ObjectHideFlags: 0 | ||
| 464 | + m_PrefabParentObject: {fileID: 0} | ||
| 465 | + m_PrefabInternal: {fileID: 0} | ||
| 466 | + m_GameObject: {fileID: 980153782} | ||
| 467 | + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} | ||
| 468 | +--- !u!4 &980153785 | ||
| 469 | +Transform: | ||
| 470 | + m_ObjectHideFlags: 0 | ||
| 471 | + m_PrefabParentObject: {fileID: 0} | ||
| 472 | + m_PrefabInternal: {fileID: 0} | ||
| 473 | + m_GameObject: {fileID: 980153782} | ||
| 474 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 475 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 476 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 477 | + m_Children: [] | ||
| 478 | + m_Father: {fileID: 0} | ||
| 479 | + m_RootOrder: 4 | ||
| 480 | +--- !u!1 &1848005465 | ||
| 481 | +GameObject: | ||
| 482 | + m_ObjectHideFlags: 0 | ||
| 483 | + m_PrefabParentObject: {fileID: 0} | ||
| 484 | + m_PrefabInternal: {fileID: 0} | ||
| 485 | + serializedVersion: 4 | ||
| 486 | + m_Component: | ||
| 487 | + - 4: {fileID: 1848005466} | ||
| 488 | + - 114: {fileID: 1848005467} | ||
| 489 | + m_Layer: 0 | ||
| 490 | + m_Name: DemoInfo | ||
| 491 | + m_TagString: Untagged | ||
| 492 | + m_Icon: {fileID: 0} | ||
| 493 | + m_NavMeshLayer: 0 | ||
| 494 | + m_StaticEditorFlags: 0 | ||
| 495 | + m_IsActive: 1 | ||
| 496 | +--- !u!4 &1848005466 | ||
| 497 | +Transform: | ||
| 498 | + m_ObjectHideFlags: 0 | ||
| 499 | + m_PrefabParentObject: {fileID: 0} | ||
| 500 | + m_PrefabInternal: {fileID: 0} | ||
| 501 | + m_GameObject: {fileID: 1848005465} | ||
| 502 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 503 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 504 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 505 | + m_Children: [] | ||
| 506 | + m_Father: {fileID: 0} | ||
| 507 | + m_RootOrder: 0 | ||
| 508 | +--- !u!114 &1848005467 | ||
| 509 | +MonoBehaviour: | ||
| 510 | + m_ObjectHideFlags: 0 | ||
| 511 | + m_PrefabParentObject: {fileID: 0} | ||
| 512 | + m_PrefabInternal: {fileID: 0} | ||
| 513 | + m_GameObject: {fileID: 1848005465} | ||
| 514 | + m_Enabled: 1 | ||
| 515 | + m_EditorHideFlags: 0 | ||
| 516 | + m_Script: {fileID: 11500000, guid: 10fa3ce0e1c037e449490a4f9ca3bf99, type: 3} | ||
| 517 | + m_Name: | ||
| 518 | + m_EditorClassIdentifier: | ||
| 519 | + _title: Background | ||
| 520 | + _description: This demo shows how to use a special material to play videos in the | ||
| 521 | + background behind all other Unity rendering. Useful for augmented reality. | ||
| 522 | +--- !u!1 &1853078886 | ||
| 523 | +GameObject: | ||
| 524 | + m_ObjectHideFlags: 0 | ||
| 525 | + m_PrefabParentObject: {fileID: 0} | ||
| 526 | + m_PrefabInternal: {fileID: 0} | ||
| 527 | + serializedVersion: 4 | ||
| 528 | + m_Component: | ||
| 529 | + - 4: {fileID: 1853078887} | ||
| 530 | + - 114: {fileID: 1853078888} | ||
| 531 | + - 114: {fileID: 1853078889} | ||
| 532 | + m_Layer: 0 | ||
| 533 | + m_Name: Movie | ||
| 534 | + m_TagString: Untagged | ||
| 535 | + m_Icon: {fileID: 0} | ||
| 536 | + m_NavMeshLayer: 0 | ||
| 537 | + m_StaticEditorFlags: 0 | ||
| 538 | + m_IsActive: 1 | ||
| 539 | +--- !u!4 &1853078887 | ||
| 540 | +Transform: | ||
| 541 | + m_ObjectHideFlags: 0 | ||
| 542 | + m_PrefabParentObject: {fileID: 0} | ||
| 543 | + m_PrefabInternal: {fileID: 0} | ||
| 544 | + m_GameObject: {fileID: 1853078886} | ||
| 545 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 546 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 547 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 548 | + m_Children: [] | ||
| 549 | + m_Father: {fileID: 0} | ||
| 550 | + m_RootOrder: 2 | ||
| 551 | +--- !u!114 &1853078888 | ||
| 552 | +MonoBehaviour: | ||
| 553 | + m_ObjectHideFlags: 0 | ||
| 554 | + m_PrefabParentObject: {fileID: 0} | ||
| 555 | + m_PrefabInternal: {fileID: 0} | ||
| 556 | + m_GameObject: {fileID: 1853078886} | ||
| 557 | + m_Enabled: 1 | ||
| 558 | + m_EditorHideFlags: 0 | ||
| 559 | + m_Script: {fileID: 11500000, guid: 8225388bc511e1f40be2e753ddefe282, type: 3} | ||
| 560 | + m_Name: | ||
| 561 | + m_EditorClassIdentifier: | ||
| 562 | + _folder: | ||
| 563 | + _filename: sample-1920x1024-divx.avi | ||
| 564 | + _useStreamingAssetsPath: 1 | ||
| 565 | + _loop: 1 | ||
| 566 | + _colourFormat: 2 | ||
| 567 | + _allowAudio: 0 | ||
| 568 | + _useAudioDelay: 0 | ||
| 569 | + _useAudioMixer: 0 | ||
| 570 | + _useDisplaySync: 0 | ||
| 571 | + _loadOnStart: 1 | ||
| 572 | + _playOnStart: 1 | ||
| 573 | + _editorPreview: 0 | ||
| 574 | + _ignoreFlips: 1 | ||
| 575 | + _volume: .5 | ||
| 576 | + _audioBalance: 0 | ||
| 577 | + _textureFilterMode: 1 | ||
| 578 | + _textureWrapMode: 1 | ||
| 579 | + _clips: [] | ||
| 580 | +--- !u!114 &1853078889 | ||
| 581 | +MonoBehaviour: | ||
| 582 | + m_ObjectHideFlags: 0 | ||
| 583 | + m_PrefabParentObject: {fileID: 0} | ||
| 584 | + m_PrefabInternal: {fileID: 0} | ||
| 585 | + m_GameObject: {fileID: 1853078886} | ||
| 586 | + m_Enabled: 1 | ||
| 587 | + m_EditorHideFlags: 0 | ||
| 588 | + m_Script: {fileID: 11500000, guid: 72fc29f9cbb939141bc513bfa454dbaa, type: 3} | ||
| 589 | + m_Name: | ||
| 590 | + m_EditorClassIdentifier: | ||
| 591 | + _mesh: {fileID: 980153783} | ||
| 592 | + _movie: {fileID: 1853078888} | ||
| 593 | + _defaultTexture: {fileID: 0} | ||
| 594 | +--- !u!1 &2047720170 | ||
| 595 | +GameObject: | ||
| 596 | + m_ObjectHideFlags: 0 | ||
| 597 | + m_PrefabParentObject: {fileID: 0} | ||
| 598 | + m_PrefabInternal: {fileID: 0} | ||
| 599 | + serializedVersion: 4 | ||
| 600 | + m_Component: | ||
| 601 | + - 4: {fileID: 2047720171} | ||
| 602 | + - 33: {fileID: 2047720174} | ||
| 603 | + - 23: {fileID: 2047720173} | ||
| 604 | + - 114: {fileID: 2047720172} | ||
| 605 | + m_Layer: 0 | ||
| 606 | + m_Name: Cube | ||
| 607 | + m_TagString: Untagged | ||
| 608 | + m_Icon: {fileID: 0} | ||
| 609 | + m_NavMeshLayer: 0 | ||
| 610 | + m_StaticEditorFlags: 0 | ||
| 611 | + m_IsActive: 1 | ||
| 612 | +--- !u!4 &2047720171 | ||
| 613 | +Transform: | ||
| 614 | + m_ObjectHideFlags: 0 | ||
| 615 | + m_PrefabParentObject: {fileID: 0} | ||
| 616 | + m_PrefabInternal: {fileID: 0} | ||
| 617 | + m_GameObject: {fileID: 2047720170} | ||
| 618 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 619 | + m_LocalPosition: {x: 2.32999992, y: -.734000027, z: -2.05200005} | ||
| 620 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 621 | + m_Children: [] | ||
| 622 | + m_Father: {fileID: 454957154} | ||
| 623 | + m_RootOrder: 2 | ||
| 624 | +--- !u!114 &2047720172 | ||
| 625 | +MonoBehaviour: | ||
| 626 | + m_ObjectHideFlags: 0 | ||
| 627 | + m_PrefabParentObject: {fileID: 0} | ||
| 628 | + m_PrefabInternal: {fileID: 0} | ||
| 629 | + m_GameObject: {fileID: 2047720170} | ||
| 630 | + m_Enabled: 1 | ||
| 631 | + m_EditorHideFlags: 0 | ||
| 632 | + m_Script: {fileID: 11500000, guid: 1ce061c3825c34945a67c7ca4422a7a1, type: 3} | ||
| 633 | + m_Name: | ||
| 634 | + m_EditorClassIdentifier: | ||
| 635 | +--- !u!23 &2047720173 | ||
| 636 | +Renderer: | ||
| 637 | + m_ObjectHideFlags: 0 | ||
| 638 | + m_PrefabParentObject: {fileID: 0} | ||
| 639 | + m_PrefabInternal: {fileID: 0} | ||
| 640 | + m_GameObject: {fileID: 2047720170} | ||
| 641 | + m_Enabled: 1 | ||
| 642 | + m_CastShadows: 0 | ||
| 643 | + m_ReceiveShadows: 0 | ||
| 644 | + m_LightmapIndex: 255 | ||
| 645 | + m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} | ||
| 646 | + m_Materials: | ||
| 647 | + - {fileID: 10302, guid: 0000000000000000f000000000000000, type: 0} | ||
| 648 | + m_SubsetIndices: | ||
| 649 | + m_StaticBatchRoot: {fileID: 0} | ||
| 650 | + m_UseLightProbes: 0 | ||
| 651 | + m_LightProbeAnchor: {fileID: 0} | ||
| 652 | + m_ScaleInLightmap: 1 | ||
| 653 | + m_SortingLayerID: 0 | ||
| 654 | + m_SortingOrder: 0 | ||
| 655 | +--- !u!33 &2047720174 | ||
| 656 | +MeshFilter: | ||
| 657 | + m_ObjectHideFlags: 0 | ||
| 658 | + m_PrefabParentObject: {fileID: 0} | ||
| 659 | + m_PrefabInternal: {fileID: 0} | ||
| 660 | + m_GameObject: {fileID: 2047720170} | ||
| 661 | + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} |
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!29 &1 | ||
| 4 | +SceneSettings: | ||
| 5 | + m_ObjectHideFlags: 0 | ||
| 6 | + m_PVSData: | ||
| 7 | + m_PVSObjectsArray: [] | ||
| 8 | + m_PVSPortalsArray: [] | ||
| 9 | + m_OcclusionBakeSettings: | ||
| 10 | + smallestOccluder: 5 | ||
| 11 | + smallestHole: .25 | ||
| 12 | + backfaceThreshold: 100 | ||
| 13 | +--- !u!104 &2 | ||
| 14 | +RenderSettings: | ||
| 15 | + m_Fog: 0 | ||
| 16 | + m_FogColor: {r: .5, g: .5, b: .5, a: 1} | ||
| 17 | + m_FogMode: 3 | ||
| 18 | + m_FogDensity: .00999999978 | ||
| 19 | + m_LinearFogStart: 0 | ||
| 20 | + m_LinearFogEnd: 300 | ||
| 21 | + m_AmbientLight: {r: .200000003, g: .200000003, b: .200000003, a: 1} | ||
| 22 | + m_SkyboxMaterial: {fileID: 0} | ||
| 23 | + m_HaloStrength: .5 | ||
| 24 | + m_FlareStrength: 1 | ||
| 25 | + m_FlareFadeSpeed: 3 | ||
| 26 | + m_HaloTexture: {fileID: 0} | ||
| 27 | + m_SpotCookie: {fileID: 0} | ||
| 28 | + m_ObjectHideFlags: 0 | ||
| 29 | +--- !u!127 &3 | ||
| 30 | +LevelGameManager: | ||
| 31 | + m_ObjectHideFlags: 0 | ||
| 32 | +--- !u!157 &4 | ||
| 33 | +LightmapSettings: | ||
| 34 | + m_ObjectHideFlags: 0 | ||
| 35 | + m_LightProbes: {fileID: 0} | ||
| 36 | + m_Lightmaps: [] | ||
| 37 | + m_LightmapsMode: 1 | ||
| 38 | + m_BakedColorSpace: 0 | ||
| 39 | + m_UseDualLightmapsInForward: 0 | ||
| 40 | + m_LightmapEditorSettings: | ||
| 41 | + m_Resolution: 50 | ||
| 42 | + m_LastUsedResolution: 0 | ||
| 43 | + m_TextureWidth: 1024 | ||
| 44 | + m_TextureHeight: 1024 | ||
| 45 | + m_BounceBoost: 1 | ||
| 46 | + m_BounceIntensity: 1 | ||
| 47 | + m_SkyLightColor: {r: .860000014, g: .930000007, b: 1, a: 1} | ||
| 48 | + m_SkyLightIntensity: 0 | ||
| 49 | + m_Quality: 0 | ||
| 50 | + m_Bounces: 1 | ||
| 51 | + m_FinalGatherRays: 1000 | ||
| 52 | + m_FinalGatherContrastThreshold: .0500000007 | ||
| 53 | + m_FinalGatherGradientThreshold: 0 | ||
| 54 | + m_FinalGatherInterpolationPoints: 15 | ||
| 55 | + m_AOAmount: 0 | ||
| 56 | + m_AOMaxDistance: .100000001 | ||
| 57 | + m_AOContrast: 1 | ||
| 58 | + m_LODSurfaceMappingDistance: 1 | ||
| 59 | + m_Padding: 0 | ||
| 60 | + m_TextureCompression: 0 | ||
| 61 | + m_LockAtlas: 0 | ||
| 62 | +--- !u!196 &5 | ||
| 63 | +NavMeshSettings: | ||
| 64 | + m_ObjectHideFlags: 0 | ||
| 65 | + m_BuildSettings: | ||
| 66 | + agentRadius: .5 | ||
| 67 | + agentHeight: 2 | ||
| 68 | + agentSlope: 45 | ||
| 69 | + agentClimb: .400000006 | ||
| 70 | + ledgeDropHeight: 0 | ||
| 71 | + maxJumpAcrossDistance: 0 | ||
| 72 | + accuratePlacement: 0 | ||
| 73 | + minRegionArea: 2 | ||
| 74 | + widthInaccuracy: 16.666666 | ||
| 75 | + heightInaccuracy: 10 | ||
| 76 | + m_NavMesh: {fileID: 0} | ||
| 77 | +--- !u!1 &1976860020 | ||
| 78 | +GameObject: | ||
| 79 | + m_ObjectHideFlags: 0 | ||
| 80 | + m_PrefabParentObject: {fileID: 0} | ||
| 81 | + m_PrefabInternal: {fileID: 0} | ||
| 82 | + serializedVersion: 4 | ||
| 83 | + m_Component: | ||
| 84 | + - 4: {fileID: 1976860021} | ||
| 85 | + - 20: {fileID: 1976860022} | ||
| 86 | + - 92: {fileID: 1976860024} | ||
| 87 | + - 124: {fileID: 1976860025} | ||
| 88 | + - 81: {fileID: 1976860023} | ||
| 89 | + - 114: {fileID: 1976860026} | ||
| 90 | + - 114: {fileID: 1976860027} | ||
| 91 | + - 114: {fileID: 1976860028} | ||
| 92 | + m_Layer: 0 | ||
| 93 | + m_Name: Main Camera | ||
| 94 | + m_TagString: MainCamera | ||
| 95 | + m_Icon: {fileID: 0} | ||
| 96 | + m_NavMeshLayer: 0 | ||
| 97 | + m_StaticEditorFlags: 0 | ||
| 98 | + m_IsActive: 1 | ||
| 99 | +--- !u!4 &1976860021 | ||
| 100 | +Transform: | ||
| 101 | + m_ObjectHideFlags: 0 | ||
| 102 | + m_PrefabParentObject: {fileID: 0} | ||
| 103 | + m_PrefabInternal: {fileID: 0} | ||
| 104 | + m_GameObject: {fileID: 1976860020} | ||
| 105 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 106 | + m_LocalPosition: {x: 0, y: 1, z: -10} | ||
| 107 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 108 | + m_Children: [] | ||
| 109 | + m_Father: {fileID: 0} | ||
| 110 | + m_RootOrder: 0 | ||
| 111 | +--- !u!20 &1976860022 | ||
| 112 | +Camera: | ||
| 113 | + m_ObjectHideFlags: 0 | ||
| 114 | + m_PrefabParentObject: {fileID: 0} | ||
| 115 | + m_PrefabInternal: {fileID: 0} | ||
| 116 | + m_GameObject: {fileID: 1976860020} | ||
| 117 | + m_Enabled: 1 | ||
| 118 | + serializedVersion: 2 | ||
| 119 | + m_ClearFlags: 1 | ||
| 120 | + m_BackGroundColor: {r: .097014904, g: .097014904, b: .097014904, a: .0196078438} | ||
| 121 | + m_NormalizedViewPortRect: | ||
| 122 | + serializedVersion: 2 | ||
| 123 | + x: 0 | ||
| 124 | + y: 0 | ||
| 125 | + width: 1 | ||
| 126 | + height: 1 | ||
| 127 | + near clip plane: .300000012 | ||
| 128 | + far clip plane: 1000 | ||
| 129 | + field of view: 60 | ||
| 130 | + orthographic: 0 | ||
| 131 | + orthographic size: 100 | ||
| 132 | + m_Depth: -1 | ||
| 133 | + m_CullingMask: | ||
| 134 | + serializedVersion: 2 | ||
| 135 | + m_Bits: 4294967295 | ||
| 136 | + m_RenderingPath: -1 | ||
| 137 | + m_TargetTexture: {fileID: 0} | ||
| 138 | + m_TargetDisplay: 0 | ||
| 139 | + m_HDR: 0 | ||
| 140 | + m_OcclusionCulling: 0 | ||
| 141 | + m_StereoConvergence: 10 | ||
| 142 | + m_StereoSeparation: .0219999999 | ||
| 143 | +--- !u!81 &1976860023 | ||
| 144 | +AudioListener: | ||
| 145 | + m_ObjectHideFlags: 0 | ||
| 146 | + m_PrefabParentObject: {fileID: 0} | ||
| 147 | + m_PrefabInternal: {fileID: 0} | ||
| 148 | + m_GameObject: {fileID: 1976860020} | ||
| 149 | + m_Enabled: 1 | ||
| 150 | +--- !u!92 &1976860024 | ||
| 151 | +Behaviour: | ||
| 152 | + m_ObjectHideFlags: 0 | ||
| 153 | + m_PrefabParentObject: {fileID: 0} | ||
| 154 | + m_PrefabInternal: {fileID: 0} | ||
| 155 | + m_GameObject: {fileID: 1976860020} | ||
| 156 | + m_Enabled: 1 | ||
| 157 | +--- !u!124 &1976860025 | ||
| 158 | +Behaviour: | ||
| 159 | + m_ObjectHideFlags: 0 | ||
| 160 | + m_PrefabParentObject: {fileID: 0} | ||
| 161 | + m_PrefabInternal: {fileID: 0} | ||
| 162 | + m_GameObject: {fileID: 1976860020} | ||
| 163 | + m_Enabled: 1 | ||
| 164 | +--- !u!114 &1976860026 | ||
| 165 | +MonoBehaviour: | ||
| 166 | + m_ObjectHideFlags: 0 | ||
| 167 | + m_PrefabParentObject: {fileID: 0} | ||
| 168 | + m_PrefabInternal: {fileID: 0} | ||
| 169 | + m_GameObject: {fileID: 1976860020} | ||
| 170 | + m_Enabled: 1 | ||
| 171 | + m_EditorHideFlags: 0 | ||
| 172 | + m_Script: {fileID: 11500000, guid: e97ef6d0bfd7238498bb990e58ae4ca2, type: 3} | ||
| 173 | + m_Name: | ||
| 174 | + m_EditorClassIdentifier: | ||
| 175 | + _logVideoLoads: 1 | ||
| 176 | + _useExternalTextures: 0 | ||
| 177 | +--- !u!114 &1976860027 | ||
| 178 | +MonoBehaviour: | ||
| 179 | + m_ObjectHideFlags: 0 | ||
| 180 | + m_PrefabParentObject: {fileID: 0} | ||
| 181 | + m_PrefabInternal: {fileID: 0} | ||
| 182 | + m_GameObject: {fileID: 1976860020} | ||
| 183 | + m_Enabled: 1 | ||
| 184 | + m_EditorHideFlags: 0 | ||
| 185 | + m_Script: {fileID: 11500000, guid: e60819a824743a54d82b5522e52cea3e, type: 3} | ||
| 186 | + m_Name: | ||
| 187 | + m_EditorClassIdentifier: | ||
| 188 | + _folder: | ||
| 189 | + _filename: sample-blue-480x256-divx.avi | ||
| 190 | + _useStreamingAssetsPath: 1 | ||
| 191 | + _guiSkin: {fileID: 11400000, guid: eb821627fb1a0c044a6fd7a6dabe3147, type: 2} | ||
| 192 | + _async: 1 | ||
| 193 | +--- !u!114 &1976860028 | ||
| 194 | +MonoBehaviour: | ||
| 195 | + m_ObjectHideFlags: 0 | ||
| 196 | + m_PrefabParentObject: {fileID: 0} | ||
| 197 | + m_PrefabInternal: {fileID: 0} | ||
| 198 | + m_GameObject: {fileID: 1976860020} | ||
| 199 | + m_Enabled: 1 | ||
| 200 | + m_EditorHideFlags: 0 | ||
| 201 | + m_Script: {fileID: 11500000, guid: 10fa3ce0e1c037e449490a4f9ca3bf99, type: 3} | ||
| 202 | + m_Name: | ||
| 203 | + m_EditorClassIdentifier: | ||
| 204 | + _title: Frame Extract | ||
| 205 | + _description: This demo shows how to use scripting to load a movie and extract frames | ||
| 206 | + from it. |
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!114 &11400000 | ||
| 4 | +MonoBehaviour: | ||
| 5 | + m_ObjectHideFlags: 0 | ||
| 6 | + m_PrefabParentObject: {fileID: 0} | ||
| 7 | + m_PrefabInternal: {fileID: 0} | ||
| 8 | + m_GameObject: {fileID: 0} | ||
| 9 | + m_Enabled: 1 | ||
| 10 | + m_EditorHideFlags: 1 | ||
| 11 | + m_Script: {fileID: 12001, guid: 0000000000000000e000000000000000, type: 0} | ||
| 12 | + m_Name: ConfigSkin | ||
| 13 | + m_Font: {fileID: 12800000, guid: 1102003ee10456942bffb2b369d6a7b8, type: 1} | ||
| 14 | + m_box: | ||
| 15 | + m_Name: box | ||
| 16 | + m_Normal: | ||
| 17 | + m_Background: {fileID: 2800000, guid: 01d77d6197097f04d92df9c5a034133c, type: 1} | ||
| 18 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 19 | + m_Hover: | ||
| 20 | + m_Background: {fileID: 0} | ||
| 21 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 22 | + m_Active: | ||
| 23 | + m_Background: {fileID: 0} | ||
| 24 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 25 | + m_Focused: | ||
| 26 | + m_Background: {fileID: 0} | ||
| 27 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 28 | + m_OnNormal: | ||
| 29 | + m_Background: {fileID: 0} | ||
| 30 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 31 | + m_OnHover: | ||
| 32 | + m_Background: {fileID: 0} | ||
| 33 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 34 | + m_OnActive: | ||
| 35 | + m_Background: {fileID: 0} | ||
| 36 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 37 | + m_OnFocused: | ||
| 38 | + m_Background: {fileID: 0} | ||
| 39 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 40 | + m_Border: | ||
| 41 | + m_Left: 6 | ||
| 42 | + m_Right: 6 | ||
| 43 | + m_Top: 6 | ||
| 44 | + m_Bottom: 6 | ||
| 45 | + m_Padding: | ||
| 46 | + m_Left: 4 | ||
| 47 | + m_Right: 4 | ||
| 48 | + m_Top: 4 | ||
| 49 | + m_Bottom: 0 | ||
| 50 | + m_Margin: | ||
| 51 | + m_Left: 4 | ||
| 52 | + m_Right: 4 | ||
| 53 | + m_Top: 4 | ||
| 54 | + m_Bottom: 4 | ||
| 55 | + m_Overflow: | ||
| 56 | + m_Left: 0 | ||
| 57 | + m_Right: 0 | ||
| 58 | + m_Top: 0 | ||
| 59 | + m_Bottom: 0 | ||
| 60 | + m_Font: {fileID: 0} | ||
| 61 | + m_ImagePosition: 0 | ||
| 62 | + m_Alignment: 1 | ||
| 63 | + m_WordWrap: 1 | ||
| 64 | + m_TextClipping: 1 | ||
| 65 | + m_ContentOffset: {x: 0, y: 0} | ||
| 66 | + m_ClipOffset: {x: 0, y: 0} | ||
| 67 | + m_FixedWidth: 0 | ||
| 68 | + m_FixedHeight: 0 | ||
| 69 | + m_FontSize: 18 | ||
| 70 | + m_FontStyle: 1 | ||
| 71 | + m_StretchWidth: 1 | ||
| 72 | + m_StretchHeight: 0 | ||
| 73 | + m_button: | ||
| 74 | + m_Name: button | ||
| 75 | + m_Normal: | ||
| 76 | + m_Background: {fileID: 2800000, guid: b6b9f1741e3bb6241aab55422ae1f133, type: 1} | ||
| 77 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 78 | + m_Hover: | ||
| 79 | + m_Background: {fileID: 2800000, guid: 5fa7bcd58e1876e41952c9349da60879, type: 1} | ||
| 80 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 81 | + m_Active: | ||
| 82 | + m_Background: {fileID: 2800000, guid: 5fa7bcd58e1876e41952c9349da60879, type: 3} | ||
| 83 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 84 | + m_Focused: | ||
| 85 | + m_Background: {fileID: 0} | ||
| 86 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 87 | + m_OnNormal: | ||
| 88 | + m_Background: {fileID: 2800000, guid: 89756d2e84d7799499b64043123ddf38, type: 3} | ||
| 89 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 90 | + m_OnHover: | ||
| 91 | + m_Background: {fileID: 2800000, guid: 89756d2e84d7799499b64043123ddf38, type: 3} | ||
| 92 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 93 | + m_OnActive: | ||
| 94 | + m_Background: {fileID: 2800000, guid: 89756d2e84d7799499b64043123ddf38, type: 3} | ||
| 95 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 96 | + m_OnFocused: | ||
| 97 | + m_Background: {fileID: 2800000, guid: 89756d2e84d7799499b64043123ddf38, type: 3} | ||
| 98 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 99 | + m_Border: | ||
| 100 | + m_Left: 6 | ||
| 101 | + m_Right: 6 | ||
| 102 | + m_Top: 6 | ||
| 103 | + m_Bottom: 4 | ||
| 104 | + m_Padding: | ||
| 105 | + m_Left: 6 | ||
| 106 | + m_Right: 6 | ||
| 107 | + m_Top: 3 | ||
| 108 | + m_Bottom: 3 | ||
| 109 | + m_Margin: | ||
| 110 | + m_Left: 4 | ||
| 111 | + m_Right: 4 | ||
| 112 | + m_Top: 4 | ||
| 113 | + m_Bottom: 4 | ||
| 114 | + m_Overflow: | ||
| 115 | + m_Left: 0 | ||
| 116 | + m_Right: 0 | ||
| 117 | + m_Top: 0 | ||
| 118 | + m_Bottom: 0 | ||
| 119 | + m_Font: {fileID: 0} | ||
| 120 | + m_ImagePosition: 0 | ||
| 121 | + m_Alignment: 4 | ||
| 122 | + m_WordWrap: 0 | ||
| 123 | + m_TextClipping: 1 | ||
| 124 | + m_ContentOffset: {x: 0, y: 0} | ||
| 125 | + m_ClipOffset: {x: 0, y: 0} | ||
| 126 | + m_FixedWidth: 0 | ||
| 127 | + m_FixedHeight: 0 | ||
| 128 | + m_FontSize: 16 | ||
| 129 | + m_FontStyle: 1 | ||
| 130 | + m_StretchWidth: 1 | ||
| 131 | + m_StretchHeight: 0 | ||
| 132 | + m_toggle: | ||
| 133 | + m_Name: toggle | ||
| 134 | + m_Normal: | ||
| 135 | + m_Background: {fileID: 2800000, guid: b6b9f1741e3bb6241aab55422ae1f133, type: 1} | ||
| 136 | + m_TextColor: {r: .768656731, g: .768656731, b: .768656731, a: 1} | ||
| 137 | + m_Hover: | ||
| 138 | + m_Background: {fileID: 2800000, guid: 5fa7bcd58e1876e41952c9349da60879, type: 1} | ||
| 139 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 140 | + m_Active: | ||
| 141 | + m_Background: {fileID: 0} | ||
| 142 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 143 | + m_Focused: | ||
| 144 | + m_Background: {fileID: 0} | ||
| 145 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 146 | + m_OnNormal: | ||
| 147 | + m_Background: {fileID: 2800000, guid: 89756d2e84d7799499b64043123ddf38, type: 1} | ||
| 148 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 149 | + m_OnHover: | ||
| 150 | + m_Background: {fileID: 0} | ||
| 151 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 152 | + m_OnActive: | ||
| 153 | + m_Background: {fileID: 0} | ||
| 154 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 155 | + m_OnFocused: | ||
| 156 | + m_Background: {fileID: 0} | ||
| 157 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 158 | + m_Border: | ||
| 159 | + m_Left: 6 | ||
| 160 | + m_Right: 6 | ||
| 161 | + m_Top: 6 | ||
| 162 | + m_Bottom: 4 | ||
| 163 | + m_Padding: | ||
| 164 | + m_Left: 6 | ||
| 165 | + m_Right: 6 | ||
| 166 | + m_Top: 3 | ||
| 167 | + m_Bottom: 3 | ||
| 168 | + m_Margin: | ||
| 169 | + m_Left: 4 | ||
| 170 | + m_Right: 4 | ||
| 171 | + m_Top: 4 | ||
| 172 | + m_Bottom: 4 | ||
| 173 | + m_Overflow: | ||
| 174 | + m_Left: 0 | ||
| 175 | + m_Right: 0 | ||
| 176 | + m_Top: 0 | ||
| 177 | + m_Bottom: 0 | ||
| 178 | + m_Font: {fileID: 0} | ||
| 179 | + m_ImagePosition: 3 | ||
| 180 | + m_Alignment: 4 | ||
| 181 | + m_WordWrap: 0 | ||
| 182 | + m_TextClipping: 1 | ||
| 183 | + m_ContentOffset: {x: 0, y: 0} | ||
| 184 | + m_ClipOffset: {x: 0, y: 0} | ||
| 185 | + m_FixedWidth: 0 | ||
| 186 | + m_FixedHeight: 0 | ||
| 187 | + m_FontSize: 16 | ||
| 188 | + m_FontStyle: 1 | ||
| 189 | + m_StretchWidth: 0 | ||
| 190 | + m_StretchHeight: 0 | ||
| 191 | + m_label: | ||
| 192 | + m_Name: label | ||
| 193 | + m_Normal: | ||
| 194 | + m_Background: {fileID: 0} | ||
| 195 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 196 | + m_Hover: | ||
| 197 | + m_Background: {fileID: 0} | ||
| 198 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 199 | + m_Active: | ||
| 200 | + m_Background: {fileID: 0} | ||
| 201 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 202 | + m_Focused: | ||
| 203 | + m_Background: {fileID: 0} | ||
| 204 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 205 | + m_OnNormal: | ||
| 206 | + m_Background: {fileID: 0} | ||
| 207 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 208 | + m_OnHover: | ||
| 209 | + m_Background: {fileID: 0} | ||
| 210 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 211 | + m_OnActive: | ||
| 212 | + m_Background: {fileID: 0} | ||
| 213 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 214 | + m_OnFocused: | ||
| 215 | + m_Background: {fileID: 0} | ||
| 216 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 217 | + m_Border: | ||
| 218 | + m_Left: 0 | ||
| 219 | + m_Right: 0 | ||
| 220 | + m_Top: 0 | ||
| 221 | + m_Bottom: 0 | ||
| 222 | + m_Padding: | ||
| 223 | + m_Left: 0 | ||
| 224 | + m_Right: 0 | ||
| 225 | + m_Top: 3 | ||
| 226 | + m_Bottom: 3 | ||
| 227 | + m_Margin: | ||
| 228 | + m_Left: 4 | ||
| 229 | + m_Right: 4 | ||
| 230 | + m_Top: 4 | ||
| 231 | + m_Bottom: 4 | ||
| 232 | + m_Overflow: | ||
| 233 | + m_Left: 0 | ||
| 234 | + m_Right: 0 | ||
| 235 | + m_Top: 0 | ||
| 236 | + m_Bottom: 0 | ||
| 237 | + m_Font: {fileID: 0} | ||
| 238 | + m_ImagePosition: 0 | ||
| 239 | + m_Alignment: 3 | ||
| 240 | + m_WordWrap: 0 | ||
| 241 | + m_TextClipping: 1 | ||
| 242 | + m_ContentOffset: {x: 0, y: 0} | ||
| 243 | + m_ClipOffset: {x: 0, y: 0} | ||
| 244 | + m_FixedWidth: 0 | ||
| 245 | + m_FixedHeight: 0 | ||
| 246 | + m_FontSize: 16 | ||
| 247 | + m_FontStyle: 1 | ||
| 248 | + m_StretchWidth: 1 | ||
| 249 | + m_StretchHeight: 0 | ||
| 250 | + m_textField: | ||
| 251 | + m_Name: textfield | ||
| 252 | + m_Normal: | ||
| 253 | + m_Background: {fileID: 2800000, guid: b6b9f1741e3bb6241aab55422ae1f133, type: 1} | ||
| 254 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 255 | + m_Hover: | ||
| 256 | + m_Background: {fileID: 2800000, guid: 5fa7bcd58e1876e41952c9349da60879, type: 1} | ||
| 257 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 258 | + m_Active: | ||
| 259 | + m_Background: {fileID: 0} | ||
| 260 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 261 | + m_Focused: | ||
| 262 | + m_Background: {fileID: 2800000, guid: 89756d2e84d7799499b64043123ddf38, type: 1} | ||
| 263 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 264 | + m_OnNormal: | ||
| 265 | + m_Background: {fileID: 2800000, guid: 89756d2e84d7799499b64043123ddf38, type: 3} | ||
| 266 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 267 | + m_OnHover: | ||
| 268 | + m_Background: {fileID: 0} | ||
| 269 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 270 | + m_OnActive: | ||
| 271 | + m_Background: {fileID: 0} | ||
| 272 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 273 | + m_OnFocused: | ||
| 274 | + m_Background: {fileID: 0} | ||
| 275 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 276 | + m_Border: | ||
| 277 | + m_Left: 4 | ||
| 278 | + m_Right: 4 | ||
| 279 | + m_Top: 4 | ||
| 280 | + m_Bottom: 4 | ||
| 281 | + m_Padding: | ||
| 282 | + m_Left: 3 | ||
| 283 | + m_Right: 3 | ||
| 284 | + m_Top: 3 | ||
| 285 | + m_Bottom: 3 | ||
| 286 | + m_Margin: | ||
| 287 | + m_Left: 4 | ||
| 288 | + m_Right: 4 | ||
| 289 | + m_Top: 4 | ||
| 290 | + m_Bottom: 4 | ||
| 291 | + m_Overflow: | ||
| 292 | + m_Left: 0 | ||
| 293 | + m_Right: 0 | ||
| 294 | + m_Top: 0 | ||
| 295 | + m_Bottom: 0 | ||
| 296 | + m_Font: {fileID: 0} | ||
| 297 | + m_ImagePosition: 3 | ||
| 298 | + m_Alignment: 0 | ||
| 299 | + m_WordWrap: 0 | ||
| 300 | + m_TextClipping: 1 | ||
| 301 | + m_ContentOffset: {x: 0, y: 0} | ||
| 302 | + m_ClipOffset: {x: 0, y: 0} | ||
| 303 | + m_FixedWidth: 0 | ||
| 304 | + m_FixedHeight: 0 | ||
| 305 | + m_FontSize: 16 | ||
| 306 | + m_FontStyle: 1 | ||
| 307 | + m_StretchWidth: 1 | ||
| 308 | + m_StretchHeight: 0 | ||
| 309 | + m_textArea: | ||
| 310 | + m_Name: textarea | ||
| 311 | + m_Normal: | ||
| 312 | + m_Background: {fileID: 11024, guid: 0000000000000000e000000000000000, type: 0} | ||
| 313 | + m_TextColor: {r: .90196079, g: .90196079, b: .90196079, a: 1} | ||
| 314 | + m_Hover: | ||
| 315 | + m_Background: {fileID: 11026, guid: 0000000000000000e000000000000000, type: 0} | ||
| 316 | + m_TextColor: {r: .799999952, g: .799999952, b: .799999952, a: 1} | ||
| 317 | + m_Active: | ||
| 318 | + m_Background: {fileID: 0} | ||
| 319 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 320 | + m_Focused: | ||
| 321 | + m_Background: {fileID: 0} | ||
| 322 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 323 | + m_OnNormal: | ||
| 324 | + m_Background: {fileID: 11025, guid: 0000000000000000e000000000000000, type: 0} | ||
| 325 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 326 | + m_OnHover: | ||
| 327 | + m_Background: {fileID: 0} | ||
| 328 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 329 | + m_OnActive: | ||
| 330 | + m_Background: {fileID: 0} | ||
| 331 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 332 | + m_OnFocused: | ||
| 333 | + m_Background: {fileID: 0} | ||
| 334 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 335 | + m_Border: | ||
| 336 | + m_Left: 4 | ||
| 337 | + m_Right: 4 | ||
| 338 | + m_Top: 4 | ||
| 339 | + m_Bottom: 4 | ||
| 340 | + m_Padding: | ||
| 341 | + m_Left: 3 | ||
| 342 | + m_Right: 3 | ||
| 343 | + m_Top: 3 | ||
| 344 | + m_Bottom: 3 | ||
| 345 | + m_Margin: | ||
| 346 | + m_Left: 4 | ||
| 347 | + m_Right: 4 | ||
| 348 | + m_Top: 4 | ||
| 349 | + m_Bottom: 4 | ||
| 350 | + m_Overflow: | ||
| 351 | + m_Left: 0 | ||
| 352 | + m_Right: 0 | ||
| 353 | + m_Top: 0 | ||
| 354 | + m_Bottom: 0 | ||
| 355 | + m_Font: {fileID: 0} | ||
| 356 | + m_ImagePosition: 0 | ||
| 357 | + m_Alignment: 0 | ||
| 358 | + m_WordWrap: 1 | ||
| 359 | + m_TextClipping: 1 | ||
| 360 | + m_ContentOffset: {x: 0, y: 0} | ||
| 361 | + m_ClipOffset: {x: 0, y: 0} | ||
| 362 | + m_FixedWidth: 0 | ||
| 363 | + m_FixedHeight: 0 | ||
| 364 | + m_FontSize: 0 | ||
| 365 | + m_FontStyle: 0 | ||
| 366 | + m_StretchWidth: 1 | ||
| 367 | + m_StretchHeight: 0 | ||
| 368 | + m_window: | ||
| 369 | + m_Name: window | ||
| 370 | + m_Normal: | ||
| 371 | + m_Background: {fileID: 2800000, guid: 01d77d6197097f04d92df9c5a034133c, type: 1} | ||
| 372 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 373 | + m_Hover: | ||
| 374 | + m_Background: {fileID: 0} | ||
| 375 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 376 | + m_Active: | ||
| 377 | + m_Background: {fileID: 0} | ||
| 378 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 379 | + m_Focused: | ||
| 380 | + m_Background: {fileID: 0} | ||
| 381 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 382 | + m_OnNormal: | ||
| 383 | + m_Background: {fileID: 2800000, guid: 01d77d6197097f04d92df9c5a034133c, type: 3} | ||
| 384 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 385 | + m_OnHover: | ||
| 386 | + m_Background: {fileID: 0} | ||
| 387 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 388 | + m_OnActive: | ||
| 389 | + m_Background: {fileID: 0} | ||
| 390 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 391 | + m_OnFocused: | ||
| 392 | + m_Background: {fileID: 0} | ||
| 393 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 394 | + m_Border: | ||
| 395 | + m_Left: 8 | ||
| 396 | + m_Right: 8 | ||
| 397 | + m_Top: 18 | ||
| 398 | + m_Bottom: 8 | ||
| 399 | + m_Padding: | ||
| 400 | + m_Left: 10 | ||
| 401 | + m_Right: 10 | ||
| 402 | + m_Top: 20 | ||
| 403 | + m_Bottom: 10 | ||
| 404 | + m_Margin: | ||
| 405 | + m_Left: 0 | ||
| 406 | + m_Right: 0 | ||
| 407 | + m_Top: 0 | ||
| 408 | + m_Bottom: 0 | ||
| 409 | + m_Overflow: | ||
| 410 | + m_Left: 0 | ||
| 411 | + m_Right: 0 | ||
| 412 | + m_Top: 0 | ||
| 413 | + m_Bottom: 0 | ||
| 414 | + m_Font: {fileID: 0} | ||
| 415 | + m_ImagePosition: 0 | ||
| 416 | + m_Alignment: 1 | ||
| 417 | + m_WordWrap: 0 | ||
| 418 | + m_TextClipping: 1 | ||
| 419 | + m_ContentOffset: {x: 0, y: -18} | ||
| 420 | + m_ClipOffset: {x: 0, y: 0} | ||
| 421 | + m_FixedWidth: 0 | ||
| 422 | + m_FixedHeight: 0 | ||
| 423 | + m_FontSize: 17 | ||
| 424 | + m_FontStyle: 1 | ||
| 425 | + m_StretchWidth: 1 | ||
| 426 | + m_StretchHeight: 0 | ||
| 427 | + m_horizontalSlider: | ||
| 428 | + m_Name: horizontalslider | ||
| 429 | + m_Normal: | ||
| 430 | + m_Background: {fileID: 2800000, guid: b6b9f1741e3bb6241aab55422ae1f133, type: 1} | ||
| 431 | + m_TextColor: {r: .50746268, g: .143907323, b: .143907323, a: 1} | ||
| 432 | + m_Hover: | ||
| 433 | + m_Background: {fileID: 2800000, guid: 89756d2e84d7799499b64043123ddf38, type: 3} | ||
| 434 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 435 | + m_Active: | ||
| 436 | + m_Background: {fileID: 2800000, guid: 89756d2e84d7799499b64043123ddf38, type: 3} | ||
| 437 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 438 | + m_Focused: | ||
| 439 | + m_Background: {fileID: 0} | ||
| 440 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 441 | + m_OnNormal: | ||
| 442 | + m_Background: {fileID: 0} | ||
| 443 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 444 | + m_OnHover: | ||
| 445 | + m_Background: {fileID: 0} | ||
| 446 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 447 | + m_OnActive: | ||
| 448 | + m_Background: {fileID: 0} | ||
| 449 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 450 | + m_OnFocused: | ||
| 451 | + m_Background: {fileID: 0} | ||
| 452 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 453 | + m_Border: | ||
| 454 | + m_Left: 3 | ||
| 455 | + m_Right: 3 | ||
| 456 | + m_Top: 0 | ||
| 457 | + m_Bottom: 0 | ||
| 458 | + m_Padding: | ||
| 459 | + m_Left: -1 | ||
| 460 | + m_Right: -1 | ||
| 461 | + m_Top: 0 | ||
| 462 | + m_Bottom: 0 | ||
| 463 | + m_Margin: | ||
| 464 | + m_Left: 4 | ||
| 465 | + m_Right: 4 | ||
| 466 | + m_Top: 4 | ||
| 467 | + m_Bottom: 4 | ||
| 468 | + m_Overflow: | ||
| 469 | + m_Left: 0 | ||
| 470 | + m_Right: 0 | ||
| 471 | + m_Top: -2 | ||
| 472 | + m_Bottom: -3 | ||
| 473 | + m_Font: {fileID: 0} | ||
| 474 | + m_ImagePosition: 2 | ||
| 475 | + m_Alignment: 0 | ||
| 476 | + m_WordWrap: 0 | ||
| 477 | + m_TextClipping: 1 | ||
| 478 | + m_ContentOffset: {x: 0, y: 0} | ||
| 479 | + m_ClipOffset: {x: 0, y: 0} | ||
| 480 | + m_FixedWidth: 0 | ||
| 481 | + m_FixedHeight: 30 | ||
| 482 | + m_FontSize: 0 | ||
| 483 | + m_FontStyle: 0 | ||
| 484 | + m_StretchWidth: 1 | ||
| 485 | + m_StretchHeight: 0 | ||
| 486 | + m_horizontalSliderThumb: | ||
| 487 | + m_Name: horizontalsliderthumb | ||
| 488 | + m_Normal: | ||
| 489 | + m_Background: {fileID: 2800000, guid: 89756d2e84d7799499b64043123ddf38, type: 1} | ||
| 490 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 491 | + m_Hover: | ||
| 492 | + m_Background: {fileID: 2800000, guid: e8b5fb4ca0fdd2c4eadc7cbe065543a4, type: 3} | ||
| 493 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 494 | + m_Active: | ||
| 495 | + m_Background: {fileID: 2800000, guid: e8b5fb4ca0fdd2c4eadc7cbe065543a4, type: 3} | ||
| 496 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 497 | + m_Focused: | ||
| 498 | + m_Background: {fileID: 0} | ||
| 499 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 500 | + m_OnNormal: | ||
| 501 | + m_Background: {fileID: 0} | ||
| 502 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 503 | + m_OnHover: | ||
| 504 | + m_Background: {fileID: 0} | ||
| 505 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 506 | + m_OnActive: | ||
| 507 | + m_Background: {fileID: 0} | ||
| 508 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 509 | + m_OnFocused: | ||
| 510 | + m_Background: {fileID: 0} | ||
| 511 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 512 | + m_Border: | ||
| 513 | + m_Left: 4 | ||
| 514 | + m_Right: 4 | ||
| 515 | + m_Top: 0 | ||
| 516 | + m_Bottom: 0 | ||
| 517 | + m_Padding: | ||
| 518 | + m_Left: 7 | ||
| 519 | + m_Right: 7 | ||
| 520 | + m_Top: 0 | ||
| 521 | + m_Bottom: 0 | ||
| 522 | + m_Margin: | ||
| 523 | + m_Left: 0 | ||
| 524 | + m_Right: 0 | ||
| 525 | + m_Top: 0 | ||
| 526 | + m_Bottom: 0 | ||
| 527 | + m_Overflow: | ||
| 528 | + m_Left: -1 | ||
| 529 | + m_Right: -1 | ||
| 530 | + m_Top: 0 | ||
| 531 | + m_Bottom: 0 | ||
| 532 | + m_Font: {fileID: 0} | ||
| 533 | + m_ImagePosition: 2 | ||
| 534 | + m_Alignment: 0 | ||
| 535 | + m_WordWrap: 0 | ||
| 536 | + m_TextClipping: 1 | ||
| 537 | + m_ContentOffset: {x: 0, y: 0} | ||
| 538 | + m_ClipOffset: {x: 0, y: 0} | ||
| 539 | + m_FixedWidth: 0 | ||
| 540 | + m_FixedHeight: 30 | ||
| 541 | + m_FontSize: 0 | ||
| 542 | + m_FontStyle: 0 | ||
| 543 | + m_StretchWidth: 1 | ||
| 544 | + m_StretchHeight: 0 | ||
| 545 | + m_verticalSlider: | ||
| 546 | + m_Name: verticalslider | ||
| 547 | + m_Normal: | ||
| 548 | + m_Background: {fileID: 11021, guid: 0000000000000000e000000000000000, type: 0} | ||
| 549 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 550 | + m_Hover: | ||
| 551 | + m_Background: {fileID: 0} | ||
| 552 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 553 | + m_Active: | ||
| 554 | + m_Background: {fileID: 0} | ||
| 555 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 556 | + m_Focused: | ||
| 557 | + m_Background: {fileID: 0} | ||
| 558 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 559 | + m_OnNormal: | ||
| 560 | + m_Background: {fileID: 0} | ||
| 561 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 562 | + m_OnHover: | ||
| 563 | + m_Background: {fileID: 0} | ||
| 564 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 565 | + m_OnActive: | ||
| 566 | + m_Background: {fileID: 0} | ||
| 567 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 568 | + m_OnFocused: | ||
| 569 | + m_Background: {fileID: 0} | ||
| 570 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 571 | + m_Border: | ||
| 572 | + m_Left: 0 | ||
| 573 | + m_Right: 0 | ||
| 574 | + m_Top: 3 | ||
| 575 | + m_Bottom: 3 | ||
| 576 | + m_Padding: | ||
| 577 | + m_Left: 0 | ||
| 578 | + m_Right: 0 | ||
| 579 | + m_Top: -1 | ||
| 580 | + m_Bottom: -1 | ||
| 581 | + m_Margin: | ||
| 582 | + m_Left: 4 | ||
| 583 | + m_Right: 4 | ||
| 584 | + m_Top: 4 | ||
| 585 | + m_Bottom: 4 | ||
| 586 | + m_Overflow: | ||
| 587 | + m_Left: -2 | ||
| 588 | + m_Right: -3 | ||
| 589 | + m_Top: 0 | ||
| 590 | + m_Bottom: 0 | ||
| 591 | + m_Font: {fileID: 0} | ||
| 592 | + m_ImagePosition: 0 | ||
| 593 | + m_Alignment: 0 | ||
| 594 | + m_WordWrap: 0 | ||
| 595 | + m_TextClipping: 0 | ||
| 596 | + m_ContentOffset: {x: 0, y: 0} | ||
| 597 | + m_ClipOffset: {x: 0, y: 0} | ||
| 598 | + m_FixedWidth: 12 | ||
| 599 | + m_FixedHeight: 0 | ||
| 600 | + m_FontSize: 0 | ||
| 601 | + m_FontStyle: 0 | ||
| 602 | + m_StretchWidth: 0 | ||
| 603 | + m_StretchHeight: 1 | ||
| 604 | + m_verticalSliderThumb: | ||
| 605 | + m_Name: verticalsliderthumb | ||
| 606 | + m_Normal: | ||
| 607 | + m_Background: {fileID: 11011, guid: 0000000000000000e000000000000000, type: 0} | ||
| 608 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 609 | + m_Hover: | ||
| 610 | + m_Background: {fileID: 11012, guid: 0000000000000000e000000000000000, type: 0} | ||
| 611 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 612 | + m_Active: | ||
| 613 | + m_Background: {fileID: 11010, guid: 0000000000000000e000000000000000, type: 0} | ||
| 614 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 615 | + m_Focused: | ||
| 616 | + m_Background: {fileID: 0} | ||
| 617 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 618 | + m_OnNormal: | ||
| 619 | + m_Background: {fileID: 0} | ||
| 620 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 621 | + m_OnHover: | ||
| 622 | + m_Background: {fileID: 0} | ||
| 623 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 624 | + m_OnActive: | ||
| 625 | + m_Background: {fileID: 0} | ||
| 626 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 627 | + m_OnFocused: | ||
| 628 | + m_Background: {fileID: 0} | ||
| 629 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 630 | + m_Border: | ||
| 631 | + m_Left: 0 | ||
| 632 | + m_Right: 0 | ||
| 633 | + m_Top: 0 | ||
| 634 | + m_Bottom: 0 | ||
| 635 | + m_Padding: | ||
| 636 | + m_Left: 0 | ||
| 637 | + m_Right: 0 | ||
| 638 | + m_Top: 7 | ||
| 639 | + m_Bottom: 7 | ||
| 640 | + m_Margin: | ||
| 641 | + m_Left: 0 | ||
| 642 | + m_Right: 0 | ||
| 643 | + m_Top: 0 | ||
| 644 | + m_Bottom: 0 | ||
| 645 | + m_Overflow: | ||
| 646 | + m_Left: 0 | ||
| 647 | + m_Right: 0 | ||
| 648 | + m_Top: -1 | ||
| 649 | + m_Bottom: -1 | ||
| 650 | + m_Font: {fileID: 0} | ||
| 651 | + m_ImagePosition: 0 | ||
| 652 | + m_Alignment: 0 | ||
| 653 | + m_WordWrap: 0 | ||
| 654 | + m_TextClipping: 1 | ||
| 655 | + m_ContentOffset: {x: 0, y: 0} | ||
| 656 | + m_ClipOffset: {x: 0, y: 0} | ||
| 657 | + m_FixedWidth: 12 | ||
| 658 | + m_FixedHeight: 0 | ||
| 659 | + m_FontSize: 0 | ||
| 660 | + m_FontStyle: 0 | ||
| 661 | + m_StretchWidth: 0 | ||
| 662 | + m_StretchHeight: 1 | ||
| 663 | + m_horizontalScrollbar: | ||
| 664 | + m_Name: horizontalscrollbar | ||
| 665 | + m_Normal: | ||
| 666 | + m_Background: {fileID: 2800000, guid: ccce2d09cdddb2d4da068267090c1548, type: 1} | ||
| 667 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 668 | + m_Hover: | ||
| 669 | + m_Background: {fileID: 0} | ||
| 670 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 671 | + m_Active: | ||
| 672 | + m_Background: {fileID: 0} | ||
| 673 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 674 | + m_Focused: | ||
| 675 | + m_Background: {fileID: 0} | ||
| 676 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 677 | + m_OnNormal: | ||
| 678 | + m_Background: {fileID: 0} | ||
| 679 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 680 | + m_OnHover: | ||
| 681 | + m_Background: {fileID: 0} | ||
| 682 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 683 | + m_OnActive: | ||
| 684 | + m_Background: {fileID: 0} | ||
| 685 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 686 | + m_OnFocused: | ||
| 687 | + m_Background: {fileID: 0} | ||
| 688 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 689 | + m_Border: | ||
| 690 | + m_Left: 9 | ||
| 691 | + m_Right: 9 | ||
| 692 | + m_Top: 0 | ||
| 693 | + m_Bottom: 0 | ||
| 694 | + m_Padding: | ||
| 695 | + m_Left: 0 | ||
| 696 | + m_Right: 0 | ||
| 697 | + m_Top: 0 | ||
| 698 | + m_Bottom: 0 | ||
| 699 | + m_Margin: | ||
| 700 | + m_Left: 4 | ||
| 701 | + m_Right: 4 | ||
| 702 | + m_Top: 1 | ||
| 703 | + m_Bottom: 4 | ||
| 704 | + m_Overflow: | ||
| 705 | + m_Left: 0 | ||
| 706 | + m_Right: 0 | ||
| 707 | + m_Top: 0 | ||
| 708 | + m_Bottom: 0 | ||
| 709 | + m_Font: {fileID: 0} | ||
| 710 | + m_ImagePosition: 2 | ||
| 711 | + m_Alignment: 0 | ||
| 712 | + m_WordWrap: 0 | ||
| 713 | + m_TextClipping: 1 | ||
| 714 | + m_ContentOffset: {x: 0, y: 0} | ||
| 715 | + m_ClipOffset: {x: 0, y: 0} | ||
| 716 | + m_FixedWidth: 0 | ||
| 717 | + m_FixedHeight: 15 | ||
| 718 | + m_FontSize: 0 | ||
| 719 | + m_FontStyle: 0 | ||
| 720 | + m_StretchWidth: 1 | ||
| 721 | + m_StretchHeight: 0 | ||
| 722 | + m_horizontalScrollbarThumb: | ||
| 723 | + m_Name: horizontalscrollbarthumb | ||
| 724 | + m_Normal: | ||
| 725 | + m_Background: {fileID: 2800000, guid: e8b5fb4ca0fdd2c4eadc7cbe065543a4, type: 3} | ||
| 726 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 727 | + m_Hover: | ||
| 728 | + m_Background: {fileID: 0} | ||
| 729 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 730 | + m_Active: | ||
| 731 | + m_Background: {fileID: 0} | ||
| 732 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 733 | + m_Focused: | ||
| 734 | + m_Background: {fileID: 0} | ||
| 735 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 736 | + m_OnNormal: | ||
| 737 | + m_Background: {fileID: 0} | ||
| 738 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 739 | + m_OnHover: | ||
| 740 | + m_Background: {fileID: 0} | ||
| 741 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 742 | + m_OnActive: | ||
| 743 | + m_Background: {fileID: 0} | ||
| 744 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 745 | + m_OnFocused: | ||
| 746 | + m_Background: {fileID: 0} | ||
| 747 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 748 | + m_Border: | ||
| 749 | + m_Left: 6 | ||
| 750 | + m_Right: 6 | ||
| 751 | + m_Top: 6 | ||
| 752 | + m_Bottom: 6 | ||
| 753 | + m_Padding: | ||
| 754 | + m_Left: 6 | ||
| 755 | + m_Right: 6 | ||
| 756 | + m_Top: 0 | ||
| 757 | + m_Bottom: 0 | ||
| 758 | + m_Margin: | ||
| 759 | + m_Left: 0 | ||
| 760 | + m_Right: 0 | ||
| 761 | + m_Top: 0 | ||
| 762 | + m_Bottom: 0 | ||
| 763 | + m_Overflow: | ||
| 764 | + m_Left: 0 | ||
| 765 | + m_Right: 0 | ||
| 766 | + m_Top: -1 | ||
| 767 | + m_Bottom: 1 | ||
| 768 | + m_Font: {fileID: 0} | ||
| 769 | + m_ImagePosition: 0 | ||
| 770 | + m_Alignment: 0 | ||
| 771 | + m_WordWrap: 0 | ||
| 772 | + m_TextClipping: 1 | ||
| 773 | + m_ContentOffset: {x: 0, y: 0} | ||
| 774 | + m_ClipOffset: {x: 0, y: 0} | ||
| 775 | + m_FixedWidth: 0 | ||
| 776 | + m_FixedHeight: 13 | ||
| 777 | + m_FontSize: 0 | ||
| 778 | + m_FontStyle: 0 | ||
| 779 | + m_StretchWidth: 1 | ||
| 780 | + m_StretchHeight: 0 | ||
| 781 | + m_horizontalScrollbarLeftButton: | ||
| 782 | + m_Name: horizontalscrollbarleftbutton | ||
| 783 | + m_Normal: | ||
| 784 | + m_Background: {fileID: 0} | ||
| 785 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 786 | + m_Hover: | ||
| 787 | + m_Background: {fileID: 0} | ||
| 788 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 789 | + m_Active: | ||
| 790 | + m_Background: {fileID: 0} | ||
| 791 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 792 | + m_Focused: | ||
| 793 | + m_Background: {fileID: 0} | ||
| 794 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 795 | + m_OnNormal: | ||
| 796 | + m_Background: {fileID: 0} | ||
| 797 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 798 | + m_OnHover: | ||
| 799 | + m_Background: {fileID: 0} | ||
| 800 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 801 | + m_OnActive: | ||
| 802 | + m_Background: {fileID: 0} | ||
| 803 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 804 | + m_OnFocused: | ||
| 805 | + m_Background: {fileID: 0} | ||
| 806 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 807 | + m_Border: | ||
| 808 | + m_Left: 0 | ||
| 809 | + m_Right: 0 | ||
| 810 | + m_Top: 0 | ||
| 811 | + m_Bottom: 0 | ||
| 812 | + m_Padding: | ||
| 813 | + m_Left: 0 | ||
| 814 | + m_Right: 0 | ||
| 815 | + m_Top: 0 | ||
| 816 | + m_Bottom: 0 | ||
| 817 | + m_Margin: | ||
| 818 | + m_Left: 0 | ||
| 819 | + m_Right: 0 | ||
| 820 | + m_Top: 0 | ||
| 821 | + m_Bottom: 0 | ||
| 822 | + m_Overflow: | ||
| 823 | + m_Left: 0 | ||
| 824 | + m_Right: 0 | ||
| 825 | + m_Top: 0 | ||
| 826 | + m_Bottom: 0 | ||
| 827 | + m_Font: {fileID: 0} | ||
| 828 | + m_ImagePosition: 0 | ||
| 829 | + m_Alignment: 0 | ||
| 830 | + m_WordWrap: 0 | ||
| 831 | + m_TextClipping: 1 | ||
| 832 | + m_ContentOffset: {x: 0, y: 0} | ||
| 833 | + m_ClipOffset: {x: 0, y: 0} | ||
| 834 | + m_FixedWidth: 0 | ||
| 835 | + m_FixedHeight: 0 | ||
| 836 | + m_FontSize: 0 | ||
| 837 | + m_FontStyle: 0 | ||
| 838 | + m_StretchWidth: 1 | ||
| 839 | + m_StretchHeight: 0 | ||
| 840 | + m_horizontalScrollbarRightButton: | ||
| 841 | + m_Name: horizontalscrollbarrightbutton | ||
| 842 | + m_Normal: | ||
| 843 | + m_Background: {fileID: 0} | ||
| 844 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 845 | + m_Hover: | ||
| 846 | + m_Background: {fileID: 0} | ||
| 847 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 848 | + m_Active: | ||
| 849 | + m_Background: {fileID: 0} | ||
| 850 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 851 | + m_Focused: | ||
| 852 | + m_Background: {fileID: 0} | ||
| 853 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 854 | + m_OnNormal: | ||
| 855 | + m_Background: {fileID: 0} | ||
| 856 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 857 | + m_OnHover: | ||
| 858 | + m_Background: {fileID: 0} | ||
| 859 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 860 | + m_OnActive: | ||
| 861 | + m_Background: {fileID: 0} | ||
| 862 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 863 | + m_OnFocused: | ||
| 864 | + m_Background: {fileID: 0} | ||
| 865 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 866 | + m_Border: | ||
| 867 | + m_Left: 0 | ||
| 868 | + m_Right: 0 | ||
| 869 | + m_Top: 0 | ||
| 870 | + m_Bottom: 0 | ||
| 871 | + m_Padding: | ||
| 872 | + m_Left: 0 | ||
| 873 | + m_Right: 0 | ||
| 874 | + m_Top: 0 | ||
| 875 | + m_Bottom: 0 | ||
| 876 | + m_Margin: | ||
| 877 | + m_Left: 0 | ||
| 878 | + m_Right: 0 | ||
| 879 | + m_Top: 0 | ||
| 880 | + m_Bottom: 0 | ||
| 881 | + m_Overflow: | ||
| 882 | + m_Left: 0 | ||
| 883 | + m_Right: 0 | ||
| 884 | + m_Top: 0 | ||
| 885 | + m_Bottom: 0 | ||
| 886 | + m_Font: {fileID: 0} | ||
| 887 | + m_ImagePosition: 0 | ||
| 888 | + m_Alignment: 0 | ||
| 889 | + m_WordWrap: 0 | ||
| 890 | + m_TextClipping: 1 | ||
| 891 | + m_ContentOffset: {x: 0, y: 0} | ||
| 892 | + m_ClipOffset: {x: 0, y: 0} | ||
| 893 | + m_FixedWidth: 0 | ||
| 894 | + m_FixedHeight: 0 | ||
| 895 | + m_FontSize: 0 | ||
| 896 | + m_FontStyle: 0 | ||
| 897 | + m_StretchWidth: 1 | ||
| 898 | + m_StretchHeight: 0 | ||
| 899 | + m_verticalScrollbar: | ||
| 900 | + m_Name: verticalscrollbar | ||
| 901 | + m_Normal: | ||
| 902 | + m_Background: {fileID: 2800000, guid: 89756d2e84d7799499b64043123ddf38, type: 3} | ||
| 903 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 904 | + m_Hover: | ||
| 905 | + m_Background: {fileID: 0} | ||
| 906 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 907 | + m_Active: | ||
| 908 | + m_Background: {fileID: 0} | ||
| 909 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 910 | + m_Focused: | ||
| 911 | + m_Background: {fileID: 0} | ||
| 912 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 913 | + m_OnNormal: | ||
| 914 | + m_Background: {fileID: 0} | ||
| 915 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 916 | + m_OnHover: | ||
| 917 | + m_Background: {fileID: 0} | ||
| 918 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 919 | + m_OnActive: | ||
| 920 | + m_Background: {fileID: 0} | ||
| 921 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 922 | + m_OnFocused: | ||
| 923 | + m_Background: {fileID: 0} | ||
| 924 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 925 | + m_Border: | ||
| 926 | + m_Left: 0 | ||
| 927 | + m_Right: 0 | ||
| 928 | + m_Top: 9 | ||
| 929 | + m_Bottom: 9 | ||
| 930 | + m_Padding: | ||
| 931 | + m_Left: 0 | ||
| 932 | + m_Right: 0 | ||
| 933 | + m_Top: 1 | ||
| 934 | + m_Bottom: 1 | ||
| 935 | + m_Margin: | ||
| 936 | + m_Left: 1 | ||
| 937 | + m_Right: 4 | ||
| 938 | + m_Top: 4 | ||
| 939 | + m_Bottom: 4 | ||
| 940 | + m_Overflow: | ||
| 941 | + m_Left: 0 | ||
| 942 | + m_Right: 0 | ||
| 943 | + m_Top: 0 | ||
| 944 | + m_Bottom: 0 | ||
| 945 | + m_Font: {fileID: 0} | ||
| 946 | + m_ImagePosition: 0 | ||
| 947 | + m_Alignment: 0 | ||
| 948 | + m_WordWrap: 0 | ||
| 949 | + m_TextClipping: 1 | ||
| 950 | + m_ContentOffset: {x: 0, y: 0} | ||
| 951 | + m_ClipOffset: {x: 0, y: 0} | ||
| 952 | + m_FixedWidth: 15 | ||
| 953 | + m_FixedHeight: 0 | ||
| 954 | + m_FontSize: 0 | ||
| 955 | + m_FontStyle: 0 | ||
| 956 | + m_StretchWidth: 1 | ||
| 957 | + m_StretchHeight: 0 | ||
| 958 | + m_verticalScrollbarThumb: | ||
| 959 | + m_Name: verticalscrollbarthumb | ||
| 960 | + m_Normal: | ||
| 961 | + m_Background: {fileID: 2800000, guid: e8b5fb4ca0fdd2c4eadc7cbe065543a4, type: 3} | ||
| 962 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 963 | + m_Hover: | ||
| 964 | + m_Background: {fileID: 0} | ||
| 965 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 966 | + m_Active: | ||
| 967 | + m_Background: {fileID: 0} | ||
| 968 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 969 | + m_Focused: | ||
| 970 | + m_Background: {fileID: 0} | ||
| 971 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 972 | + m_OnNormal: | ||
| 973 | + m_Background: {fileID: 0} | ||
| 974 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 975 | + m_OnHover: | ||
| 976 | + m_Background: {fileID: 0} | ||
| 977 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 978 | + m_OnActive: | ||
| 979 | + m_Background: {fileID: 0} | ||
| 980 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 981 | + m_OnFocused: | ||
| 982 | + m_Background: {fileID: 0} | ||
| 983 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 984 | + m_Border: | ||
| 985 | + m_Left: 6 | ||
| 986 | + m_Right: 6 | ||
| 987 | + m_Top: 6 | ||
| 988 | + m_Bottom: 6 | ||
| 989 | + m_Padding: | ||
| 990 | + m_Left: 0 | ||
| 991 | + m_Right: 0 | ||
| 992 | + m_Top: 6 | ||
| 993 | + m_Bottom: 6 | ||
| 994 | + m_Margin: | ||
| 995 | + m_Left: 0 | ||
| 996 | + m_Right: 0 | ||
| 997 | + m_Top: 0 | ||
| 998 | + m_Bottom: 0 | ||
| 999 | + m_Overflow: | ||
| 1000 | + m_Left: -1 | ||
| 1001 | + m_Right: -1 | ||
| 1002 | + m_Top: 0 | ||
| 1003 | + m_Bottom: 0 | ||
| 1004 | + m_Font: {fileID: 0} | ||
| 1005 | + m_ImagePosition: 2 | ||
| 1006 | + m_Alignment: 0 | ||
| 1007 | + m_WordWrap: 0 | ||
| 1008 | + m_TextClipping: 1 | ||
| 1009 | + m_ContentOffset: {x: 0, y: 0} | ||
| 1010 | + m_ClipOffset: {x: 0, y: 0} | ||
| 1011 | + m_FixedWidth: 15 | ||
| 1012 | + m_FixedHeight: 0 | ||
| 1013 | + m_FontSize: 0 | ||
| 1014 | + m_FontStyle: 0 | ||
| 1015 | + m_StretchWidth: 0 | ||
| 1016 | + m_StretchHeight: 1 | ||
| 1017 | + m_verticalScrollbarUpButton: | ||
| 1018 | + m_Name: verticalscrollbarupbutton | ||
| 1019 | + m_Normal: | ||
| 1020 | + m_Background: {fileID: 0} | ||
| 1021 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1022 | + m_Hover: | ||
| 1023 | + m_Background: {fileID: 0} | ||
| 1024 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1025 | + m_Active: | ||
| 1026 | + m_Background: {fileID: 0} | ||
| 1027 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1028 | + m_Focused: | ||
| 1029 | + m_Background: {fileID: 0} | ||
| 1030 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1031 | + m_OnNormal: | ||
| 1032 | + m_Background: {fileID: 0} | ||
| 1033 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1034 | + m_OnHover: | ||
| 1035 | + m_Background: {fileID: 0} | ||
| 1036 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1037 | + m_OnActive: | ||
| 1038 | + m_Background: {fileID: 0} | ||
| 1039 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1040 | + m_OnFocused: | ||
| 1041 | + m_Background: {fileID: 0} | ||
| 1042 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1043 | + m_Border: | ||
| 1044 | + m_Left: 0 | ||
| 1045 | + m_Right: 0 | ||
| 1046 | + m_Top: 0 | ||
| 1047 | + m_Bottom: 0 | ||
| 1048 | + m_Padding: | ||
| 1049 | + m_Left: 0 | ||
| 1050 | + m_Right: 0 | ||
| 1051 | + m_Top: 0 | ||
| 1052 | + m_Bottom: 0 | ||
| 1053 | + m_Margin: | ||
| 1054 | + m_Left: 0 | ||
| 1055 | + m_Right: 0 | ||
| 1056 | + m_Top: 0 | ||
| 1057 | + m_Bottom: 0 | ||
| 1058 | + m_Overflow: | ||
| 1059 | + m_Left: 0 | ||
| 1060 | + m_Right: 0 | ||
| 1061 | + m_Top: 0 | ||
| 1062 | + m_Bottom: 0 | ||
| 1063 | + m_Font: {fileID: 0} | ||
| 1064 | + m_ImagePosition: 0 | ||
| 1065 | + m_Alignment: 0 | ||
| 1066 | + m_WordWrap: 0 | ||
| 1067 | + m_TextClipping: 1 | ||
| 1068 | + m_ContentOffset: {x: 0, y: 0} | ||
| 1069 | + m_ClipOffset: {x: 0, y: 0} | ||
| 1070 | + m_FixedWidth: 0 | ||
| 1071 | + m_FixedHeight: 0 | ||
| 1072 | + m_FontSize: 0 | ||
| 1073 | + m_FontStyle: 0 | ||
| 1074 | + m_StretchWidth: 1 | ||
| 1075 | + m_StretchHeight: 0 | ||
| 1076 | + m_verticalScrollbarDownButton: | ||
| 1077 | + m_Name: verticalscrollbardownbutton | ||
| 1078 | + m_Normal: | ||
| 1079 | + m_Background: {fileID: 0} | ||
| 1080 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1081 | + m_Hover: | ||
| 1082 | + m_Background: {fileID: 0} | ||
| 1083 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1084 | + m_Active: | ||
| 1085 | + m_Background: {fileID: 0} | ||
| 1086 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1087 | + m_Focused: | ||
| 1088 | + m_Background: {fileID: 0} | ||
| 1089 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1090 | + m_OnNormal: | ||
| 1091 | + m_Background: {fileID: 0} | ||
| 1092 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1093 | + m_OnHover: | ||
| 1094 | + m_Background: {fileID: 0} | ||
| 1095 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1096 | + m_OnActive: | ||
| 1097 | + m_Background: {fileID: 0} | ||
| 1098 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1099 | + m_OnFocused: | ||
| 1100 | + m_Background: {fileID: 0} | ||
| 1101 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1102 | + m_Border: | ||
| 1103 | + m_Left: 0 | ||
| 1104 | + m_Right: 0 | ||
| 1105 | + m_Top: 0 | ||
| 1106 | + m_Bottom: 0 | ||
| 1107 | + m_Padding: | ||
| 1108 | + m_Left: 0 | ||
| 1109 | + m_Right: 0 | ||
| 1110 | + m_Top: 0 | ||
| 1111 | + m_Bottom: 0 | ||
| 1112 | + m_Margin: | ||
| 1113 | + m_Left: 0 | ||
| 1114 | + m_Right: 0 | ||
| 1115 | + m_Top: 0 | ||
| 1116 | + m_Bottom: 0 | ||
| 1117 | + m_Overflow: | ||
| 1118 | + m_Left: 0 | ||
| 1119 | + m_Right: 0 | ||
| 1120 | + m_Top: 0 | ||
| 1121 | + m_Bottom: 0 | ||
| 1122 | + m_Font: {fileID: 0} | ||
| 1123 | + m_ImagePosition: 0 | ||
| 1124 | + m_Alignment: 0 | ||
| 1125 | + m_WordWrap: 0 | ||
| 1126 | + m_TextClipping: 1 | ||
| 1127 | + m_ContentOffset: {x: 0, y: 0} | ||
| 1128 | + m_ClipOffset: {x: 0, y: 0} | ||
| 1129 | + m_FixedWidth: 0 | ||
| 1130 | + m_FixedHeight: 0 | ||
| 1131 | + m_FontSize: 0 | ||
| 1132 | + m_FontStyle: 0 | ||
| 1133 | + m_StretchWidth: 1 | ||
| 1134 | + m_StretchHeight: 0 | ||
| 1135 | + m_ScrollView: | ||
| 1136 | + m_Name: scrollview | ||
| 1137 | + m_Normal: | ||
| 1138 | + m_Background: {fileID: 0} | ||
| 1139 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1140 | + m_Hover: | ||
| 1141 | + m_Background: {fileID: 0} | ||
| 1142 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1143 | + m_Active: | ||
| 1144 | + m_Background: {fileID: 0} | ||
| 1145 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1146 | + m_Focused: | ||
| 1147 | + m_Background: {fileID: 0} | ||
| 1148 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1149 | + m_OnNormal: | ||
| 1150 | + m_Background: {fileID: 0} | ||
| 1151 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1152 | + m_OnHover: | ||
| 1153 | + m_Background: {fileID: 0} | ||
| 1154 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1155 | + m_OnActive: | ||
| 1156 | + m_Background: {fileID: 0} | ||
| 1157 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1158 | + m_OnFocused: | ||
| 1159 | + m_Background: {fileID: 0} | ||
| 1160 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1161 | + m_Border: | ||
| 1162 | + m_Left: 0 | ||
| 1163 | + m_Right: 0 | ||
| 1164 | + m_Top: 0 | ||
| 1165 | + m_Bottom: 0 | ||
| 1166 | + m_Padding: | ||
| 1167 | + m_Left: 0 | ||
| 1168 | + m_Right: 0 | ||
| 1169 | + m_Top: 0 | ||
| 1170 | + m_Bottom: 0 | ||
| 1171 | + m_Margin: | ||
| 1172 | + m_Left: 0 | ||
| 1173 | + m_Right: 0 | ||
| 1174 | + m_Top: 0 | ||
| 1175 | + m_Bottom: 0 | ||
| 1176 | + m_Overflow: | ||
| 1177 | + m_Left: 0 | ||
| 1178 | + m_Right: 0 | ||
| 1179 | + m_Top: 0 | ||
| 1180 | + m_Bottom: 0 | ||
| 1181 | + m_Font: {fileID: 0} | ||
| 1182 | + m_ImagePosition: 0 | ||
| 1183 | + m_Alignment: 0 | ||
| 1184 | + m_WordWrap: 0 | ||
| 1185 | + m_TextClipping: 1 | ||
| 1186 | + m_ContentOffset: {x: 0, y: 0} | ||
| 1187 | + m_ClipOffset: {x: 0, y: 0} | ||
| 1188 | + m_FixedWidth: 0 | ||
| 1189 | + m_FixedHeight: 0 | ||
| 1190 | + m_FontSize: 0 | ||
| 1191 | + m_FontStyle: 0 | ||
| 1192 | + m_StretchWidth: 1 | ||
| 1193 | + m_StretchHeight: 0 | ||
| 1194 | + m_CustomStyles: | ||
| 1195 | + - m_Name: ContrastLabel | ||
| 1196 | + m_Normal: | ||
| 1197 | + m_Background: {fileID: 2800000, guid: 7fbbedb31432e4d408b2e3fbd0dbd862, type: 3} | ||
| 1198 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 1199 | + m_Hover: | ||
| 1200 | + m_Background: {fileID: 0} | ||
| 1201 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1202 | + m_Active: | ||
| 1203 | + m_Background: {fileID: 0} | ||
| 1204 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1205 | + m_Focused: | ||
| 1206 | + m_Background: {fileID: 0} | ||
| 1207 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1208 | + m_OnNormal: | ||
| 1209 | + m_Background: {fileID: 0} | ||
| 1210 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1211 | + m_OnHover: | ||
| 1212 | + m_Background: {fileID: 0} | ||
| 1213 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1214 | + m_OnActive: | ||
| 1215 | + m_Background: {fileID: 0} | ||
| 1216 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1217 | + m_OnFocused: | ||
| 1218 | + m_Background: {fileID: 0} | ||
| 1219 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1220 | + m_Border: | ||
| 1221 | + m_Left: 0 | ||
| 1222 | + m_Right: 0 | ||
| 1223 | + m_Top: 0 | ||
| 1224 | + m_Bottom: 0 | ||
| 1225 | + m_Padding: | ||
| 1226 | + m_Left: 0 | ||
| 1227 | + m_Right: 0 | ||
| 1228 | + m_Top: 0 | ||
| 1229 | + m_Bottom: 0 | ||
| 1230 | + m_Margin: | ||
| 1231 | + m_Left: 0 | ||
| 1232 | + m_Right: 0 | ||
| 1233 | + m_Top: 0 | ||
| 1234 | + m_Bottom: 0 | ||
| 1235 | + m_Overflow: | ||
| 1236 | + m_Left: 0 | ||
| 1237 | + m_Right: 0 | ||
| 1238 | + m_Top: 0 | ||
| 1239 | + m_Bottom: 0 | ||
| 1240 | + m_Font: {fileID: 0} | ||
| 1241 | + m_ImagePosition: 0 | ||
| 1242 | + m_Alignment: 0 | ||
| 1243 | + m_WordWrap: 0 | ||
| 1244 | + m_TextClipping: 0 | ||
| 1245 | + m_ContentOffset: {x: 0, y: 0} | ||
| 1246 | + m_ClipOffset: {x: 0, y: 0} | ||
| 1247 | + m_FixedWidth: 0 | ||
| 1248 | + m_FixedHeight: 0 | ||
| 1249 | + m_FontSize: 14 | ||
| 1250 | + m_FontStyle: 1 | ||
| 1251 | + m_StretchWidth: 1 | ||
| 1252 | + m_StretchHeight: 0 | ||
| 1253 | + - m_Name: spectrumHorizSlider | ||
| 1254 | + m_Normal: | ||
| 1255 | + m_Background: {fileID: 2800000, guid: be0cffc23968d704980274205bc44645, type: 3} | ||
| 1256 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 1257 | + m_Hover: | ||
| 1258 | + m_Background: {fileID: 0} | ||
| 1259 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1260 | + m_Active: | ||
| 1261 | + m_Background: {fileID: 0} | ||
| 1262 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1263 | + m_Focused: | ||
| 1264 | + m_Background: {fileID: 0} | ||
| 1265 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1266 | + m_OnNormal: | ||
| 1267 | + m_Background: {fileID: 0} | ||
| 1268 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1269 | + m_OnHover: | ||
| 1270 | + m_Background: {fileID: 0} | ||
| 1271 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1272 | + m_OnActive: | ||
| 1273 | + m_Background: {fileID: 0} | ||
| 1274 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1275 | + m_OnFocused: | ||
| 1276 | + m_Background: {fileID: 0} | ||
| 1277 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1278 | + m_Border: | ||
| 1279 | + m_Left: 3 | ||
| 1280 | + m_Right: 3 | ||
| 1281 | + m_Top: 0 | ||
| 1282 | + m_Bottom: 0 | ||
| 1283 | + m_Padding: | ||
| 1284 | + m_Left: -1 | ||
| 1285 | + m_Right: -1 | ||
| 1286 | + m_Top: 0 | ||
| 1287 | + m_Bottom: 0 | ||
| 1288 | + m_Margin: | ||
| 1289 | + m_Left: 4 | ||
| 1290 | + m_Right: 4 | ||
| 1291 | + m_Top: 4 | ||
| 1292 | + m_Bottom: 4 | ||
| 1293 | + m_Overflow: | ||
| 1294 | + m_Left: 0 | ||
| 1295 | + m_Right: 0 | ||
| 1296 | + m_Top: -2 | ||
| 1297 | + m_Bottom: -3 | ||
| 1298 | + m_Font: {fileID: 0} | ||
| 1299 | + m_ImagePosition: 2 | ||
| 1300 | + m_Alignment: 0 | ||
| 1301 | + m_WordWrap: 0 | ||
| 1302 | + m_TextClipping: 1 | ||
| 1303 | + m_ContentOffset: {x: 0, y: 0} | ||
| 1304 | + m_ClipOffset: {x: 0, y: 0} | ||
| 1305 | + m_FixedWidth: 0 | ||
| 1306 | + m_FixedHeight: 30 | ||
| 1307 | + m_FontSize: 0 | ||
| 1308 | + m_FontStyle: 0 | ||
| 1309 | + m_StretchWidth: 1 | ||
| 1310 | + m_StretchHeight: 0 | ||
| 1311 | + - m_Name: sceneSelection | ||
| 1312 | + m_Normal: | ||
| 1313 | + m_Background: {fileID: 2800000, guid: b6b9f1741e3bb6241aab55422ae1f133, type: 3} | ||
| 1314 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 1315 | + m_Hover: | ||
| 1316 | + m_Background: {fileID: 2800000, guid: 5fa7bcd58e1876e41952c9349da60879, type: 3} | ||
| 1317 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 1318 | + m_Active: | ||
| 1319 | + m_Background: {fileID: 0} | ||
| 1320 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1321 | + m_Focused: | ||
| 1322 | + m_Background: {fileID: 0} | ||
| 1323 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1324 | + m_OnNormal: | ||
| 1325 | + m_Background: {fileID: 2800000, guid: 89756d2e84d7799499b64043123ddf38, type: 3} | ||
| 1326 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 1327 | + m_OnHover: | ||
| 1328 | + m_Background: {fileID: 0} | ||
| 1329 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1330 | + m_OnActive: | ||
| 1331 | + m_Background: {fileID: 0} | ||
| 1332 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1333 | + m_OnFocused: | ||
| 1334 | + m_Background: {fileID: 0} | ||
| 1335 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1336 | + m_Border: | ||
| 1337 | + m_Left: 3 | ||
| 1338 | + m_Right: 3 | ||
| 1339 | + m_Top: 0 | ||
| 1340 | + m_Bottom: 0 | ||
| 1341 | + m_Padding: | ||
| 1342 | + m_Left: 0 | ||
| 1343 | + m_Right: 0 | ||
| 1344 | + m_Top: 16 | ||
| 1345 | + m_Bottom: 12 | ||
| 1346 | + m_Margin: | ||
| 1347 | + m_Left: 10 | ||
| 1348 | + m_Right: 0 | ||
| 1349 | + m_Top: 0 | ||
| 1350 | + m_Bottom: 0 | ||
| 1351 | + m_Overflow: | ||
| 1352 | + m_Left: 0 | ||
| 1353 | + m_Right: 0 | ||
| 1354 | + m_Top: -2 | ||
| 1355 | + m_Bottom: -3 | ||
| 1356 | + m_Font: {fileID: 0} | ||
| 1357 | + m_ImagePosition: 1 | ||
| 1358 | + m_Alignment: 4 | ||
| 1359 | + m_WordWrap: 0 | ||
| 1360 | + m_TextClipping: 1 | ||
| 1361 | + m_ContentOffset: {x: 0, y: 0} | ||
| 1362 | + m_ClipOffset: {x: 0, y: 0} | ||
| 1363 | + m_FixedWidth: 0 | ||
| 1364 | + m_FixedHeight: 208.009995 | ||
| 1365 | + m_FontSize: 0 | ||
| 1366 | + m_FontStyle: 1 | ||
| 1367 | + m_StretchWidth: 1 | ||
| 1368 | + m_StretchHeight: 0 | ||
| 1369 | + - m_Name: labelCentred | ||
| 1370 | + m_Normal: | ||
| 1371 | + m_Background: {fileID: 2800000, guid: 7fbbedb31432e4d408b2e3fbd0dbd862, type: 3} | ||
| 1372 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 1373 | + m_Hover: | ||
| 1374 | + m_Background: {fileID: 2800000, guid: 5fa7bcd58e1876e41952c9349da60879, type: 3} | ||
| 1375 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 1376 | + m_Active: | ||
| 1377 | + m_Background: {fileID: 0} | ||
| 1378 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1379 | + m_Focused: | ||
| 1380 | + m_Background: {fileID: 0} | ||
| 1381 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1382 | + m_OnNormal: | ||
| 1383 | + m_Background: {fileID: 2800000, guid: 89756d2e84d7799499b64043123ddf38, type: 3} | ||
| 1384 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 1385 | + m_OnHover: | ||
| 1386 | + m_Background: {fileID: 0} | ||
| 1387 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1388 | + m_OnActive: | ||
| 1389 | + m_Background: {fileID: 0} | ||
| 1390 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1391 | + m_OnFocused: | ||
| 1392 | + m_Background: {fileID: 0} | ||
| 1393 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1394 | + m_Border: | ||
| 1395 | + m_Left: 0 | ||
| 1396 | + m_Right: 0 | ||
| 1397 | + m_Top: 0 | ||
| 1398 | + m_Bottom: 0 | ||
| 1399 | + m_Padding: | ||
| 1400 | + m_Left: 18 | ||
| 1401 | + m_Right: 18 | ||
| 1402 | + m_Top: 3 | ||
| 1403 | + m_Bottom: 3 | ||
| 1404 | + m_Margin: | ||
| 1405 | + m_Left: 0 | ||
| 1406 | + m_Right: 0 | ||
| 1407 | + m_Top: 0 | ||
| 1408 | + m_Bottom: 0 | ||
| 1409 | + m_Overflow: | ||
| 1410 | + m_Left: 0 | ||
| 1411 | + m_Right: 0 | ||
| 1412 | + m_Top: 0 | ||
| 1413 | + m_Bottom: -2 | ||
| 1414 | + m_Font: {fileID: 0} | ||
| 1415 | + m_ImagePosition: 3 | ||
| 1416 | + m_Alignment: 1 | ||
| 1417 | + m_WordWrap: 0 | ||
| 1418 | + m_TextClipping: 1 | ||
| 1419 | + m_ContentOffset: {x: 0, y: 0} | ||
| 1420 | + m_ClipOffset: {x: 0, y: 0} | ||
| 1421 | + m_FixedWidth: 0 | ||
| 1422 | + m_FixedHeight: 0 | ||
| 1423 | + m_FontSize: 31 | ||
| 1424 | + m_FontStyle: 1 | ||
| 1425 | + m_StretchWidth: 1 | ||
| 1426 | + m_StretchHeight: 0 | ||
| 1427 | + - m_Name: labelHeading | ||
| 1428 | + m_Normal: | ||
| 1429 | + m_Background: {fileID: 2800000, guid: b6b9f1741e3bb6241aab55422ae1f133, type: 3} | ||
| 1430 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 1431 | + m_Hover: | ||
| 1432 | + m_Background: {fileID: 2800000, guid: 5fa7bcd58e1876e41952c9349da60879, type: 3} | ||
| 1433 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 1434 | + m_Active: | ||
| 1435 | + m_Background: {fileID: 0} | ||
| 1436 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1437 | + m_Focused: | ||
| 1438 | + m_Background: {fileID: 0} | ||
| 1439 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1440 | + m_OnNormal: | ||
| 1441 | + m_Background: {fileID: 2800000, guid: 89756d2e84d7799499b64043123ddf38, type: 3} | ||
| 1442 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 1443 | + m_OnHover: | ||
| 1444 | + m_Background: {fileID: 0} | ||
| 1445 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1446 | + m_OnActive: | ||
| 1447 | + m_Background: {fileID: 0} | ||
| 1448 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1449 | + m_OnFocused: | ||
| 1450 | + m_Background: {fileID: 0} | ||
| 1451 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1452 | + m_Border: | ||
| 1453 | + m_Left: 0 | ||
| 1454 | + m_Right: 0 | ||
| 1455 | + m_Top: 0 | ||
| 1456 | + m_Bottom: 0 | ||
| 1457 | + m_Padding: | ||
| 1458 | + m_Left: 0 | ||
| 1459 | + m_Right: 46 | ||
| 1460 | + m_Top: 9 | ||
| 1461 | + m_Bottom: 6 | ||
| 1462 | + m_Margin: | ||
| 1463 | + m_Left: 15 | ||
| 1464 | + m_Right: 0 | ||
| 1465 | + m_Top: 23 | ||
| 1466 | + m_Bottom: 17 | ||
| 1467 | + m_Overflow: | ||
| 1468 | + m_Left: 18 | ||
| 1469 | + m_Right: 4 | ||
| 1470 | + m_Top: 0 | ||
| 1471 | + m_Bottom: 0 | ||
| 1472 | + m_Font: {fileID: 0} | ||
| 1473 | + m_ImagePosition: 3 | ||
| 1474 | + m_Alignment: 0 | ||
| 1475 | + m_WordWrap: 0 | ||
| 1476 | + m_TextClipping: 1 | ||
| 1477 | + m_ContentOffset: {x: 0, y: 0} | ||
| 1478 | + m_ClipOffset: {x: 0, y: 0} | ||
| 1479 | + m_FixedWidth: 0 | ||
| 1480 | + m_FixedHeight: 0 | ||
| 1481 | + m_FontSize: 22 | ||
| 1482 | + m_FontStyle: 1 | ||
| 1483 | + m_StretchWidth: 0 | ||
| 1484 | + m_StretchHeight: 0 | ||
| 1485 | + - m_Name: ExtractFrameGrid | ||
| 1486 | + m_Normal: | ||
| 1487 | + m_Background: {fileID: 2800000, guid: b6b9f1741e3bb6241aab55422ae1f133, type: 3} | ||
| 1488 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 1489 | + m_Hover: | ||
| 1490 | + m_Background: {fileID: 2800000, guid: 5fa7bcd58e1876e41952c9349da60879, type: 3} | ||
| 1491 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 1492 | + m_Active: | ||
| 1493 | + m_Background: {fileID: 0} | ||
| 1494 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1495 | + m_Focused: | ||
| 1496 | + m_Background: {fileID: 0} | ||
| 1497 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1498 | + m_OnNormal: | ||
| 1499 | + m_Background: {fileID: 2800000, guid: 89756d2e84d7799499b64043123ddf38, type: 3} | ||
| 1500 | + m_TextColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 1501 | + m_OnHover: | ||
| 1502 | + m_Background: {fileID: 0} | ||
| 1503 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1504 | + m_OnActive: | ||
| 1505 | + m_Background: {fileID: 0} | ||
| 1506 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1507 | + m_OnFocused: | ||
| 1508 | + m_Background: {fileID: 0} | ||
| 1509 | + m_TextColor: {r: 0, g: 0, b: 0, a: 1} | ||
| 1510 | + m_Border: | ||
| 1511 | + m_Left: 0 | ||
| 1512 | + m_Right: 0 | ||
| 1513 | + m_Top: 0 | ||
| 1514 | + m_Bottom: 0 | ||
| 1515 | + m_Padding: | ||
| 1516 | + m_Left: 0 | ||
| 1517 | + m_Right: 0 | ||
| 1518 | + m_Top: 0 | ||
| 1519 | + m_Bottom: 0 | ||
| 1520 | + m_Margin: | ||
| 1521 | + m_Left: 8 | ||
| 1522 | + m_Right: 8 | ||
| 1523 | + m_Top: 8 | ||
| 1524 | + m_Bottom: 0 | ||
| 1525 | + m_Overflow: | ||
| 1526 | + m_Left: 0 | ||
| 1527 | + m_Right: 0 | ||
| 1528 | + m_Top: 0 | ||
| 1529 | + m_Bottom: 0 | ||
| 1530 | + m_Font: {fileID: 0} | ||
| 1531 | + m_ImagePosition: 1 | ||
| 1532 | + m_Alignment: 0 | ||
| 1533 | + m_WordWrap: 0 | ||
| 1534 | + m_TextClipping: 1 | ||
| 1535 | + m_ContentOffset: {x: 0, y: 0} | ||
| 1536 | + m_ClipOffset: {x: 0, y: 0} | ||
| 1537 | + m_FixedWidth: 0 | ||
| 1538 | + m_FixedHeight: 0 | ||
| 1539 | + m_FontSize: 0 | ||
| 1540 | + m_FontStyle: 0 | ||
| 1541 | + m_StretchWidth: 1 | ||
| 1542 | + m_StretchHeight: 0 | ||
| 1543 | + m_Settings: | ||
| 1544 | + m_DoubleClickSelectsWord: 1 | ||
| 1545 | + m_TripleClickSelectsLine: 1 | ||
| 1546 | + m_CursorColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 1547 | + m_CursorFlashSpeed: -1 | ||
| 1548 | + m_SelectionColor: {r: 1, g: .384039074, b: 0, a: .699999988} |
No preview for this file type
| 1 | +fileFormatVersion: 2 | ||
| 2 | +guid: 1102003ee10456942bffb2b369d6a7b8 | ||
| 3 | +TrueTypeFontImporter: | ||
| 4 | + serializedVersion: 3 | ||
| 5 | + fontSize: 16 | ||
| 6 | + forceTextureCase: -2 | ||
| 7 | + characterSpacing: 1 | ||
| 8 | + characterPadding: 0 | ||
| 9 | + includeFontData: 1 | ||
| 10 | + fontNames: [] | ||
| 11 | + fallbackFontReferences: [] | ||
| 12 | + customCharacters: | ||
| 13 | + fontRenderingMode: 0 | ||
| 14 | + ascentCalculationMode: 1 | ||
| 15 | + userData: | ||
| 16 | + assetBundleName: | ||
| 17 | + assetBundleVariant: |
167 Bytes
| 1 | +fileFormatVersion: 2 | ||
| 2 | +guid: 41dc463a61e06694b85593cb70e17848 | ||
| 3 | +TextureImporter: | ||
| 4 | + fileIDToRecycleName: {} | ||
| 5 | + serializedVersion: 2 | ||
| 6 | + mipmaps: | ||
| 7 | + mipMapMode: 0 | ||
| 8 | + enableMipMap: 1 | ||
| 9 | + linearTexture: 0 | ||
| 10 | + correctGamma: 0 | ||
| 11 | + fadeOut: 0 | ||
| 12 | + borderMipMap: 0 | ||
| 13 | + mipMapFadeDistanceStart: 1 | ||
| 14 | + mipMapFadeDistanceEnd: 3 | ||
| 15 | + bumpmap: | ||
| 16 | + convertToNormalMap: 0 | ||
| 17 | + externalNormalMap: 0 | ||
| 18 | + heightScale: 0.25 | ||
| 19 | + normalMapFilter: 0 | ||
| 20 | + isReadable: 0 | ||
| 21 | + grayScaleToAlpha: 0 | ||
| 22 | + generateCubemap: 0 | ||
| 23 | + cubemapConvolution: 0 | ||
| 24 | + cubemapConvolutionSteps: 7 | ||
| 25 | + cubemapConvolutionExponent: 1.5 | ||
| 26 | + seamlessCubemap: 0 | ||
| 27 | + textureFormat: -1 | ||
| 28 | + maxTextureSize: 1024 | ||
| 29 | + textureSettings: | ||
| 30 | + filterMode: -1 | ||
| 31 | + aniso: -1 | ||
| 32 | + mipBias: -1 | ||
| 33 | + wrapMode: -1 | ||
| 34 | + nPOTScale: 1 | ||
| 35 | + lightmap: 0 | ||
| 36 | + rGBM: 0 | ||
| 37 | + compressionQuality: 50 | ||
| 38 | + allowsAlphaSplitting: 0 | ||
| 39 | + spriteMode: 0 | ||
| 40 | + spriteExtrude: 1 | ||
| 41 | + spriteMeshType: 1 | ||
| 42 | + alignment: 0 | ||
| 43 | + spritePivot: {x: 0.5, y: 0.5} | ||
| 44 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
| 45 | + spritePixelsToUnits: 100 | ||
| 46 | + alphaIsTransparency: 0 | ||
| 47 | + spriteTessellationDetail: -1 | ||
| 48 | + textureType: -1 | ||
| 49 | + buildTargetSettings: [] | ||
| 50 | + spriteSheet: | ||
| 51 | + sprites: [] | ||
| 52 | + outline: [] | ||
| 53 | + spritePackingTag: | ||
| 54 | + userData: | ||
| 55 | + assetBundleName: | ||
| 56 | + assetBundleVariant: |
163 Bytes
| 1 | +fileFormatVersion: 2 | ||
| 2 | +guid: 89756d2e84d7799499b64043123ddf38 | ||
| 3 | +TextureImporter: | ||
| 4 | + fileIDToRecycleName: {} | ||
| 5 | + serializedVersion: 2 | ||
| 6 | + mipmaps: | ||
| 7 | + mipMapMode: 0 | ||
| 8 | + enableMipMap: 1 | ||
| 9 | + linearTexture: 0 | ||
| 10 | + correctGamma: 0 | ||
| 11 | + fadeOut: 0 | ||
| 12 | + borderMipMap: 0 | ||
| 13 | + mipMapFadeDistanceStart: 1 | ||
| 14 | + mipMapFadeDistanceEnd: 3 | ||
| 15 | + bumpmap: | ||
| 16 | + convertToNormalMap: 0 | ||
| 17 | + externalNormalMap: 0 | ||
| 18 | + heightScale: 0.25 | ||
| 19 | + normalMapFilter: 0 | ||
| 20 | + isReadable: 0 | ||
| 21 | + grayScaleToAlpha: 0 | ||
| 22 | + generateCubemap: 0 | ||
| 23 | + cubemapConvolution: 0 | ||
| 24 | + cubemapConvolutionSteps: 7 | ||
| 25 | + cubemapConvolutionExponent: 1.5 | ||
| 26 | + seamlessCubemap: 0 | ||
| 27 | + textureFormat: -1 | ||
| 28 | + maxTextureSize: 1024 | ||
| 29 | + textureSettings: | ||
| 30 | + filterMode: -1 | ||
| 31 | + aniso: -1 | ||
| 32 | + mipBias: -1 | ||
| 33 | + wrapMode: -1 | ||
| 34 | + nPOTScale: 1 | ||
| 35 | + lightmap: 0 | ||
| 36 | + rGBM: 0 | ||
| 37 | + compressionQuality: 50 | ||
| 38 | + allowsAlphaSplitting: 0 | ||
| 39 | + spriteMode: 0 | ||
| 40 | + spriteExtrude: 1 | ||
| 41 | + spriteMeshType: 1 | ||
| 42 | + alignment: 0 | ||
| 43 | + spritePivot: {x: 0.5, y: 0.5} | ||
| 44 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
| 45 | + spritePixelsToUnits: 100 | ||
| 46 | + alphaIsTransparency: 0 | ||
| 47 | + spriteTessellationDetail: -1 | ||
| 48 | + textureType: -1 | ||
| 49 | + buildTargetSettings: [] | ||
| 50 | + spriteSheet: | ||
| 51 | + sprites: [] | ||
| 52 | + outline: [] | ||
| 53 | + spritePackingTag: | ||
| 54 | + userData: | ||
| 55 | + assetBundleName: | ||
| 56 | + assetBundleVariant: |
163 Bytes
| 1 | +fileFormatVersion: 2 | ||
| 2 | +guid: 5fa7bcd58e1876e41952c9349da60879 | ||
| 3 | +TextureImporter: | ||
| 4 | + fileIDToRecycleName: {} | ||
| 5 | + serializedVersion: 2 | ||
| 6 | + mipmaps: | ||
| 7 | + mipMapMode: 0 | ||
| 8 | + enableMipMap: 1 | ||
| 9 | + linearTexture: 0 | ||
| 10 | + correctGamma: 0 | ||
| 11 | + fadeOut: 0 | ||
| 12 | + borderMipMap: 0 | ||
| 13 | + mipMapFadeDistanceStart: 1 | ||
| 14 | + mipMapFadeDistanceEnd: 3 | ||
| 15 | + bumpmap: | ||
| 16 | + convertToNormalMap: 0 | ||
| 17 | + externalNormalMap: 0 | ||
| 18 | + heightScale: 0.25 | ||
| 19 | + normalMapFilter: 0 | ||
| 20 | + isReadable: 0 | ||
| 21 | + grayScaleToAlpha: 0 | ||
| 22 | + generateCubemap: 0 | ||
| 23 | + cubemapConvolution: 0 | ||
| 24 | + cubemapConvolutionSteps: 7 | ||
| 25 | + cubemapConvolutionExponent: 1.5 | ||
| 26 | + seamlessCubemap: 0 | ||
| 27 | + textureFormat: -1 | ||
| 28 | + maxTextureSize: 1024 | ||
| 29 | + textureSettings: | ||
| 30 | + filterMode: -1 | ||
| 31 | + aniso: -1 | ||
| 32 | + mipBias: -1 | ||
| 33 | + wrapMode: -1 | ||
| 34 | + nPOTScale: 1 | ||
| 35 | + lightmap: 0 | ||
| 36 | + rGBM: 0 | ||
| 37 | + compressionQuality: 50 | ||
| 38 | + allowsAlphaSplitting: 0 | ||
| 39 | + spriteMode: 0 | ||
| 40 | + spriteExtrude: 1 | ||
| 41 | + spriteMeshType: 1 | ||
| 42 | + alignment: 0 | ||
| 43 | + spritePivot: {x: 0.5, y: 0.5} | ||
| 44 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
| 45 | + spritePixelsToUnits: 100 | ||
| 46 | + alphaIsTransparency: 0 | ||
| 47 | + spriteTessellationDetail: -1 | ||
| 48 | + textureType: -1 | ||
| 49 | + buildTargetSettings: [] | ||
| 50 | + spriteSheet: | ||
| 51 | + sprites: [] | ||
| 52 | + outline: [] | ||
| 53 | + spritePackingTag: | ||
| 54 | + userData: | ||
| 55 | + assetBundleName: | ||
| 56 | + assetBundleVariant: |
163 Bytes
| 1 | +fileFormatVersion: 2 | ||
| 2 | +guid: b6b9f1741e3bb6241aab55422ae1f133 | ||
| 3 | +TextureImporter: | ||
| 4 | + fileIDToRecycleName: {} | ||
| 5 | + serializedVersion: 2 | ||
| 6 | + mipmaps: | ||
| 7 | + mipMapMode: 0 | ||
| 8 | + enableMipMap: 1 | ||
| 9 | + linearTexture: 0 | ||
| 10 | + correctGamma: 0 | ||
| 11 | + fadeOut: 0 | ||
| 12 | + borderMipMap: 0 | ||
| 13 | + mipMapFadeDistanceStart: 1 | ||
| 14 | + mipMapFadeDistanceEnd: 3 | ||
| 15 | + bumpmap: | ||
| 16 | + convertToNormalMap: 0 | ||
| 17 | + externalNormalMap: 0 | ||
| 18 | + heightScale: 0.25 | ||
| 19 | + normalMapFilter: 0 | ||
| 20 | + isReadable: 0 | ||
| 21 | + grayScaleToAlpha: 0 | ||
| 22 | + generateCubemap: 0 | ||
| 23 | + cubemapConvolution: 0 | ||
| 24 | + cubemapConvolutionSteps: 7 | ||
| 25 | + cubemapConvolutionExponent: 1.5 | ||
| 26 | + seamlessCubemap: 0 | ||
| 27 | + textureFormat: -1 | ||
| 28 | + maxTextureSize: 1024 | ||
| 29 | + textureSettings: | ||
| 30 | + filterMode: -1 | ||
| 31 | + aniso: -1 | ||
| 32 | + mipBias: -1 | ||
| 33 | + wrapMode: -1 | ||
| 34 | + nPOTScale: 1 | ||
| 35 | + lightmap: 0 | ||
| 36 | + rGBM: 0 | ||
| 37 | + compressionQuality: 50 | ||
| 38 | + allowsAlphaSplitting: 0 | ||
| 39 | + spriteMode: 0 | ||
| 40 | + spriteExtrude: 1 | ||
| 41 | + spriteMeshType: 1 | ||
| 42 | + alignment: 0 | ||
| 43 | + spritePivot: {x: 0.5, y: 0.5} | ||
| 44 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
| 45 | + spritePixelsToUnits: 100 | ||
| 46 | + alphaIsTransparency: 0 | ||
| 47 | + spriteTessellationDetail: -1 | ||
| 48 | + textureType: -1 | ||
| 49 | + buildTargetSettings: [] | ||
| 50 | + spriteSheet: | ||
| 51 | + sprites: [] | ||
| 52 | + outline: [] | ||
| 53 | + spritePackingTag: | ||
| 54 | + userData: | ||
| 55 | + assetBundleName: | ||
| 56 | + assetBundleVariant: |
163 Bytes
| 1 | +fileFormatVersion: 2 | ||
| 2 | +guid: ccce2d09cdddb2d4da068267090c1548 | ||
| 3 | +TextureImporter: | ||
| 4 | + fileIDToRecycleName: {} | ||
| 5 | + serializedVersion: 2 | ||
| 6 | + mipmaps: | ||
| 7 | + mipMapMode: 0 | ||
| 8 | + enableMipMap: 1 | ||
| 9 | + linearTexture: 0 | ||
| 10 | + correctGamma: 0 | ||
| 11 | + fadeOut: 0 | ||
| 12 | + borderMipMap: 0 | ||
| 13 | + mipMapFadeDistanceStart: 1 | ||
| 14 | + mipMapFadeDistanceEnd: 3 | ||
| 15 | + bumpmap: | ||
| 16 | + convertToNormalMap: 0 | ||
| 17 | + externalNormalMap: 0 | ||
| 18 | + heightScale: 0.25 | ||
| 19 | + normalMapFilter: 0 | ||
| 20 | + isReadable: 0 | ||
| 21 | + grayScaleToAlpha: 0 | ||
| 22 | + generateCubemap: 0 | ||
| 23 | + cubemapConvolution: 0 | ||
| 24 | + cubemapConvolutionSteps: 7 | ||
| 25 | + cubemapConvolutionExponent: 1.5 | ||
| 26 | + seamlessCubemap: 0 | ||
| 27 | + textureFormat: -1 | ||
| 28 | + maxTextureSize: 1024 | ||
| 29 | + textureSettings: | ||
| 30 | + filterMode: -1 | ||
| 31 | + aniso: -1 | ||
| 32 | + mipBias: -1 | ||
| 33 | + wrapMode: -1 | ||
| 34 | + nPOTScale: 1 | ||
| 35 | + lightmap: 0 | ||
| 36 | + rGBM: 0 | ||
| 37 | + compressionQuality: 50 | ||
| 38 | + allowsAlphaSplitting: 0 | ||
| 39 | + spriteMode: 0 | ||
| 40 | + spriteExtrude: 1 | ||
| 41 | + spriteMeshType: 1 | ||
| 42 | + alignment: 0 | ||
| 43 | + spritePivot: {x: 0.5, y: 0.5} | ||
| 44 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
| 45 | + spritePixelsToUnits: 100 | ||
| 46 | + alphaIsTransparency: 0 | ||
| 47 | + spriteTessellationDetail: -1 | ||
| 48 | + textureType: -1 | ||
| 49 | + buildTargetSettings: [] | ||
| 50 | + spriteSheet: | ||
| 51 | + sprites: [] | ||
| 52 | + outline: [] | ||
| 53 | + spritePackingTag: | ||
| 54 | + userData: | ||
| 55 | + assetBundleName: | ||
| 56 | + assetBundleVariant: |
234 Bytes
| 1 | +fileFormatVersion: 2 | ||
| 2 | +guid: be0cffc23968d704980274205bc44645 | ||
| 3 | +TextureImporter: | ||
| 4 | + fileIDToRecycleName: {} | ||
| 5 | + serializedVersion: 2 | ||
| 6 | + mipmaps: | ||
| 7 | + mipMapMode: 0 | ||
| 8 | + enableMipMap: 1 | ||
| 9 | + linearTexture: 0 | ||
| 10 | + correctGamma: 0 | ||
| 11 | + fadeOut: 0 | ||
| 12 | + borderMipMap: 0 | ||
| 13 | + mipMapFadeDistanceStart: 1 | ||
| 14 | + mipMapFadeDistanceEnd: 3 | ||
| 15 | + bumpmap: | ||
| 16 | + convertToNormalMap: 0 | ||
| 17 | + externalNormalMap: 0 | ||
| 18 | + heightScale: 0.25 | ||
| 19 | + normalMapFilter: 0 | ||
| 20 | + isReadable: 0 | ||
| 21 | + grayScaleToAlpha: 0 | ||
| 22 | + generateCubemap: 0 | ||
| 23 | + cubemapConvolution: 0 | ||
| 24 | + cubemapConvolutionSteps: 7 | ||
| 25 | + cubemapConvolutionExponent: 1.5 | ||
| 26 | + seamlessCubemap: 0 | ||
| 27 | + textureFormat: -1 | ||
| 28 | + maxTextureSize: 1024 | ||
| 29 | + textureSettings: | ||
| 30 | + filterMode: -1 | ||
| 31 | + aniso: -1 | ||
| 32 | + mipBias: -1 | ||
| 33 | + wrapMode: -1 | ||
| 34 | + nPOTScale: 1 | ||
| 35 | + lightmap: 0 | ||
| 36 | + rGBM: 0 | ||
| 37 | + compressionQuality: 50 | ||
| 38 | + allowsAlphaSplitting: 0 | ||
| 39 | + spriteMode: 0 | ||
| 40 | + spriteExtrude: 1 | ||
| 41 | + spriteMeshType: 1 | ||
| 42 | + alignment: 0 | ||
| 43 | + spritePivot: {x: 0.5, y: 0.5} | ||
| 44 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
| 45 | + spritePixelsToUnits: 100 | ||
| 46 | + alphaIsTransparency: 0 | ||
| 47 | + spriteTessellationDetail: -1 | ||
| 48 | + textureType: -1 | ||
| 49 | + buildTargetSettings: [] | ||
| 50 | + spriteSheet: | ||
| 51 | + sprites: [] | ||
| 52 | + outline: [] | ||
| 53 | + spritePackingTag: | ||
| 54 | + userData: | ||
| 55 | + assetBundleName: | ||
| 56 | + assetBundleVariant: |
167 Bytes
| 1 | +fileFormatVersion: 2 | ||
| 2 | +guid: 7fbbedb31432e4d408b2e3fbd0dbd862 | ||
| 3 | +TextureImporter: | ||
| 4 | + fileIDToRecycleName: {} | ||
| 5 | + serializedVersion: 2 | ||
| 6 | + mipmaps: | ||
| 7 | + mipMapMode: 0 | ||
| 8 | + enableMipMap: 1 | ||
| 9 | + linearTexture: 0 | ||
| 10 | + correctGamma: 0 | ||
| 11 | + fadeOut: 0 | ||
| 12 | + borderMipMap: 0 | ||
| 13 | + mipMapFadeDistanceStart: 1 | ||
| 14 | + mipMapFadeDistanceEnd: 3 | ||
| 15 | + bumpmap: | ||
| 16 | + convertToNormalMap: 0 | ||
| 17 | + externalNormalMap: 0 | ||
| 18 | + heightScale: 0.25 | ||
| 19 | + normalMapFilter: 0 | ||
| 20 | + isReadable: 0 | ||
| 21 | + grayScaleToAlpha: 0 | ||
| 22 | + generateCubemap: 0 | ||
| 23 | + cubemapConvolution: 0 | ||
| 24 | + cubemapConvolutionSteps: 7 | ||
| 25 | + cubemapConvolutionExponent: 1.5 | ||
| 26 | + seamlessCubemap: 0 | ||
| 27 | + textureFormat: -1 | ||
| 28 | + maxTextureSize: 1024 | ||
| 29 | + textureSettings: | ||
| 30 | + filterMode: -1 | ||
| 31 | + aniso: -1 | ||
| 32 | + mipBias: -1 | ||
| 33 | + wrapMode: -1 | ||
| 34 | + nPOTScale: 1 | ||
| 35 | + lightmap: 0 | ||
| 36 | + rGBM: 0 | ||
| 37 | + compressionQuality: 50 | ||
| 38 | + allowsAlphaSplitting: 0 | ||
| 39 | + spriteMode: 0 | ||
| 40 | + spriteExtrude: 1 | ||
| 41 | + spriteMeshType: 1 | ||
| 42 | + alignment: 0 | ||
| 43 | + spritePivot: {x: 0.5, y: 0.5} | ||
| 44 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
| 45 | + spritePixelsToUnits: 100 | ||
| 46 | + alphaIsTransparency: 0 | ||
| 47 | + spriteTessellationDetail: -1 | ||
| 48 | + textureType: -1 | ||
| 49 | + buildTargetSettings: [] | ||
| 50 | + spriteSheet: | ||
| 51 | + sprites: [] | ||
| 52 | + outline: [] | ||
| 53 | + spritePackingTag: | ||
| 54 | + userData: | ||
| 55 | + assetBundleName: | ||
| 56 | + assetBundleVariant: |
220 Bytes
| 1 | +fileFormatVersion: 2 | ||
| 2 | +guid: 01d77d6197097f04d92df9c5a034133c | ||
| 3 | +TextureImporter: | ||
| 4 | + fileIDToRecycleName: {} | ||
| 5 | + serializedVersion: 2 | ||
| 6 | + mipmaps: | ||
| 7 | + mipMapMode: 0 | ||
| 8 | + enableMipMap: 1 | ||
| 9 | + linearTexture: 0 | ||
| 10 | + correctGamma: 0 | ||
| 11 | + fadeOut: 0 | ||
| 12 | + borderMipMap: 0 | ||
| 13 | + mipMapFadeDistanceStart: 1 | ||
| 14 | + mipMapFadeDistanceEnd: 3 | ||
| 15 | + bumpmap: | ||
| 16 | + convertToNormalMap: 0 | ||
| 17 | + externalNormalMap: 0 | ||
| 18 | + heightScale: 0.25 | ||
| 19 | + normalMapFilter: 0 | ||
| 20 | + isReadable: 0 | ||
| 21 | + grayScaleToAlpha: 0 | ||
| 22 | + generateCubemap: 0 | ||
| 23 | + cubemapConvolution: 0 | ||
| 24 | + cubemapConvolutionSteps: 7 | ||
| 25 | + cubemapConvolutionExponent: 1.5 | ||
| 26 | + seamlessCubemap: 0 | ||
| 27 | + textureFormat: -1 | ||
| 28 | + maxTextureSize: 1024 | ||
| 29 | + textureSettings: | ||
| 30 | + filterMode: -1 | ||
| 31 | + aniso: -1 | ||
| 32 | + mipBias: -1 | ||
| 33 | + wrapMode: -1 | ||
| 34 | + nPOTScale: 1 | ||
| 35 | + lightmap: 0 | ||
| 36 | + rGBM: 0 | ||
| 37 | + compressionQuality: 50 | ||
| 38 | + allowsAlphaSplitting: 0 | ||
| 39 | + spriteMode: 0 | ||
| 40 | + spriteExtrude: 1 | ||
| 41 | + spriteMeshType: 1 | ||
| 42 | + alignment: 0 | ||
| 43 | + spritePivot: {x: 0.5, y: 0.5} | ||
| 44 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
| 45 | + spritePixelsToUnits: 100 | ||
| 46 | + alphaIsTransparency: 0 | ||
| 47 | + spriteTessellationDetail: -1 | ||
| 48 | + textureType: -1 | ||
| 49 | + buildTargetSettings: [] | ||
| 50 | + spriteSheet: | ||
| 51 | + sprites: [] | ||
| 52 | + outline: [] | ||
| 53 | + spritePackingTag: | ||
| 54 | + userData: | ||
| 55 | + assetBundleName: | ||
| 56 | + assetBundleVariant: |
168 Bytes
| 1 | +fileFormatVersion: 2 | ||
| 2 | +guid: e8b5fb4ca0fdd2c4eadc7cbe065543a4 | ||
| 3 | +TextureImporter: | ||
| 4 | + fileIDToRecycleName: {} | ||
| 5 | + serializedVersion: 2 | ||
| 6 | + mipmaps: | ||
| 7 | + mipMapMode: 0 | ||
| 8 | + enableMipMap: 1 | ||
| 9 | + linearTexture: 0 | ||
| 10 | + correctGamma: 0 | ||
| 11 | + fadeOut: 0 | ||
| 12 | + borderMipMap: 0 | ||
| 13 | + mipMapFadeDistanceStart: 1 | ||
| 14 | + mipMapFadeDistanceEnd: 3 | ||
| 15 | + bumpmap: | ||
| 16 | + convertToNormalMap: 0 | ||
| 17 | + externalNormalMap: 0 | ||
| 18 | + heightScale: 0.25 | ||
| 19 | + normalMapFilter: 0 | ||
| 20 | + isReadable: 0 | ||
| 21 | + grayScaleToAlpha: 0 | ||
| 22 | + generateCubemap: 0 | ||
| 23 | + cubemapConvolution: 0 | ||
| 24 | + cubemapConvolutionSteps: 7 | ||
| 25 | + cubemapConvolutionExponent: 1.5 | ||
| 26 | + seamlessCubemap: 0 | ||
| 27 | + textureFormat: -1 | ||
| 28 | + maxTextureSize: 1024 | ||
| 29 | + textureSettings: | ||
| 30 | + filterMode: -1 | ||
| 31 | + aniso: -1 | ||
| 32 | + mipBias: -1 | ||
| 33 | + wrapMode: -1 | ||
| 34 | + nPOTScale: 1 | ||
| 35 | + lightmap: 0 | ||
| 36 | + rGBM: 0 | ||
| 37 | + compressionQuality: 50 | ||
| 38 | + allowsAlphaSplitting: 0 | ||
| 39 | + spriteMode: 0 | ||
| 40 | + spriteExtrude: 1 | ||
| 41 | + spriteMeshType: 1 | ||
| 42 | + alignment: 0 | ||
| 43 | + spritePivot: {x: 0.5, y: 0.5} | ||
| 44 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
| 45 | + spritePixelsToUnits: 100 | ||
| 46 | + alphaIsTransparency: 0 | ||
| 47 | + spriteTessellationDetail: -1 | ||
| 48 | + textureType: -1 | ||
| 49 | + buildTargetSettings: [] | ||
| 50 | + spriteSheet: | ||
| 51 | + sprites: [] | ||
| 52 | + outline: [] | ||
| 53 | + spritePackingTag: | ||
| 54 | + userData: | ||
| 55 | + assetBundleName: | ||
| 56 | + assetBundleVariant: |
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!29 &1 | ||
| 4 | +SceneSettings: | ||
| 5 | + m_ObjectHideFlags: 0 | ||
| 6 | + m_PVSData: | ||
| 7 | + m_PVSObjectsArray: [] | ||
| 8 | + m_PVSPortalsArray: [] | ||
| 9 | + m_OcclusionBakeSettings: | ||
| 10 | + smallestOccluder: 5 | ||
| 11 | + smallestHole: .25 | ||
| 12 | + backfaceThreshold: 100 | ||
| 13 | +--- !u!104 &2 | ||
| 14 | +RenderSettings: | ||
| 15 | + m_Fog: 0 | ||
| 16 | + m_FogColor: {r: .5, g: .5, b: .5, a: 1} | ||
| 17 | + m_FogMode: 3 | ||
| 18 | + m_FogDensity: .00999999978 | ||
| 19 | + m_LinearFogStart: 0 | ||
| 20 | + m_LinearFogEnd: 300 | ||
| 21 | + m_AmbientLight: {r: 0, g: 0, b: 0, a: 1} | ||
| 22 | + m_SkyboxMaterial: {fileID: 0} | ||
| 23 | + m_HaloStrength: .5 | ||
| 24 | + m_FlareStrength: 1 | ||
| 25 | + m_FlareFadeSpeed: 3 | ||
| 26 | + m_HaloTexture: {fileID: 0} | ||
| 27 | + m_SpotCookie: {fileID: 0} | ||
| 28 | + m_ObjectHideFlags: 0 | ||
| 29 | +--- !u!127 &3 | ||
| 30 | +LevelGameManager: | ||
| 31 | + m_ObjectHideFlags: 0 | ||
| 32 | +--- !u!157 &4 | ||
| 33 | +LightmapSettings: | ||
| 34 | + m_ObjectHideFlags: 0 | ||
| 35 | + m_LightProbes: {fileID: 0} | ||
| 36 | + m_Lightmaps: [] | ||
| 37 | + m_LightmapsMode: 1 | ||
| 38 | + m_BakedColorSpace: 0 | ||
| 39 | + m_UseDualLightmapsInForward: 0 | ||
| 40 | + m_LightmapEditorSettings: | ||
| 41 | + m_Resolution: 50 | ||
| 42 | + m_LastUsedResolution: 0 | ||
| 43 | + m_TextureWidth: 1024 | ||
| 44 | + m_TextureHeight: 1024 | ||
| 45 | + m_BounceBoost: 1 | ||
| 46 | + m_BounceIntensity: 1 | ||
| 47 | + m_SkyLightColor: {r: .860000014, g: .930000007, b: 1, a: 1} | ||
| 48 | + m_SkyLightIntensity: 0 | ||
| 49 | + m_Quality: 0 | ||
| 50 | + m_Bounces: 1 | ||
| 51 | + m_FinalGatherRays: 1000 | ||
| 52 | + m_FinalGatherContrastThreshold: .0500000007 | ||
| 53 | + m_FinalGatherGradientThreshold: 0 | ||
| 54 | + m_FinalGatherInterpolationPoints: 15 | ||
| 55 | + m_AOAmount: 0 | ||
| 56 | + m_AOMaxDistance: .100000001 | ||
| 57 | + m_AOContrast: 1 | ||
| 58 | + m_LODSurfaceMappingDistance: 1 | ||
| 59 | + m_Padding: 0 | ||
| 60 | + m_TextureCompression: 0 | ||
| 61 | + m_LockAtlas: 0 | ||
| 62 | +--- !u!1 &5 | ||
| 63 | +GameObject: | ||
| 64 | + m_ObjectHideFlags: 0 | ||
| 65 | + m_PrefabParentObject: {fileID: 0} | ||
| 66 | + m_PrefabInternal: {fileID: 0} | ||
| 67 | + serializedVersion: 4 | ||
| 68 | + m_Component: | ||
| 69 | + - 4: {fileID: 12} | ||
| 70 | + - 33: {fileID: 25} | ||
| 71 | + - 135: {fileID: 35} | ||
| 72 | + - 23: {fileID: 20} | ||
| 73 | + m_Layer: 0 | ||
| 74 | + m_Name: BigSphere | ||
| 75 | + m_TagString: Untagged | ||
| 76 | + m_Icon: {fileID: 0} | ||
| 77 | + m_NavMeshLayer: 0 | ||
| 78 | + m_StaticEditorFlags: 0 | ||
| 79 | + m_IsActive: 1 | ||
| 80 | +--- !u!1 &7 | ||
| 81 | +GameObject: | ||
| 82 | + m_ObjectHideFlags: 0 | ||
| 83 | + m_PrefabParentObject: {fileID: 0} | ||
| 84 | + m_PrefabInternal: {fileID: 0} | ||
| 85 | + serializedVersion: 4 | ||
| 86 | + m_Component: | ||
| 87 | + - 4: {fileID: 14} | ||
| 88 | + - 108: {fileID: 34} | ||
| 89 | + m_Layer: 0 | ||
| 90 | + m_Name: Point light | ||
| 91 | + m_TagString: Untagged | ||
| 92 | + m_Icon: {fileID: 0} | ||
| 93 | + m_NavMeshLayer: 0 | ||
| 94 | + m_StaticEditorFlags: 0 | ||
| 95 | + m_IsActive: 1 | ||
| 96 | +--- !u!1 &8 | ||
| 97 | +GameObject: | ||
| 98 | + m_ObjectHideFlags: 0 | ||
| 99 | + m_PrefabParentObject: {fileID: 0} | ||
| 100 | + m_PrefabInternal: {fileID: 0} | ||
| 101 | + serializedVersion: 4 | ||
| 102 | + m_Component: | ||
| 103 | + - 4: {fileID: 15} | ||
| 104 | + - 33: {fileID: 27} | ||
| 105 | + - 64: {fileID: 31} | ||
| 106 | + - 23: {fileID: 22} | ||
| 107 | + m_Layer: 0 | ||
| 108 | + m_Name: GroundPlane | ||
| 109 | + m_TagString: Untagged | ||
| 110 | + m_Icon: {fileID: 0} | ||
| 111 | + m_NavMeshLayer: 0 | ||
| 112 | + m_StaticEditorFlags: 0 | ||
| 113 | + m_IsActive: 1 | ||
| 114 | +--- !u!1 &9 | ||
| 115 | +GameObject: | ||
| 116 | + m_ObjectHideFlags: 0 | ||
| 117 | + m_PrefabParentObject: {fileID: 0} | ||
| 118 | + m_PrefabInternal: {fileID: 0} | ||
| 119 | + serializedVersion: 4 | ||
| 120 | + m_Component: | ||
| 121 | + - 4: {fileID: 16} | ||
| 122 | + - 33: {fileID: 28} | ||
| 123 | + - 135: {fileID: 36} | ||
| 124 | + - 23: {fileID: 23} | ||
| 125 | + m_Layer: 0 | ||
| 126 | + m_Name: Sphere | ||
| 127 | + m_TagString: Untagged | ||
| 128 | + m_Icon: {fileID: 0} | ||
| 129 | + m_NavMeshLayer: 0 | ||
| 130 | + m_StaticEditorFlags: 0 | ||
| 131 | + m_IsActive: 1 | ||
| 132 | +--- !u!1 &10 | ||
| 133 | +GameObject: | ||
| 134 | + m_ObjectHideFlags: 0 | ||
| 135 | + m_PrefabParentObject: {fileID: 0} | ||
| 136 | + m_PrefabInternal: {fileID: 0} | ||
| 137 | + serializedVersion: 4 | ||
| 138 | + m_Component: | ||
| 139 | + - 4: {fileID: 17} | ||
| 140 | + - 33: {fileID: 29} | ||
| 141 | + - 65: {fileID: 32} | ||
| 142 | + - 23: {fileID: 24} | ||
| 143 | + m_Layer: 0 | ||
| 144 | + m_Name: Cube | ||
| 145 | + m_TagString: Untagged | ||
| 146 | + m_Icon: {fileID: 0} | ||
| 147 | + m_NavMeshLayer: 0 | ||
| 148 | + m_StaticEditorFlags: 0 | ||
| 149 | + m_IsActive: 1 | ||
| 150 | +--- !u!1 &11 | ||
| 151 | +GameObject: | ||
| 152 | + m_ObjectHideFlags: 0 | ||
| 153 | + m_PrefabParentObject: {fileID: 0} | ||
| 154 | + m_PrefabInternal: {fileID: 0} | ||
| 155 | + serializedVersion: 4 | ||
| 156 | + m_Component: | ||
| 157 | + - 4: {fileID: 18} | ||
| 158 | + - 20: {fileID: 19} | ||
| 159 | + - 92: {fileID: 33} | ||
| 160 | + - 114: {fileID: 43} | ||
| 161 | + - 114: {fileID: 37} | ||
| 162 | + - 114: {fileID: 38} | ||
| 163 | + - 114: {fileID: 39} | ||
| 164 | + - 114: {fileID: 41} | ||
| 165 | + - 114: {fileID: 13} | ||
| 166 | + m_Layer: 0 | ||
| 167 | + m_Name: Main Camera | ||
| 168 | + m_TagString: MainCamera | ||
| 169 | + m_Icon: {fileID: 0} | ||
| 170 | + m_NavMeshLayer: 0 | ||
| 171 | + m_StaticEditorFlags: 0 | ||
| 172 | + m_IsActive: 1 | ||
| 173 | +--- !u!4 &12 | ||
| 174 | +Transform: | ||
| 175 | + m_ObjectHideFlags: 0 | ||
| 176 | + m_PrefabParentObject: {fileID: 0} | ||
| 177 | + m_PrefabInternal: {fileID: 0} | ||
| 178 | + m_GameObject: {fileID: 5} | ||
| 179 | + m_LocalRotation: {x: 0, y: .916540205, z: 0, w: .399942636} | ||
| 180 | + m_LocalPosition: {x: 2.85451531, y: 1.19049215, z: .694195688} | ||
| 181 | + m_LocalScale: {x: 2.56313992, y: 2.56313992, z: 2.56313992} | ||
| 182 | + m_Children: [] | ||
| 183 | + m_Father: {fileID: 1626625711} | ||
| 184 | + m_RootOrder: 6 | ||
| 185 | +--- !u!114 &13 | ||
| 186 | +MonoBehaviour: | ||
| 187 | + m_ObjectHideFlags: 0 | ||
| 188 | + m_PrefabParentObject: {fileID: 0} | ||
| 189 | + m_PrefabInternal: {fileID: 0} | ||
| 190 | + m_GameObject: {fileID: 11} | ||
| 191 | + m_Enabled: 1 | ||
| 192 | + m_EditorHideFlags: 0 | ||
| 193 | + m_Script: {fileID: 11500000, guid: e97ef6d0bfd7238498bb990e58ae4ca2, type: 3} | ||
| 194 | + m_Name: | ||
| 195 | + m_EditorClassIdentifier: | ||
| 196 | + _logVideoLoads: 1 | ||
| 197 | + _useExternalTextures: 0 | ||
| 198 | +--- !u!4 &14 | ||
| 199 | +Transform: | ||
| 200 | + m_ObjectHideFlags: 0 | ||
| 201 | + m_PrefabParentObject: {fileID: 0} | ||
| 202 | + m_PrefabInternal: {fileID: 0} | ||
| 203 | + m_GameObject: {fileID: 7} | ||
| 204 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 205 | + m_LocalPosition: {x: 0, y: 2.74500656, z: -3.76635456} | ||
| 206 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 207 | + m_Children: [] | ||
| 208 | + m_Father: {fileID: 1626625711} | ||
| 209 | + m_RootOrder: 3 | ||
| 210 | +--- !u!4 &15 | ||
| 211 | +Transform: | ||
| 212 | + m_ObjectHideFlags: 0 | ||
| 213 | + m_PrefabParentObject: {fileID: 0} | ||
| 214 | + m_PrefabInternal: {fileID: 0} | ||
| 215 | + m_GameObject: {fileID: 8} | ||
| 216 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 217 | + m_LocalPosition: {x: 0, y: 0, z: 2.50111914} | ||
| 218 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 219 | + m_Children: [] | ||
| 220 | + m_Father: {fileID: 1626625711} | ||
| 221 | + m_RootOrder: 1 | ||
| 222 | +--- !u!4 &16 | ||
| 223 | +Transform: | ||
| 224 | + m_ObjectHideFlags: 0 | ||
| 225 | + m_PrefabParentObject: {fileID: 0} | ||
| 226 | + m_PrefabInternal: {fileID: 0} | ||
| 227 | + m_GameObject: {fileID: 9} | ||
| 228 | + m_LocalRotation: {x: 0, y: .916540205, z: 0, w: .399942636} | ||
| 229 | + m_LocalPosition: {x: -2.35327101, y: .448548317, z: -.598756909} | ||
| 230 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 231 | + m_Children: [] | ||
| 232 | + m_Father: {fileID: 1626625711} | ||
| 233 | + m_RootOrder: 7 | ||
| 234 | +--- !u!4 &17 | ||
| 235 | +Transform: | ||
| 236 | + m_ObjectHideFlags: 0 | ||
| 237 | + m_PrefabParentObject: {fileID: 0} | ||
| 238 | + m_PrefabInternal: {fileID: 0} | ||
| 239 | + m_GameObject: {fileID: 10} | ||
| 240 | + m_LocalRotation: {x: -.262155831, y: -.542037725, z: .245900586, w: .759606719} | ||
| 241 | + m_LocalPosition: {x: -1.39783788, y: 1.27063704, z: .516030073} | ||
| 242 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 243 | + m_Children: [] | ||
| 244 | + m_Father: {fileID: 1626625711} | ||
| 245 | + m_RootOrder: 0 | ||
| 246 | +--- !u!4 &18 | ||
| 247 | +Transform: | ||
| 248 | + m_ObjectHideFlags: 0 | ||
| 249 | + m_PrefabParentObject: {fileID: 0} | ||
| 250 | + m_PrefabInternal: {fileID: 0} | ||
| 251 | + m_GameObject: {fileID: 11} | ||
| 252 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 253 | + m_LocalPosition: {x: 0, y: .767785549, z: -3} | ||
| 254 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 255 | + m_Children: [] | ||
| 256 | + m_Father: {fileID: 0} | ||
| 257 | + m_RootOrder: 1 | ||
| 258 | +--- !u!20 &19 | ||
| 259 | +Camera: | ||
| 260 | + m_ObjectHideFlags: 0 | ||
| 261 | + m_PrefabParentObject: {fileID: 0} | ||
| 262 | + m_PrefabInternal: {fileID: 0} | ||
| 263 | + m_GameObject: {fileID: 11} | ||
| 264 | + m_Enabled: 1 | ||
| 265 | + serializedVersion: 2 | ||
| 266 | + m_ClearFlags: 2 | ||
| 267 | + m_BackGroundColor: {r: .133214533, g: .156864956, b: .194029868, a: .0196078438} | ||
| 268 | + m_NormalizedViewPortRect: | ||
| 269 | + serializedVersion: 2 | ||
| 270 | + x: 0 | ||
| 271 | + y: 0 | ||
| 272 | + width: 1 | ||
| 273 | + height: 1 | ||
| 274 | + near clip plane: .300000012 | ||
| 275 | + far clip plane: 1000 | ||
| 276 | + field of view: 60 | ||
| 277 | + orthographic: 0 | ||
| 278 | + orthographic size: 100 | ||
| 279 | + m_Depth: 0 | ||
| 280 | + m_CullingMask: | ||
| 281 | + serializedVersion: 2 | ||
| 282 | + m_Bits: 4294967295 | ||
| 283 | + m_RenderingPath: -1 | ||
| 284 | + m_TargetTexture: {fileID: 0} | ||
| 285 | + m_TargetDisplay: 0 | ||
| 286 | + m_HDR: 0 | ||
| 287 | + m_OcclusionCulling: 0 | ||
| 288 | + m_StereoConvergence: 10 | ||
| 289 | + m_StereoSeparation: .0219999999 | ||
| 290 | +--- !u!23 &20 | ||
| 291 | +Renderer: | ||
| 292 | + m_ObjectHideFlags: 0 | ||
| 293 | + m_PrefabParentObject: {fileID: 0} | ||
| 294 | + m_PrefabInternal: {fileID: 0} | ||
| 295 | + m_GameObject: {fileID: 5} | ||
| 296 | + m_Enabled: 1 | ||
| 297 | + m_CastShadows: 1 | ||
| 298 | + m_ReceiveShadows: 1 | ||
| 299 | + m_LightmapIndex: 255 | ||
| 300 | + m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} | ||
| 301 | + m_Materials: | ||
| 302 | + - {fileID: 2100000, guid: 0230324d8fc49374c8e88bc7bfd21f49, type: 2} | ||
| 303 | + m_SubsetIndices: | ||
| 304 | + m_StaticBatchRoot: {fileID: 0} | ||
| 305 | + m_UseLightProbes: 0 | ||
| 306 | + m_LightProbeAnchor: {fileID: 0} | ||
| 307 | + m_ScaleInLightmap: 1 | ||
| 308 | + m_SortingLayerID: 0 | ||
| 309 | + m_SortingOrder: 0 | ||
| 310 | +--- !u!23 &22 | ||
| 311 | +Renderer: | ||
| 312 | + m_ObjectHideFlags: 0 | ||
| 313 | + m_PrefabParentObject: {fileID: 0} | ||
| 314 | + m_PrefabInternal: {fileID: 0} | ||
| 315 | + m_GameObject: {fileID: 8} | ||
| 316 | + m_Enabled: 1 | ||
| 317 | + m_CastShadows: 1 | ||
| 318 | + m_ReceiveShadows: 1 | ||
| 319 | + m_LightmapIndex: 255 | ||
| 320 | + m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} | ||
| 321 | + m_Materials: | ||
| 322 | + - {fileID: 2100000, guid: 01779df11e1ccda45a756158a5404329, type: 2} | ||
| 323 | + m_SubsetIndices: | ||
| 324 | + m_StaticBatchRoot: {fileID: 0} | ||
| 325 | + m_UseLightProbes: 0 | ||
| 326 | + m_LightProbeAnchor: {fileID: 0} | ||
| 327 | + m_ScaleInLightmap: 1 | ||
| 328 | + m_SortingLayerID: 0 | ||
| 329 | + m_SortingOrder: 0 | ||
| 330 | +--- !u!23 &23 | ||
| 331 | +Renderer: | ||
| 332 | + m_ObjectHideFlags: 0 | ||
| 333 | + m_PrefabParentObject: {fileID: 0} | ||
| 334 | + m_PrefabInternal: {fileID: 0} | ||
| 335 | + m_GameObject: {fileID: 9} | ||
| 336 | + m_Enabled: 1 | ||
| 337 | + m_CastShadows: 1 | ||
| 338 | + m_ReceiveShadows: 1 | ||
| 339 | + m_LightmapIndex: 255 | ||
| 340 | + m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} | ||
| 341 | + m_Materials: | ||
| 342 | + - {fileID: 2100000, guid: 01779df11e1ccda45a756158a5404329, type: 2} | ||
| 343 | + m_SubsetIndices: | ||
| 344 | + m_StaticBatchRoot: {fileID: 0} | ||
| 345 | + m_UseLightProbes: 0 | ||
| 346 | + m_LightProbeAnchor: {fileID: 0} | ||
| 347 | + m_ScaleInLightmap: 1 | ||
| 348 | + m_SortingLayerID: 0 | ||
| 349 | + m_SortingOrder: 0 | ||
| 350 | +--- !u!23 &24 | ||
| 351 | +Renderer: | ||
| 352 | + m_ObjectHideFlags: 0 | ||
| 353 | + m_PrefabParentObject: {fileID: 0} | ||
| 354 | + m_PrefabInternal: {fileID: 0} | ||
| 355 | + m_GameObject: {fileID: 10} | ||
| 356 | + m_Enabled: 1 | ||
| 357 | + m_CastShadows: 1 | ||
| 358 | + m_ReceiveShadows: 1 | ||
| 359 | + m_LightmapIndex: 255 | ||
| 360 | + m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} | ||
| 361 | + m_Materials: | ||
| 362 | + - {fileID: 2100000, guid: 4709c038b4aff104da37cb49fbc4c28c, type: 2} | ||
| 363 | + m_SubsetIndices: | ||
| 364 | + m_StaticBatchRoot: {fileID: 0} | ||
| 365 | + m_UseLightProbes: 0 | ||
| 366 | + m_LightProbeAnchor: {fileID: 0} | ||
| 367 | + m_ScaleInLightmap: 1 | ||
| 368 | + m_SortingLayerID: 0 | ||
| 369 | + m_SortingOrder: 0 | ||
| 370 | +--- !u!33 &25 | ||
| 371 | +MeshFilter: | ||
| 372 | + m_ObjectHideFlags: 0 | ||
| 373 | + m_PrefabParentObject: {fileID: 0} | ||
| 374 | + m_PrefabInternal: {fileID: 0} | ||
| 375 | + m_GameObject: {fileID: 5} | ||
| 376 | + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} | ||
| 377 | +--- !u!33 &27 | ||
| 378 | +MeshFilter: | ||
| 379 | + m_ObjectHideFlags: 0 | ||
| 380 | + m_PrefabParentObject: {fileID: 0} | ||
| 381 | + m_PrefabInternal: {fileID: 0} | ||
| 382 | + m_GameObject: {fileID: 8} | ||
| 383 | + m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} | ||
| 384 | +--- !u!33 &28 | ||
| 385 | +MeshFilter: | ||
| 386 | + m_ObjectHideFlags: 0 | ||
| 387 | + m_PrefabParentObject: {fileID: 0} | ||
| 388 | + m_PrefabInternal: {fileID: 0} | ||
| 389 | + m_GameObject: {fileID: 9} | ||
| 390 | + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} | ||
| 391 | +--- !u!33 &29 | ||
| 392 | +MeshFilter: | ||
| 393 | + m_ObjectHideFlags: 0 | ||
| 394 | + m_PrefabParentObject: {fileID: 0} | ||
| 395 | + m_PrefabInternal: {fileID: 0} | ||
| 396 | + m_GameObject: {fileID: 10} | ||
| 397 | + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} | ||
| 398 | +--- !u!64 &31 | ||
| 399 | +MeshCollider: | ||
| 400 | + m_ObjectHideFlags: 0 | ||
| 401 | + m_PrefabParentObject: {fileID: 0} | ||
| 402 | + m_PrefabInternal: {fileID: 0} | ||
| 403 | + m_GameObject: {fileID: 8} | ||
| 404 | + m_Material: {fileID: 0} | ||
| 405 | + m_IsTrigger: 0 | ||
| 406 | + m_Enabled: 1 | ||
| 407 | + serializedVersion: 2 | ||
| 408 | + m_SmoothSphereCollisions: 0 | ||
| 409 | + m_Convex: 0 | ||
| 410 | + m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} | ||
| 411 | +--- !u!65 &32 | ||
| 412 | +BoxCollider: | ||
| 413 | + m_ObjectHideFlags: 0 | ||
| 414 | + m_PrefabParentObject: {fileID: 0} | ||
| 415 | + m_PrefabInternal: {fileID: 0} | ||
| 416 | + m_GameObject: {fileID: 10} | ||
| 417 | + m_Material: {fileID: 0} | ||
| 418 | + m_IsTrigger: 0 | ||
| 419 | + m_Enabled: 1 | ||
| 420 | + serializedVersion: 2 | ||
| 421 | + m_Size: {x: 1, y: 1, z: 1} | ||
| 422 | + m_Center: {x: 0, y: 0, z: 0} | ||
| 423 | +--- !u!92 &33 | ||
| 424 | +Behaviour: | ||
| 425 | + m_ObjectHideFlags: 0 | ||
| 426 | + m_PrefabParentObject: {fileID: 0} | ||
| 427 | + m_PrefabInternal: {fileID: 0} | ||
| 428 | + m_GameObject: {fileID: 11} | ||
| 429 | + m_Enabled: 1 | ||
| 430 | +--- !u!108 &34 | ||
| 431 | +Light: | ||
| 432 | + m_ObjectHideFlags: 0 | ||
| 433 | + m_PrefabParentObject: {fileID: 0} | ||
| 434 | + m_PrefabInternal: {fileID: 0} | ||
| 435 | + m_GameObject: {fileID: 7} | ||
| 436 | + m_Enabled: 1 | ||
| 437 | + serializedVersion: 3 | ||
| 438 | + m_Type: 2 | ||
| 439 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 440 | + m_Intensity: .5 | ||
| 441 | + m_Range: 10 | ||
| 442 | + m_SpotAngle: 30 | ||
| 443 | + m_CookieSize: 10 | ||
| 444 | + m_Shadows: | ||
| 445 | + m_Type: 0 | ||
| 446 | + m_Resolution: -1 | ||
| 447 | + m_Strength: 1 | ||
| 448 | + m_Bias: .0500000007 | ||
| 449 | + m_Softness: 4 | ||
| 450 | + m_SoftnessFade: 1 | ||
| 451 | + m_Cookie: {fileID: 0} | ||
| 452 | + m_DrawHalo: 0 | ||
| 453 | + m_ActuallyLightmapped: 0 | ||
| 454 | + m_Flare: {fileID: 0} | ||
| 455 | + m_RenderMode: 0 | ||
| 456 | + m_CullingMask: | ||
| 457 | + serializedVersion: 2 | ||
| 458 | + m_Bits: 4294967295 | ||
| 459 | + m_Lightmapping: 1 | ||
| 460 | + m_ShadowSamples: 1 | ||
| 461 | + m_ShadowRadius: 0 | ||
| 462 | + m_ShadowAngle: 0 | ||
| 463 | + m_IndirectIntensity: 1 | ||
| 464 | + m_AreaSize: {x: 1, y: 1} | ||
| 465 | +--- !u!135 &35 | ||
| 466 | +SphereCollider: | ||
| 467 | + m_ObjectHideFlags: 0 | ||
| 468 | + m_PrefabParentObject: {fileID: 0} | ||
| 469 | + m_PrefabInternal: {fileID: 0} | ||
| 470 | + m_GameObject: {fileID: 5} | ||
| 471 | + m_Material: {fileID: 0} | ||
| 472 | + m_IsTrigger: 0 | ||
| 473 | + m_Enabled: 1 | ||
| 474 | + serializedVersion: 2 | ||
| 475 | + m_Radius: .500000119 | ||
| 476 | + m_Center: {x: 5.96046448e-08, y: 0, z: -8.94069672e-08} | ||
| 477 | +--- !u!135 &36 | ||
| 478 | +SphereCollider: | ||
| 479 | + m_ObjectHideFlags: 0 | ||
| 480 | + m_PrefabParentObject: {fileID: 0} | ||
| 481 | + m_PrefabInternal: {fileID: 0} | ||
| 482 | + m_GameObject: {fileID: 9} | ||
| 483 | + m_Material: {fileID: 0} | ||
| 484 | + m_IsTrigger: 0 | ||
| 485 | + m_Enabled: 1 | ||
| 486 | + serializedVersion: 2 | ||
| 487 | + m_Radius: .500000119 | ||
| 488 | + m_Center: {x: 5.96046448e-08, y: 0, z: -8.94069672e-08} | ||
| 489 | +--- !u!114 &37 | ||
| 490 | +MonoBehaviour: | ||
| 491 | + m_ObjectHideFlags: 0 | ||
| 492 | + m_PrefabParentObject: {fileID: 0} | ||
| 493 | + m_PrefabInternal: {fileID: 0} | ||
| 494 | + m_GameObject: {fileID: 11} | ||
| 495 | + m_Enabled: 1 | ||
| 496 | + m_EditorHideFlags: 0 | ||
| 497 | + m_Script: {fileID: 11500000, guid: 8225388bc511e1f40be2e753ddefe282, type: 3} | ||
| 498 | + m_Name: | ||
| 499 | + m_EditorClassIdentifier: | ||
| 500 | + _folder: | ||
| 501 | + _filename: sample-1920x1024-divx.avi | ||
| 502 | + _useStreamingAssetsPath: 1 | ||
| 503 | + _loop: 1 | ||
| 504 | + _colourFormat: 2 | ||
| 505 | + _allowAudio: 1 | ||
| 506 | + _useAudioDelay: 0 | ||
| 507 | + _useAudioMixer: 0 | ||
| 508 | + _useDisplaySync: 0 | ||
| 509 | + _loadOnStart: 1 | ||
| 510 | + _playOnStart: 1 | ||
| 511 | + _editorPreview: 0 | ||
| 512 | + _ignoreFlips: 1 | ||
| 513 | + _volume: .800000012 | ||
| 514 | + _audioBalance: 0 | ||
| 515 | + _textureFilterMode: 1 | ||
| 516 | + _textureWrapMode: 1 | ||
| 517 | + _clips: [] | ||
| 518 | +--- !u!114 &38 | ||
| 519 | +MonoBehaviour: | ||
| 520 | + m_ObjectHideFlags: 0 | ||
| 521 | + m_PrefabParentObject: {fileID: 0} | ||
| 522 | + m_PrefabInternal: {fileID: 0} | ||
| 523 | + m_GameObject: {fileID: 11} | ||
| 524 | + m_Enabled: 1 | ||
| 525 | + m_EditorHideFlags: 0 | ||
| 526 | + m_Script: {fileID: 11500000, guid: 6c54b4fa2340b3d45ac4dc123ac53600, type: 3} | ||
| 527 | + m_Name: | ||
| 528 | + m_EditorClassIdentifier: | ||
| 529 | + _material: {fileID: 2100000, guid: 4709c038b4aff104da37cb49fbc4c28c, type: 2} | ||
| 530 | + _textureName: | ||
| 531 | + _movie: {fileID: 37} | ||
| 532 | + _defaultTexture: {fileID: 0} | ||
| 533 | +--- !u!114 &39 | ||
| 534 | +MonoBehaviour: | ||
| 535 | + m_ObjectHideFlags: 0 | ||
| 536 | + m_PrefabParentObject: {fileID: 0} | ||
| 537 | + m_PrefabInternal: {fileID: 0} | ||
| 538 | + m_GameObject: {fileID: 11} | ||
| 539 | + m_Enabled: 1 | ||
| 540 | + m_EditorHideFlags: 0 | ||
| 541 | + m_Script: {fileID: 11500000, guid: 6c54b4fa2340b3d45ac4dc123ac53600, type: 3} | ||
| 542 | + m_Name: | ||
| 543 | + m_EditorClassIdentifier: | ||
| 544 | + _material: {fileID: 2100000, guid: 0230324d8fc49374c8e88bc7bfd21f49, type: 2} | ||
| 545 | + _textureName: | ||
| 546 | + _movie: {fileID: 37} | ||
| 547 | + _defaultTexture: {fileID: 0} | ||
| 548 | +--- !u!114 &41 | ||
| 549 | +MonoBehaviour: | ||
| 550 | + m_ObjectHideFlags: 0 | ||
| 551 | + m_PrefabParentObject: {fileID: 0} | ||
| 552 | + m_PrefabInternal: {fileID: 0} | ||
| 553 | + m_GameObject: {fileID: 11} | ||
| 554 | + m_Enabled: 1 | ||
| 555 | + m_EditorHideFlags: 0 | ||
| 556 | + m_Script: {fileID: 11500000, guid: 6c54b4fa2340b3d45ac4dc123ac53600, type: 3} | ||
| 557 | + m_Name: | ||
| 558 | + m_EditorClassIdentifier: | ||
| 559 | + _material: {fileID: 2100000, guid: b41bea1b7b36cd644a8146d6890d8d1a, type: 2} | ||
| 560 | + _textureName: _ShadowTex | ||
| 561 | + _movie: {fileID: 37} | ||
| 562 | + _defaultTexture: {fileID: 0} | ||
| 563 | +--- !u!114 &43 | ||
| 564 | +MonoBehaviour: | ||
| 565 | + m_ObjectHideFlags: 0 | ||
| 566 | + m_PrefabParentObject: {fileID: 0} | ||
| 567 | + m_PrefabInternal: {fileID: 0} | ||
| 568 | + m_GameObject: {fileID: 11} | ||
| 569 | + m_Enabled: 1 | ||
| 570 | + m_EditorHideFlags: 0 | ||
| 571 | + m_Script: {fileID: 11500000, guid: 2ec198953ee163546b88a2037afc374a, type: 3} | ||
| 572 | + m_Name: | ||
| 573 | + m_EditorClassIdentifier: | ||
| 574 | + _skin: {fileID: 11400000, guid: eb821627fb1a0c044a6fd7a6dabe3147, type: 2} | ||
| 575 | + _movie: {fileID: 37} | ||
| 576 | +--- !u!196 &44 | ||
| 577 | +NavMeshSettings: | ||
| 578 | + m_ObjectHideFlags: 0 | ||
| 579 | + m_BuildSettings: | ||
| 580 | + agentRadius: .5 | ||
| 581 | + agentHeight: 2 | ||
| 582 | + agentSlope: 45 | ||
| 583 | + agentClimb: .400000006 | ||
| 584 | + ledgeDropHeight: 0 | ||
| 585 | + maxJumpAcrossDistance: 0 | ||
| 586 | + accuratePlacement: 0 | ||
| 587 | + minRegionArea: 2 | ||
| 588 | + widthInaccuracy: 16.666666 | ||
| 589 | + heightInaccuracy: 10 | ||
| 590 | + m_NavMesh: {fileID: 0} | ||
| 591 | +--- !u!1 &16293741 | ||
| 592 | +GameObject: | ||
| 593 | + m_ObjectHideFlags: 0 | ||
| 594 | + m_PrefabParentObject: {fileID: 0} | ||
| 595 | + m_PrefabInternal: {fileID: 0} | ||
| 596 | + serializedVersion: 4 | ||
| 597 | + m_Component: | ||
| 598 | + - 4: {fileID: 16293742} | ||
| 599 | + - 33: {fileID: 16293744} | ||
| 600 | + - 64: {fileID: 16293745} | ||
| 601 | + - 23: {fileID: 16293743} | ||
| 602 | + m_Layer: 0 | ||
| 603 | + m_Name: Plane | ||
| 604 | + m_TagString: Untagged | ||
| 605 | + m_Icon: {fileID: 0} | ||
| 606 | + m_NavMeshLayer: 0 | ||
| 607 | + m_StaticEditorFlags: 0 | ||
| 608 | + m_IsActive: 1 | ||
| 609 | +--- !u!4 &16293742 | ||
| 610 | +Transform: | ||
| 611 | + m_ObjectHideFlags: 0 | ||
| 612 | + m_PrefabParentObject: {fileID: 0} | ||
| 613 | + m_PrefabInternal: {fileID: 0} | ||
| 614 | + m_GameObject: {fileID: 16293741} | ||
| 615 | + m_LocalRotation: {x: .186325639, y: .682116389, z: -.682116389, w: .186325595} | ||
| 616 | + m_LocalPosition: {x: .447092533, y: .46005705, z: -.801663399} | ||
| 617 | + m_LocalScale: {x: .213168383, y: .213168383, z: .0968430266} | ||
| 618 | + m_Children: [] | ||
| 619 | + m_Father: {fileID: 1626625711} | ||
| 620 | + m_RootOrder: 2 | ||
| 621 | +--- !u!23 &16293743 | ||
| 622 | +Renderer: | ||
| 623 | + m_ObjectHideFlags: 0 | ||
| 624 | + m_PrefabParentObject: {fileID: 0} | ||
| 625 | + m_PrefabInternal: {fileID: 0} | ||
| 626 | + m_GameObject: {fileID: 16293741} | ||
| 627 | + m_Enabled: 1 | ||
| 628 | + m_CastShadows: 1 | ||
| 629 | + m_ReceiveShadows: 1 | ||
| 630 | + m_LightmapIndex: 255 | ||
| 631 | + m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} | ||
| 632 | + m_Materials: | ||
| 633 | + - {fileID: 2100000, guid: 4709c038b4aff104da37cb49fbc4c28c, type: 2} | ||
| 634 | + m_SubsetIndices: | ||
| 635 | + m_StaticBatchRoot: {fileID: 0} | ||
| 636 | + m_UseLightProbes: 0 | ||
| 637 | + m_LightProbeAnchor: {fileID: 0} | ||
| 638 | + m_ScaleInLightmap: 1 | ||
| 639 | + m_SortingLayerID: 0 | ||
| 640 | + m_SortingOrder: 0 | ||
| 641 | +--- !u!33 &16293744 | ||
| 642 | +MeshFilter: | ||
| 643 | + m_ObjectHideFlags: 0 | ||
| 644 | + m_PrefabParentObject: {fileID: 0} | ||
| 645 | + m_PrefabInternal: {fileID: 0} | ||
| 646 | + m_GameObject: {fileID: 16293741} | ||
| 647 | + m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} | ||
| 648 | +--- !u!64 &16293745 | ||
| 649 | +MeshCollider: | ||
| 650 | + m_ObjectHideFlags: 0 | ||
| 651 | + m_PrefabParentObject: {fileID: 0} | ||
| 652 | + m_PrefabInternal: {fileID: 0} | ||
| 653 | + m_GameObject: {fileID: 16293741} | ||
| 654 | + m_Material: {fileID: 0} | ||
| 655 | + m_IsTrigger: 0 | ||
| 656 | + m_Enabled: 1 | ||
| 657 | + serializedVersion: 2 | ||
| 658 | + m_SmoothSphereCollisions: 0 | ||
| 659 | + m_Convex: 0 | ||
| 660 | + m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} | ||
| 661 | +--- !u!1 &112409961 | ||
| 662 | +GameObject: | ||
| 663 | + m_ObjectHideFlags: 0 | ||
| 664 | + m_PrefabParentObject: {fileID: 0} | ||
| 665 | + m_PrefabInternal: {fileID: 0} | ||
| 666 | + serializedVersion: 4 | ||
| 667 | + m_Component: | ||
| 668 | + - 4: {fileID: 112409962} | ||
| 669 | + - 119: {fileID: 112409964} | ||
| 670 | + m_Layer: 0 | ||
| 671 | + m_Name: Projected | ||
| 672 | + m_TagString: Untagged | ||
| 673 | + m_Icon: {fileID: 0} | ||
| 674 | + m_NavMeshLayer: 0 | ||
| 675 | + m_StaticEditorFlags: 0 | ||
| 676 | + m_IsActive: 1 | ||
| 677 | +--- !u!4 &112409962 | ||
| 678 | +Transform: | ||
| 679 | + m_ObjectHideFlags: 0 | ||
| 680 | + m_PrefabParentObject: {fileID: 0} | ||
| 681 | + m_PrefabInternal: {fileID: 0} | ||
| 682 | + m_GameObject: {fileID: 112409961} | ||
| 683 | + m_LocalRotation: {x: -.436649501, y: .254404277, z: -.130224884, w: -.853028238} | ||
| 684 | + m_LocalPosition: {x: 0, y: 4.75033998, z: -2.50130796} | ||
| 685 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 686 | + m_Children: [] | ||
| 687 | + m_Father: {fileID: 1626625711} | ||
| 688 | + m_RootOrder: 5 | ||
| 689 | +--- !u!119 &112409964 | ||
| 690 | +Projector: | ||
| 691 | + m_ObjectHideFlags: 0 | ||
| 692 | + m_PrefabParentObject: {fileID: 0} | ||
| 693 | + m_PrefabInternal: {fileID: 0} | ||
| 694 | + m_GameObject: {fileID: 112409961} | ||
| 695 | + m_Enabled: 1 | ||
| 696 | + serializedVersion: 2 | ||
| 697 | + m_NearClipPlane: .100000001 | ||
| 698 | + m_FarClipPlane: 100 | ||
| 699 | + m_FieldOfView: 60 | ||
| 700 | + m_AspectRatio: 1 | ||
| 701 | + m_Orthographic: 0 | ||
| 702 | + m_OrthographicSize: 10 | ||
| 703 | + m_Material: {fileID: 2100000, guid: b41bea1b7b36cd644a8146d6890d8d1a, type: 2} | ||
| 704 | + m_IgnoreLayers: | ||
| 705 | + serializedVersion: 2 | ||
| 706 | + m_Bits: 0 | ||
| 707 | +--- !u!1 &1626625710 | ||
| 708 | +GameObject: | ||
| 709 | + m_ObjectHideFlags: 0 | ||
| 710 | + m_PrefabParentObject: {fileID: 0} | ||
| 711 | + m_PrefabInternal: {fileID: 0} | ||
| 712 | + serializedVersion: 4 | ||
| 713 | + m_Component: | ||
| 714 | + - 4: {fileID: 1626625711} | ||
| 715 | + m_Layer: 0 | ||
| 716 | + m_Name: Scene | ||
| 717 | + m_TagString: Untagged | ||
| 718 | + m_Icon: {fileID: 0} | ||
| 719 | + m_NavMeshLayer: 0 | ||
| 720 | + m_StaticEditorFlags: 0 | ||
| 721 | + m_IsActive: 1 | ||
| 722 | +--- !u!4 &1626625711 | ||
| 723 | +Transform: | ||
| 724 | + m_ObjectHideFlags: 0 | ||
| 725 | + m_PrefabParentObject: {fileID: 0} | ||
| 726 | + m_PrefabInternal: {fileID: 0} | ||
| 727 | + m_GameObject: {fileID: 1626625710} | ||
| 728 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 729 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 730 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 731 | + m_Children: | ||
| 732 | + - {fileID: 17} | ||
| 733 | + - {fileID: 15} | ||
| 734 | + - {fileID: 16293742} | ||
| 735 | + - {fileID: 14} | ||
| 736 | + - {fileID: 1812930294} | ||
| 737 | + - {fileID: 112409962} | ||
| 738 | + - {fileID: 12} | ||
| 739 | + - {fileID: 16} | ||
| 740 | + m_Father: {fileID: 0} | ||
| 741 | + m_RootOrder: 2 | ||
| 742 | +--- !u!1 &1812930293 | ||
| 743 | +GameObject: | ||
| 744 | + m_ObjectHideFlags: 0 | ||
| 745 | + m_PrefabParentObject: {fileID: 0} | ||
| 746 | + m_PrefabInternal: {fileID: 0} | ||
| 747 | + serializedVersion: 4 | ||
| 748 | + m_Component: | ||
| 749 | + - 4: {fileID: 1812930294} | ||
| 750 | + - 108: {fileID: 1812930295} | ||
| 751 | + m_Layer: 0 | ||
| 752 | + m_Name: Dir light | ||
| 753 | + m_TagString: Untagged | ||
| 754 | + m_Icon: {fileID: 0} | ||
| 755 | + m_NavMeshLayer: 0 | ||
| 756 | + m_StaticEditorFlags: 0 | ||
| 757 | + m_IsActive: 1 | ||
| 758 | +--- !u!4 &1812930294 | ||
| 759 | +Transform: | ||
| 760 | + m_ObjectHideFlags: 0 | ||
| 761 | + m_PrefabParentObject: {fileID: 0} | ||
| 762 | + m_PrefabInternal: {fileID: 0} | ||
| 763 | + m_GameObject: {fileID: 1812930293} | ||
| 764 | + m_LocalRotation: {x: .220532462, y: -.137178019, z: -.253997236, w: .931682944} | ||
| 765 | + m_LocalPosition: {x: 0, y: 2.74500704, z: -3.76635504} | ||
| 766 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 767 | + m_Children: [] | ||
| 768 | + m_Father: {fileID: 1626625711} | ||
| 769 | + m_RootOrder: 4 | ||
| 770 | +--- !u!108 &1812930295 | ||
| 771 | +Light: | ||
| 772 | + m_ObjectHideFlags: 0 | ||
| 773 | + m_PrefabParentObject: {fileID: 0} | ||
| 774 | + m_PrefabInternal: {fileID: 0} | ||
| 775 | + m_GameObject: {fileID: 1812930293} | ||
| 776 | + m_Enabled: 1 | ||
| 777 | + serializedVersion: 3 | ||
| 778 | + m_Type: 1 | ||
| 779 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 780 | + m_Intensity: .209999993 | ||
| 781 | + m_Range: 10 | ||
| 782 | + m_SpotAngle: 30 | ||
| 783 | + m_CookieSize: 10 | ||
| 784 | + m_Shadows: | ||
| 785 | + m_Type: 1 | ||
| 786 | + m_Resolution: -1 | ||
| 787 | + m_Strength: 1 | ||
| 788 | + m_Bias: .0500000007 | ||
| 789 | + m_Softness: 4 | ||
| 790 | + m_SoftnessFade: 1 | ||
| 791 | + m_Cookie: {fileID: 0} | ||
| 792 | + m_DrawHalo: 0 | ||
| 793 | + m_ActuallyLightmapped: 0 | ||
| 794 | + m_Flare: {fileID: 0} | ||
| 795 | + m_RenderMode: 0 | ||
| 796 | + m_CullingMask: | ||
| 797 | + serializedVersion: 2 | ||
| 798 | + m_Bits: 4294967295 | ||
| 799 | + m_Lightmapping: 1 | ||
| 800 | + m_ShadowSamples: 1 | ||
| 801 | + m_ShadowRadius: 0 | ||
| 802 | + m_ShadowAngle: 0 | ||
| 803 | + m_IndirectIntensity: 1 | ||
| 804 | + m_AreaSize: {x: 1, y: 1} | ||
| 805 | +--- !u!1 &1962663636 | ||
| 806 | +GameObject: | ||
| 807 | + m_ObjectHideFlags: 0 | ||
| 808 | + m_PrefabParentObject: {fileID: 0} | ||
| 809 | + m_PrefabInternal: {fileID: 0} | ||
| 810 | + serializedVersion: 4 | ||
| 811 | + m_Component: | ||
| 812 | + - 4: {fileID: 1962663637} | ||
| 813 | + - 114: {fileID: 1962663638} | ||
| 814 | + m_Layer: 0 | ||
| 815 | + m_Name: DemoInfo | ||
| 816 | + m_TagString: Untagged | ||
| 817 | + m_Icon: {fileID: 0} | ||
| 818 | + m_NavMeshLayer: 0 | ||
| 819 | + m_StaticEditorFlags: 0 | ||
| 820 | + m_IsActive: 1 | ||
| 821 | +--- !u!4 &1962663637 | ||
| 822 | +Transform: | ||
| 823 | + m_ObjectHideFlags: 0 | ||
| 824 | + m_PrefabParentObject: {fileID: 0} | ||
| 825 | + m_PrefabInternal: {fileID: 0} | ||
| 826 | + m_GameObject: {fileID: 1962663636} | ||
| 827 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 828 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 829 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 830 | + m_Children: [] | ||
| 831 | + m_Father: {fileID: 0} | ||
| 832 | + m_RootOrder: 0 | ||
| 833 | +--- !u!114 &1962663638 | ||
| 834 | +MonoBehaviour: | ||
| 835 | + m_ObjectHideFlags: 0 | ||
| 836 | + m_PrefabParentObject: {fileID: 0} | ||
| 837 | + m_PrefabInternal: {fileID: 0} | ||
| 838 | + m_GameObject: {fileID: 1962663636} | ||
| 839 | + m_Enabled: 1 | ||
| 840 | + m_EditorHideFlags: 0 | ||
| 841 | + m_Script: {fileID: 11500000, guid: 10fa3ce0e1c037e449490a4f9ca3bf99, type: 3} | ||
| 842 | + m_Name: | ||
| 843 | + m_EditorClassIdentifier: | ||
| 844 | + _title: Material Mapping | ||
| 845 | + _description: This demo shows the video being mapped to 3D objects by using the | ||
| 846 | + AVProWindowsMediaMaterialApply component to set the texture properies of materials. |
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!21 &2100000 | ||
| 4 | +Material: | ||
| 5 | + serializedVersion: 3 | ||
| 6 | + m_ObjectHideFlags: 0 | ||
| 7 | + m_PrefabParentObject: {fileID: 0} | ||
| 8 | + m_PrefabInternal: {fileID: 0} | ||
| 9 | + m_Name: Checker | ||
| 10 | + m_Shader: {fileID: 7, guid: 0000000000000000e000000000000000, type: 0} | ||
| 11 | + m_SavedProperties: | ||
| 12 | + serializedVersion: 2 | ||
| 13 | + m_TexEnvs: | ||
| 14 | + data: | ||
| 15 | + first: | ||
| 16 | + name: _MainTex | ||
| 17 | + second: | ||
| 18 | + m_Texture: {fileID: 2800000, guid: 2328c4cf9521e554ba76b3ba4b59fd88, type: 1} | ||
| 19 | + m_Scale: {x: 10, y: 10} | ||
| 20 | + m_Offset: {x: 0, y: 0} | ||
| 21 | + m_Floats: {} | ||
| 22 | + m_Colors: | ||
| 23 | + data: | ||
| 24 | + first: | ||
| 25 | + name: _Color | ||
| 26 | + second: {r: 1, g: 1, b: 1, a: 1} |
160 Bytes
| 1 | +fileFormatVersion: 2 | ||
| 2 | +guid: 2328c4cf9521e554ba76b3ba4b59fd88 | ||
| 3 | +TextureImporter: | ||
| 4 | + fileIDToRecycleName: {} | ||
| 5 | + serializedVersion: 2 | ||
| 6 | + mipmaps: | ||
| 7 | + mipMapMode: 0 | ||
| 8 | + enableMipMap: 1 | ||
| 9 | + linearTexture: 0 | ||
| 10 | + correctGamma: 0 | ||
| 11 | + fadeOut: 0 | ||
| 12 | + borderMipMap: 0 | ||
| 13 | + mipMapFadeDistanceStart: 1 | ||
| 14 | + mipMapFadeDistanceEnd: 3 | ||
| 15 | + bumpmap: | ||
| 16 | + convertToNormalMap: 0 | ||
| 17 | + externalNormalMap: 0 | ||
| 18 | + heightScale: 0.25 | ||
| 19 | + normalMapFilter: 0 | ||
| 20 | + isReadable: 0 | ||
| 21 | + grayScaleToAlpha: 0 | ||
| 22 | + generateCubemap: 0 | ||
| 23 | + cubemapConvolution: 0 | ||
| 24 | + cubemapConvolutionSteps: 7 | ||
| 25 | + cubemapConvolutionExponent: 1.5 | ||
| 26 | + seamlessCubemap: 0 | ||
| 27 | + textureFormat: -3 | ||
| 28 | + maxTextureSize: 1024 | ||
| 29 | + textureSettings: | ||
| 30 | + filterMode: 0 | ||
| 31 | + aniso: -1 | ||
| 32 | + mipBias: -1 | ||
| 33 | + wrapMode: -1 | ||
| 34 | + nPOTScale: 1 | ||
| 35 | + lightmap: 0 | ||
| 36 | + rGBM: 0 | ||
| 37 | + compressionQuality: 50 | ||
| 38 | + allowsAlphaSplitting: 0 | ||
| 39 | + spriteMode: 0 | ||
| 40 | + spriteExtrude: 1 | ||
| 41 | + spriteMeshType: 1 | ||
| 42 | + alignment: 0 | ||
| 43 | + spritePivot: {x: 0.5, y: 0.5} | ||
| 44 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
| 45 | + spritePixelsToUnits: 100 | ||
| 46 | + alphaIsTransparency: 0 | ||
| 47 | + spriteTessellationDetail: -1 | ||
| 48 | + textureType: -1 | ||
| 49 | + buildTargetSettings: [] | ||
| 50 | + spriteSheet: | ||
| 51 | + sprites: [] | ||
| 52 | + outline: [] | ||
| 53 | + spritePackingTag: | ||
| 54 | + userData: | ||
| 55 | + assetBundleName: | ||
| 56 | + assetBundleVariant: |
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!21 &2100000 | ||
| 4 | +Material: | ||
| 5 | + serializedVersion: 3 | ||
| 6 | + m_ObjectHideFlags: 0 | ||
| 7 | + m_PrefabParentObject: {fileID: 0} | ||
| 8 | + m_PrefabInternal: {fileID: 0} | ||
| 9 | + m_Name: FallOff | ||
| 10 | + m_Shader: {fileID: 10750, guid: 0000000000000000f000000000000000, type: 0} | ||
| 11 | + m_ShaderKeywords: [] | ||
| 12 | + m_CustomRenderQueue: -1 | ||
| 13 | + m_SavedProperties: | ||
| 14 | + serializedVersion: 2 | ||
| 15 | + m_TexEnvs: | ||
| 16 | + data: | ||
| 17 | + first: | ||
| 18 | + name: _MainTex | ||
| 19 | + second: | ||
| 20 | + m_Texture: {fileID: 0} | ||
| 21 | + m_Scale: {x: 1, y: 1} | ||
| 22 | + m_Offset: {x: 0, y: 0} | ||
| 23 | + data: | ||
| 24 | + first: | ||
| 25 | + name: _BumpMap | ||
| 26 | + second: | ||
| 27 | + m_Texture: {fileID: 0} | ||
| 28 | + m_Scale: {x: 1, y: 1} | ||
| 29 | + m_Offset: {x: 0, y: 0} | ||
| 30 | + data: | ||
| 31 | + first: | ||
| 32 | + name: _Illum | ||
| 33 | + second: | ||
| 34 | + m_Texture: {fileID: 0} | ||
| 35 | + m_Scale: {x: 1, y: 1} | ||
| 36 | + m_Offset: {x: 0, y: 0} | ||
| 37 | + m_Floats: | ||
| 38 | + data: | ||
| 39 | + first: | ||
| 40 | + name: _Cutoff | ||
| 41 | + second: .106153868 | ||
| 42 | + data: | ||
| 43 | + first: | ||
| 44 | + name: _InvFade | ||
| 45 | + second: .539999962 | ||
| 46 | + data: | ||
| 47 | + first: | ||
| 48 | + name: _EmissionLM | ||
| 49 | + second: 0 | ||
| 50 | + m_Colors: | ||
| 51 | + data: | ||
| 52 | + first: | ||
| 53 | + name: _Color | ||
| 54 | + second: {r: 1, g: 1, b: 1, a: 1} | ||
| 55 | + data: | ||
| 56 | + first: | ||
| 57 | + name: _TintColor | ||
| 58 | + second: {r: .5, g: .5, b: .5, a: .5} |
No preview for this file type
| 1 | +fileFormatVersion: 2 | ||
| 2 | +guid: cc90a732ad112a541100162a44295342 | ||
| 3 | +TextureImporter: | ||
| 4 | + fileIDToRecycleName: {} | ||
| 5 | + serializedVersion: 2 | ||
| 6 | + mipmaps: | ||
| 7 | + mipMapMode: 1 | ||
| 8 | + enableMipMap: 1 | ||
| 9 | + linearTexture: 0 | ||
| 10 | + correctGamma: 0 | ||
| 11 | + fadeOut: 0 | ||
| 12 | + borderMipMap: 1 | ||
| 13 | + mipMapFadeDistanceStart: 2 | ||
| 14 | + mipMapFadeDistanceEnd: 3 | ||
| 15 | + bumpmap: | ||
| 16 | + convertToNormalMap: 0 | ||
| 17 | + externalNormalMap: 0 | ||
| 18 | + heightScale: 0.25 | ||
| 19 | + normalMapFilter: 0 | ||
| 20 | + isReadable: 0 | ||
| 21 | + grayScaleToAlpha: 1 | ||
| 22 | + generateCubemap: 0 | ||
| 23 | + cubemapConvolution: 0 | ||
| 24 | + cubemapConvolutionSteps: 7 | ||
| 25 | + cubemapConvolutionExponent: 1.5 | ||
| 26 | + seamlessCubemap: 0 | ||
| 27 | + textureFormat: 1 | ||
| 28 | + maxTextureSize: 1024 | ||
| 29 | + textureSettings: | ||
| 30 | + filterMode: 1 | ||
| 31 | + aniso: 1 | ||
| 32 | + mipBias: 0 | ||
| 33 | + wrapMode: 1 | ||
| 34 | + nPOTScale: 0 | ||
| 35 | + lightmap: 0 | ||
| 36 | + rGBM: 0 | ||
| 37 | + compressionQuality: 50 | ||
| 38 | + allowsAlphaSplitting: 0 | ||
| 39 | + spriteMode: 0 | ||
| 40 | + spriteExtrude: 1 | ||
| 41 | + spriteMeshType: 1 | ||
| 42 | + alignment: 0 | ||
| 43 | + spritePivot: {x: 0.5, y: 0.5} | ||
| 44 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
| 45 | + spritePixelsToUnits: 100 | ||
| 46 | + alphaIsTransparency: 0 | ||
| 47 | + spriteTessellationDetail: -1 | ||
| 48 | + textureType: -1 | ||
| 49 | + buildTargetSettings: [] | ||
| 50 | + spriteSheet: | ||
| 51 | + sprites: [] | ||
| 52 | + outline: [] | ||
| 53 | + spritePackingTag: | ||
| 54 | + userData: | ||
| 55 | + assetBundleName: | ||
| 56 | + assetBundleVariant: |
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!21 &2100000 | ||
| 4 | +Material: | ||
| 5 | + serializedVersion: 3 | ||
| 6 | + m_ObjectHideFlags: 0 | ||
| 7 | + m_PrefabParentObject: {fileID: 0} | ||
| 8 | + m_PrefabInternal: {fileID: 0} | ||
| 9 | + m_Name: FillBackground | ||
| 10 | + m_Shader: {fileID: 4800000, guid: 8a4586dc48a384548add1a8ad59d54a4, type: 3} | ||
| 11 | + m_ShaderKeywords: [] | ||
| 12 | + m_CustomRenderQueue: -1 | ||
| 13 | + m_SavedProperties: | ||
| 14 | + serializedVersion: 2 | ||
| 15 | + m_TexEnvs: | ||
| 16 | + data: | ||
| 17 | + first: | ||
| 18 | + name: _MainTex | ||
| 19 | + second: | ||
| 20 | + m_Texture: {fileID: 0} | ||
| 21 | + m_Scale: {x: 1, y: 1} | ||
| 22 | + m_Offset: {x: 0, y: 0} | ||
| 23 | + m_Floats: {} | ||
| 24 | + m_Colors: | ||
| 25 | + data: | ||
| 26 | + first: | ||
| 27 | + name: _Color | ||
| 28 | + second: {r: 1, g: 1, b: 1, a: 1} |
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!21 &2100000 | ||
| 4 | +Material: | ||
| 5 | + serializedVersion: 3 | ||
| 6 | + m_ObjectHideFlags: 0 | ||
| 7 | + m_PrefabParentObject: {fileID: 0} | ||
| 8 | + m_PrefabInternal: {fileID: 0} | ||
| 9 | + m_Name: InsideSphere | ||
| 10 | + m_Shader: {fileID: 4800000, guid: e5cfefc20f1df4f4593782b611cce905, type: 3} | ||
| 11 | + m_ShaderKeywords: [] | ||
| 12 | + m_CustomRenderQueue: -1 | ||
| 13 | + m_SavedProperties: | ||
| 14 | + serializedVersion: 2 | ||
| 15 | + m_TexEnvs: | ||
| 16 | + data: | ||
| 17 | + first: | ||
| 18 | + name: _MainTex | ||
| 19 | + second: | ||
| 20 | + m_Texture: {fileID: 0} | ||
| 21 | + m_Scale: {x: 1, y: 1} | ||
| 22 | + m_Offset: {x: 0, y: 0} | ||
| 23 | + m_Floats: {} | ||
| 24 | + m_Colors: | ||
| 25 | + data: | ||
| 26 | + first: | ||
| 27 | + name: _Color | ||
| 28 | + second: {r: 1, g: 1, b: 1, a: 1} |
No preview for this file type
No preview for this file type
No preview for this file type
This diff could not be displayed because it is too large.
| 1 | +Shader "Projector/Additive" { | ||
| 2 | + Properties { | ||
| 3 | + _Color ("Main Color", Color) = (1,1,1,1) | ||
| 4 | + _ShadowTex ("Cookie", 2D) = "" { TexGen ObjectLinear } | ||
| 5 | + _FalloffTex ("FallOff", 2D) = "" { TexGen ObjectLinear } | ||
| 6 | + } | ||
| 7 | + Subshader { | ||
| 8 | + Pass { | ||
| 9 | + ZWrite off | ||
| 10 | + Fog { Color (0, 0, 0) } | ||
| 11 | + Color [_Color] | ||
| 12 | + ColorMask RGB | ||
| 13 | + Blend One One | ||
| 14 | + Offset -1, -1 | ||
| 15 | + SetTexture [_ShadowTex] { | ||
| 16 | + combine texture * primary, ONE - texture | ||
| 17 | + Matrix [_Projector] | ||
| 18 | + } | ||
| 19 | + SetTexture [_FalloffTex] { | ||
| 20 | + constantColor (0,0,0,0) | ||
| 21 | + combine previous lerp (texture) constant | ||
| 22 | + Matrix [_ProjectorClip] | ||
| 23 | + } | ||
| 24 | + } | ||
| 25 | + } | ||
| 26 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
112 KB
| 1 | +fileFormatVersion: 2 | ||
| 2 | +guid: 1c4cd5292ed42dd4db2cdc4451d1abab | ||
| 3 | +TextureImporter: | ||
| 4 | + fileIDToRecycleName: {} | ||
| 5 | + serializedVersion: 2 | ||
| 6 | + mipmaps: | ||
| 7 | + mipMapMode: 0 | ||
| 8 | + enableMipMap: 0 | ||
| 9 | + linearTexture: 1 | ||
| 10 | + correctGamma: 0 | ||
| 11 | + fadeOut: 0 | ||
| 12 | + borderMipMap: 0 | ||
| 13 | + mipMapFadeDistanceStart: 1 | ||
| 14 | + mipMapFadeDistanceEnd: 3 | ||
| 15 | + bumpmap: | ||
| 16 | + convertToNormalMap: 0 | ||
| 17 | + externalNormalMap: 0 | ||
| 18 | + heightScale: 0.25 | ||
| 19 | + normalMapFilter: 0 | ||
| 20 | + isReadable: 0 | ||
| 21 | + grayScaleToAlpha: 0 | ||
| 22 | + generateCubemap: 0 | ||
| 23 | + cubemapConvolution: 0 | ||
| 24 | + cubemapConvolutionSteps: 7 | ||
| 25 | + cubemapConvolutionExponent: 1.5 | ||
| 26 | + seamlessCubemap: 0 | ||
| 27 | + textureFormat: -1 | ||
| 28 | + maxTextureSize: 64 | ||
| 29 | + textureSettings: | ||
| 30 | + filterMode: -1 | ||
| 31 | + aniso: 1 | ||
| 32 | + mipBias: -1 | ||
| 33 | + wrapMode: 1 | ||
| 34 | + nPOTScale: 0 | ||
| 35 | + lightmap: 0 | ||
| 36 | + rGBM: 0 | ||
| 37 | + compressionQuality: 50 | ||
| 38 | + allowsAlphaSplitting: 0 | ||
| 39 | + spriteMode: 0 | ||
| 40 | + spriteExtrude: 1 | ||
| 41 | + spriteMeshType: 1 | ||
| 42 | + alignment: 0 | ||
| 43 | + spritePivot: {x: 0.5, y: 0.5} | ||
| 44 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
| 45 | + spritePixelsToUnits: 100 | ||
| 46 | + alphaIsTransparency: 1 | ||
| 47 | + spriteTessellationDetail: -1 | ||
| 48 | + textureType: 2 | ||
| 49 | + buildTargetSettings: [] | ||
| 50 | + spriteSheet: | ||
| 51 | + sprites: [] | ||
| 52 | + outline: [] | ||
| 53 | + spritePackingTag: | ||
| 54 | + userData: | ||
| 55 | + assetBundleName: | ||
| 56 | + assetBundleVariant: |
| 1 | +Shader "UI/Default-ExtraTexture" | ||
| 2 | +{ | ||
| 3 | + Properties | ||
| 4 | + { | ||
| 5 | + [PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {} | ||
| 6 | + _OverlayTex ("Overlay Texture", 2D) = "white" {} | ||
| 7 | + _Color ("Tint", Color) = (1,1,1,1) | ||
| 8 | + | ||
| 9 | + _StencilComp ("Stencil Comparison", Float) = 8 | ||
| 10 | + _Stencil ("Stencil ID", Float) = 0 | ||
| 11 | + _StencilOp ("Stencil Operation", Float) = 0 | ||
| 12 | + _StencilWriteMask ("Stencil Write Mask", Float) = 255 | ||
| 13 | + _StencilReadMask ("Stencil Read Mask", Float) = 255 | ||
| 14 | + | ||
| 15 | + _ColorMask ("Color Mask", Float) = 15 | ||
| 16 | + } | ||
| 17 | + | ||
| 18 | + SubShader | ||
| 19 | + { | ||
| 20 | + Tags | ||
| 21 | + { | ||
| 22 | + "Queue"="Transparent" | ||
| 23 | + "IgnoreProjector"="True" | ||
| 24 | + "RenderType"="Transparent" | ||
| 25 | + "PreviewType"="Plane" | ||
| 26 | + "CanUseSpriteAtlas"="True" | ||
| 27 | + } | ||
| 28 | + | ||
| 29 | + Stencil | ||
| 30 | + { | ||
| 31 | + Ref [_Stencil] | ||
| 32 | + Comp [_StencilComp] | ||
| 33 | + Pass [_StencilOp] | ||
| 34 | + ReadMask [_StencilReadMask] | ||
| 35 | + WriteMask [_StencilWriteMask] | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + Cull Off | ||
| 39 | + Lighting Off | ||
| 40 | + ZWrite Off | ||
| 41 | + ZTest [unity_GUIZTestMode] | ||
| 42 | + Fog { Mode Off } | ||
| 43 | + Blend SrcAlpha OneMinusSrcAlpha | ||
| 44 | + ColorMask [_ColorMask] | ||
| 45 | + | ||
| 46 | + Pass | ||
| 47 | + { | ||
| 48 | + CGPROGRAM | ||
| 49 | + #pragma vertex vert | ||
| 50 | + #pragma fragment frag | ||
| 51 | + #include "UnityCG.cginc" | ||
| 52 | + | ||
| 53 | + struct appdata_t | ||
| 54 | + { | ||
| 55 | + float4 vertex : POSITION; | ||
| 56 | + float4 color : COLOR; | ||
| 57 | + float2 texcoord : TEXCOORD0; | ||
| 58 | + }; | ||
| 59 | + | ||
| 60 | + struct v2f | ||
| 61 | + { | ||
| 62 | + float4 vertex : SV_POSITION; | ||
| 63 | + fixed4 color : COLOR; | ||
| 64 | + half2 texcoord : TEXCOORD0; | ||
| 65 | + }; | ||
| 66 | + | ||
| 67 | + fixed4 _Color; | ||
| 68 | + | ||
| 69 | + v2f vert(appdata_t IN) | ||
| 70 | + { | ||
| 71 | + v2f OUT; | ||
| 72 | + OUT.vertex = mul(UNITY_MATRIX_MVP, IN.vertex); | ||
| 73 | + OUT.texcoord = IN.texcoord; | ||
| 74 | +#ifdef UNITY_HALF_TEXEL_OFFSET | ||
| 75 | + OUT.vertex.xy += (_ScreenParams.zw-1.0)*float2(-1,1); | ||
| 76 | +#endif | ||
| 77 | + OUT.color = IN.color * _Color; | ||
| 78 | + return OUT; | ||
| 79 | + } | ||
| 80 | + | ||
| 81 | + sampler2D _MainTex; | ||
| 82 | + sampler2D _OverlayTex; | ||
| 83 | + | ||
| 84 | + fixed4 frag(v2f IN) : SV_Target | ||
| 85 | + { | ||
| 86 | + half4 color = tex2D(_MainTex, IN.texcoord) * IN.color; | ||
| 87 | + color *= tex2D(_OverlayTex, IN.texcoord); | ||
| 88 | + clip (color.a - 0.01); | ||
| 89 | + return color; | ||
| 90 | + } | ||
| 91 | + ENDCG | ||
| 92 | + } | ||
| 93 | + } | ||
| 94 | +} |
| 1 | +Shader "UI/Default Font - Extra Texture" { | ||
| 2 | + Properties { | ||
| 3 | + _MainTex ("Font Texture", 2D) = "white" {} | ||
| 4 | + _OverlayTex ("Overlay Texture", 2D) = "white" {} | ||
| 5 | + _Color ("Text Color", Color) = (1,1,1,1) | ||
| 6 | + | ||
| 7 | + _StencilComp ("Stencil Comparison", Float) = 8 | ||
| 8 | + _Stencil ("Stencil ID", Float) = 0 | ||
| 9 | + _StencilOp ("Stencil Operation", Float) = 0 | ||
| 10 | + _StencilWriteMask ("Stencil Write Mask", Float) = 255 | ||
| 11 | + _StencilReadMask ("Stencil Read Mask", Float) = 255 | ||
| 12 | + | ||
| 13 | + _ColorMask ("Color Mask", Float) = 15 | ||
| 14 | + } | ||
| 15 | + | ||
| 16 | + SubShader { | ||
| 17 | + | ||
| 18 | + Tags | ||
| 19 | + { | ||
| 20 | + "Queue"="Transparent" | ||
| 21 | + "IgnoreProjector"="True" | ||
| 22 | + "RenderType"="Transparent" | ||
| 23 | + "PreviewType"="Plane" | ||
| 24 | + } | ||
| 25 | + | ||
| 26 | + Stencil | ||
| 27 | + { | ||
| 28 | + Ref [_Stencil] | ||
| 29 | + Comp [_StencilComp] | ||
| 30 | + Pass [_StencilOp] | ||
| 31 | + ReadMask [_StencilReadMask] | ||
| 32 | + WriteMask [_StencilWriteMask] | ||
| 33 | + } | ||
| 34 | + | ||
| 35 | + Lighting Off | ||
| 36 | + Cull Off | ||
| 37 | + ZTest [unity_GUIZTestMode] | ||
| 38 | + ZWrite Off | ||
| 39 | + Fog { Mode Off } | ||
| 40 | + Blend SrcAlpha OneMinusSrcAlpha | ||
| 41 | + ColorMask [_ColorMask] | ||
| 42 | + | ||
| 43 | + Pass | ||
| 44 | + { | ||
| 45 | + CGPROGRAM | ||
| 46 | + #pragma vertex vert | ||
| 47 | + #pragma fragment frag | ||
| 48 | + | ||
| 49 | + #include "UnityCG.cginc" | ||
| 50 | + | ||
| 51 | + struct appdata_t { | ||
| 52 | + float4 vertex : POSITION; | ||
| 53 | + fixed4 color : COLOR; | ||
| 54 | + float2 texcoord : TEXCOORD0; | ||
| 55 | + }; | ||
| 56 | + | ||
| 57 | + struct v2f { | ||
| 58 | + float4 vertex : SV_POSITION; | ||
| 59 | + fixed4 color : COLOR; | ||
| 60 | + float2 texcoord : TEXCOORD0; | ||
| 61 | + float2 texcoord2 : TEXCOORD1; | ||
| 62 | + }; | ||
| 63 | + | ||
| 64 | + sampler2D _MainTex; | ||
| 65 | + sampler2D _OverlayTex; | ||
| 66 | + uniform float4 _MainTex_ST; | ||
| 67 | + uniform float4 _OverlayTex_ST; | ||
| 68 | + uniform fixed4 _Color; | ||
| 69 | + | ||
| 70 | + v2f vert (appdata_t v) | ||
| 71 | + { | ||
| 72 | + v2f o; | ||
| 73 | + o.vertex = mul(UNITY_MATRIX_MVP, v.vertex); | ||
| 74 | + o.color = v.color * _Color; | ||
| 75 | + o.texcoord = TRANSFORM_TEX(v.texcoord, _MainTex); | ||
| 76 | +#ifdef UNITY_HALF_TEXEL_OFFSET | ||
| 77 | + o.vertex.xy += (_ScreenParams.zw-1.0)*float2(-1,1); | ||
| 78 | +#endif | ||
| 79 | + o.texcoord2 = (o.vertex.xy + 1) / 2; | ||
| 80 | + return o; | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + fixed4 frag (v2f i) : SV_Target | ||
| 84 | + { | ||
| 85 | + fixed4 col = i.color; | ||
| 86 | + col.a *= tex2D(_MainTex, i.texcoord).a; | ||
| 87 | + clip (col.a - 0.01); | ||
| 88 | + col.rgb *= tex2D(_OverlayTex, i.texcoord2).rgb; | ||
| 89 | + return col; | ||
| 90 | + } | ||
| 91 | + ENDCG | ||
| 92 | + } | ||
| 93 | + } | ||
| 94 | +} |
No preview for this file type
No preview for this file type
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!29 &1 | ||
| 4 | +SceneSettings: | ||
| 5 | + m_ObjectHideFlags: 0 | ||
| 6 | + m_PVSData: | ||
| 7 | + m_PVSObjectsArray: [] | ||
| 8 | + m_PVSPortalsArray: [] | ||
| 9 | + m_OcclusionBakeSettings: | ||
| 10 | + smallestOccluder: 5 | ||
| 11 | + smallestHole: .25 | ||
| 12 | + backfaceThreshold: 100 | ||
| 13 | +--- !u!104 &2 | ||
| 14 | +RenderSettings: | ||
| 15 | + m_Fog: 0 | ||
| 16 | + m_FogColor: {r: .5, g: .5, b: .5, a: 1} | ||
| 17 | + m_FogMode: 3 | ||
| 18 | + m_FogDensity: .00999999978 | ||
| 19 | + m_LinearFogStart: 0 | ||
| 20 | + m_LinearFogEnd: 300 | ||
| 21 | + m_AmbientLight: {r: .200000003, g: .200000003, b: .200000003, a: 1} | ||
| 22 | + m_SkyboxMaterial: {fileID: 0} | ||
| 23 | + m_HaloStrength: .5 | ||
| 24 | + m_FlareStrength: 1 | ||
| 25 | + m_FlareFadeSpeed: 3 | ||
| 26 | + m_HaloTexture: {fileID: 0} | ||
| 27 | + m_SpotCookie: {fileID: 0} | ||
| 28 | + m_ObjectHideFlags: 0 | ||
| 29 | +--- !u!127 &3 | ||
| 30 | +LevelGameManager: | ||
| 31 | + m_ObjectHideFlags: 0 | ||
| 32 | +--- !u!157 &4 | ||
| 33 | +LightmapSettings: | ||
| 34 | + m_ObjectHideFlags: 0 | ||
| 35 | + m_LightProbes: {fileID: 0} | ||
| 36 | + m_Lightmaps: [] | ||
| 37 | + m_LightmapsMode: 1 | ||
| 38 | + m_BakedColorSpace: 0 | ||
| 39 | + m_UseDualLightmapsInForward: 0 | ||
| 40 | + m_LightmapEditorSettings: | ||
| 41 | + m_Resolution: 50 | ||
| 42 | + m_LastUsedResolution: 0 | ||
| 43 | + m_TextureWidth: 1024 | ||
| 44 | + m_TextureHeight: 1024 | ||
| 45 | + m_BounceBoost: 1 | ||
| 46 | + m_BounceIntensity: 1 | ||
| 47 | + m_SkyLightColor: {r: .860000014, g: .930000007, b: 1, a: 1} | ||
| 48 | + m_SkyLightIntensity: 0 | ||
| 49 | + m_Quality: 0 | ||
| 50 | + m_Bounces: 1 | ||
| 51 | + m_FinalGatherRays: 1000 | ||
| 52 | + m_FinalGatherContrastThreshold: .0500000007 | ||
| 53 | + m_FinalGatherGradientThreshold: 0 | ||
| 54 | + m_FinalGatherInterpolationPoints: 15 | ||
| 55 | + m_AOAmount: 0 | ||
| 56 | + m_AOMaxDistance: .100000001 | ||
| 57 | + m_AOContrast: 1 | ||
| 58 | + m_LODSurfaceMappingDistance: 1 | ||
| 59 | + m_Padding: 0 | ||
| 60 | + m_TextureCompression: 0 | ||
| 61 | + m_LockAtlas: 0 | ||
| 62 | +--- !u!1 &5 | ||
| 63 | +GameObject: | ||
| 64 | + m_ObjectHideFlags: 0 | ||
| 65 | + m_PrefabParentObject: {fileID: 0} | ||
| 66 | + m_PrefabInternal: {fileID: 0} | ||
| 67 | + serializedVersion: 4 | ||
| 68 | + m_Component: | ||
| 69 | + - 4: {fileID: 6} | ||
| 70 | + - 20: {fileID: 7} | ||
| 71 | + - 92: {fileID: 8} | ||
| 72 | + - 114: {fileID: 17} | ||
| 73 | + - 114: {fileID: 9} | ||
| 74 | + m_Layer: 0 | ||
| 75 | + m_Name: Main Camera | ||
| 76 | + m_TagString: MainCamera | ||
| 77 | + m_Icon: {fileID: 0} | ||
| 78 | + m_NavMeshLayer: 0 | ||
| 79 | + m_StaticEditorFlags: 0 | ||
| 80 | + m_IsActive: 1 | ||
| 81 | +--- !u!4 &6 | ||
| 82 | +Transform: | ||
| 83 | + m_ObjectHideFlags: 0 | ||
| 84 | + m_PrefabParentObject: {fileID: 0} | ||
| 85 | + m_PrefabInternal: {fileID: 0} | ||
| 86 | + m_GameObject: {fileID: 5} | ||
| 87 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 88 | + m_LocalPosition: {x: 0, y: 0, z: -2.79980826} | ||
| 89 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 90 | + m_Children: [] | ||
| 91 | + m_Father: {fileID: 0} | ||
| 92 | + m_RootOrder: 2 | ||
| 93 | +--- !u!20 &7 | ||
| 94 | +Camera: | ||
| 95 | + m_ObjectHideFlags: 0 | ||
| 96 | + m_PrefabParentObject: {fileID: 0} | ||
| 97 | + m_PrefabInternal: {fileID: 0} | ||
| 98 | + m_GameObject: {fileID: 5} | ||
| 99 | + m_Enabled: 1 | ||
| 100 | + serializedVersion: 2 | ||
| 101 | + m_ClearFlags: 2 | ||
| 102 | + m_BackGroundColor: {r: 0, g: 0, b: 0, a: .0196078438} | ||
| 103 | + m_NormalizedViewPortRect: | ||
| 104 | + serializedVersion: 2 | ||
| 105 | + x: 0 | ||
| 106 | + y: 0 | ||
| 107 | + width: 1 | ||
| 108 | + height: 1 | ||
| 109 | + near clip plane: .300000012 | ||
| 110 | + far clip plane: 1000 | ||
| 111 | + field of view: 60 | ||
| 112 | + orthographic: 0 | ||
| 113 | + orthographic size: 100 | ||
| 114 | + m_Depth: 0 | ||
| 115 | + m_CullingMask: | ||
| 116 | + serializedVersion: 2 | ||
| 117 | + m_Bits: 4294967295 | ||
| 118 | + m_RenderingPath: -1 | ||
| 119 | + m_TargetTexture: {fileID: 0} | ||
| 120 | + m_TargetDisplay: 0 | ||
| 121 | + m_HDR: 0 | ||
| 122 | + m_OcclusionCulling: 0 | ||
| 123 | + m_StereoConvergence: 10 | ||
| 124 | + m_StereoSeparation: .0219999999 | ||
| 125 | +--- !u!92 &8 | ||
| 126 | +Behaviour: | ||
| 127 | + m_ObjectHideFlags: 0 | ||
| 128 | + m_PrefabParentObject: {fileID: 0} | ||
| 129 | + m_PrefabInternal: {fileID: 0} | ||
| 130 | + m_GameObject: {fileID: 5} | ||
| 131 | + m_Enabled: 1 | ||
| 132 | +--- !u!114 &9 | ||
| 133 | +MonoBehaviour: | ||
| 134 | + m_ObjectHideFlags: 0 | ||
| 135 | + m_PrefabParentObject: {fileID: 0} | ||
| 136 | + m_PrefabInternal: {fileID: 0} | ||
| 137 | + m_GameObject: {fileID: 5} | ||
| 138 | + m_Enabled: 1 | ||
| 139 | + m_EditorHideFlags: 0 | ||
| 140 | + m_Script: {fileID: 11500000, guid: 768c1627121f60f43b408c62ed9ab2f9, type: 3} | ||
| 141 | + m_Name: | ||
| 142 | + m_EditorClassIdentifier: | ||
| 143 | + _guiSkin: {fileID: 11400000, guid: eb821627fb1a0c044a6fd7a6dabe3147, type: 2} | ||
| 144 | + _speaker: {fileID: 2800000, guid: 1c4cd5292ed42dd4db2cdc4451d1abab, type: 3} | ||
| 145 | + _material: {fileID: 2100000, guid: bb3e8f04c8bae7241a1385563182c4c0, type: 2} | ||
| 146 | + _numChannels: 8 | ||
| 147 | +--- !u!196 &11 | ||
| 148 | +NavMeshSettings: | ||
| 149 | + m_ObjectHideFlags: 0 | ||
| 150 | + m_BuildSettings: | ||
| 151 | + agentRadius: .5 | ||
| 152 | + agentHeight: 2 | ||
| 153 | + agentSlope: 45 | ||
| 154 | + agentClimb: .400000006 | ||
| 155 | + ledgeDropHeight: 0 | ||
| 156 | + maxJumpAcrossDistance: 0 | ||
| 157 | + accuratePlacement: 0 | ||
| 158 | + minRegionArea: 2 | ||
| 159 | + widthInaccuracy: 16.666666 | ||
| 160 | + heightInaccuracy: 10 | ||
| 161 | + m_NavMesh: {fileID: 0} | ||
| 162 | +--- !u!114 &17 | ||
| 163 | +MonoBehaviour: | ||
| 164 | + m_ObjectHideFlags: 0 | ||
| 165 | + m_PrefabParentObject: {fileID: 0} | ||
| 166 | + m_PrefabInternal: {fileID: 0} | ||
| 167 | + m_GameObject: {fileID: 5} | ||
| 168 | + m_Enabled: 1 | ||
| 169 | + m_EditorHideFlags: 0 | ||
| 170 | + m_Script: {fileID: 11500000, guid: e97ef6d0bfd7238498bb990e58ae4ca2, type: 3} | ||
| 171 | + m_Name: | ||
| 172 | + m_EditorClassIdentifier: | ||
| 173 | + _logVideoLoads: 1 | ||
| 174 | + _useExternalTextures: 0 | ||
| 175 | +--- !u!1 &378954966 | ||
| 176 | +GameObject: | ||
| 177 | + m_ObjectHideFlags: 0 | ||
| 178 | + m_PrefabParentObject: {fileID: 0} | ||
| 179 | + m_PrefabInternal: {fileID: 0} | ||
| 180 | + serializedVersion: 4 | ||
| 181 | + m_Component: | ||
| 182 | + - 4: {fileID: 378954967} | ||
| 183 | + - 108: {fileID: 378954968} | ||
| 184 | + m_Layer: 0 | ||
| 185 | + m_Name: Point light | ||
| 186 | + m_TagString: Untagged | ||
| 187 | + m_Icon: {fileID: 0} | ||
| 188 | + m_NavMeshLayer: 0 | ||
| 189 | + m_StaticEditorFlags: 0 | ||
| 190 | + m_IsActive: 1 | ||
| 191 | +--- !u!4 &378954967 | ||
| 192 | +Transform: | ||
| 193 | + m_ObjectHideFlags: 0 | ||
| 194 | + m_PrefabParentObject: {fileID: 0} | ||
| 195 | + m_PrefabInternal: {fileID: 0} | ||
| 196 | + m_GameObject: {fileID: 378954966} | ||
| 197 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 198 | + m_LocalPosition: {x: 0, y: 0, z: -2.31003428} | ||
| 199 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 200 | + m_Children: [] | ||
| 201 | + m_Father: {fileID: 0} | ||
| 202 | + m_RootOrder: 3 | ||
| 203 | +--- !u!108 &378954968 | ||
| 204 | +Light: | ||
| 205 | + m_ObjectHideFlags: 0 | ||
| 206 | + m_PrefabParentObject: {fileID: 0} | ||
| 207 | + m_PrefabInternal: {fileID: 0} | ||
| 208 | + m_GameObject: {fileID: 378954966} | ||
| 209 | + m_Enabled: 1 | ||
| 210 | + serializedVersion: 3 | ||
| 211 | + m_Type: 2 | ||
| 212 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 213 | + m_Intensity: 1 | ||
| 214 | + m_Range: 10 | ||
| 215 | + m_SpotAngle: 30 | ||
| 216 | + m_CookieSize: 10 | ||
| 217 | + m_Shadows: | ||
| 218 | + m_Type: 0 | ||
| 219 | + m_Resolution: -1 | ||
| 220 | + m_Strength: 1 | ||
| 221 | + m_Bias: .0500000007 | ||
| 222 | + m_Softness: 4 | ||
| 223 | + m_SoftnessFade: 1 | ||
| 224 | + m_Cookie: {fileID: 0} | ||
| 225 | + m_DrawHalo: 0 | ||
| 226 | + m_ActuallyLightmapped: 0 | ||
| 227 | + m_Flare: {fileID: 0} | ||
| 228 | + m_RenderMode: 0 | ||
| 229 | + m_CullingMask: | ||
| 230 | + serializedVersion: 2 | ||
| 231 | + m_Bits: 4294967295 | ||
| 232 | + m_Lightmapping: 1 | ||
| 233 | + m_ShadowSamples: 1 | ||
| 234 | + m_ShadowRadius: 0 | ||
| 235 | + m_ShadowAngle: 0 | ||
| 236 | + m_IndirectIntensity: 1 | ||
| 237 | + m_AreaSize: {x: 1, y: 1} | ||
| 238 | +--- !u!1 &1173302083 | ||
| 239 | +GameObject: | ||
| 240 | + m_ObjectHideFlags: 0 | ||
| 241 | + m_PrefabParentObject: {fileID: 0} | ||
| 242 | + m_PrefabInternal: {fileID: 0} | ||
| 243 | + serializedVersion: 4 | ||
| 244 | + m_Component: | ||
| 245 | + - 4: {fileID: 1173302084} | ||
| 246 | + - 33: {fileID: 1173302086} | ||
| 247 | + - 65: {fileID: 1173302087} | ||
| 248 | + - 23: {fileID: 1173302085} | ||
| 249 | + m_Layer: 0 | ||
| 250 | + m_Name: Cube | ||
| 251 | + m_TagString: Untagged | ||
| 252 | + m_Icon: {fileID: 0} | ||
| 253 | + m_NavMeshLayer: 0 | ||
| 254 | + m_StaticEditorFlags: 0 | ||
| 255 | + m_IsActive: 1 | ||
| 256 | +--- !u!4 &1173302084 | ||
| 257 | +Transform: | ||
| 258 | + m_ObjectHideFlags: 0 | ||
| 259 | + m_PrefabParentObject: {fileID: 0} | ||
| 260 | + m_PrefabInternal: {fileID: 0} | ||
| 261 | + m_GameObject: {fileID: 1173302083} | ||
| 262 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 263 | + m_LocalPosition: {x: 0, y: 0, z: .955755949} | ||
| 264 | + m_LocalScale: {x: 4.24944258, y: 4.24944258, z: 4.24944258} | ||
| 265 | + m_Children: [] | ||
| 266 | + m_Father: {fileID: 0} | ||
| 267 | + m_RootOrder: 0 | ||
| 268 | +--- !u!23 &1173302085 | ||
| 269 | +Renderer: | ||
| 270 | + m_ObjectHideFlags: 0 | ||
| 271 | + m_PrefabParentObject: {fileID: 0} | ||
| 272 | + m_PrefabInternal: {fileID: 0} | ||
| 273 | + m_GameObject: {fileID: 1173302083} | ||
| 274 | + m_Enabled: 1 | ||
| 275 | + m_CastShadows: 0 | ||
| 276 | + m_ReceiveShadows: 0 | ||
| 277 | + m_LightmapIndex: 255 | ||
| 278 | + m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} | ||
| 279 | + m_Materials: | ||
| 280 | + - {fileID: 2100000, guid: 01779df11e1ccda45a756158a5404329, type: 2} | ||
| 281 | + m_SubsetIndices: | ||
| 282 | + m_StaticBatchRoot: {fileID: 0} | ||
| 283 | + m_UseLightProbes: 0 | ||
| 284 | + m_LightProbeAnchor: {fileID: 0} | ||
| 285 | + m_ScaleInLightmap: 1 | ||
| 286 | + m_SortingLayerID: 0 | ||
| 287 | + m_SortingOrder: 0 | ||
| 288 | +--- !u!33 &1173302086 | ||
| 289 | +MeshFilter: | ||
| 290 | + m_ObjectHideFlags: 0 | ||
| 291 | + m_PrefabParentObject: {fileID: 0} | ||
| 292 | + m_PrefabInternal: {fileID: 0} | ||
| 293 | + m_GameObject: {fileID: 1173302083} | ||
| 294 | + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} | ||
| 295 | +--- !u!65 &1173302087 | ||
| 296 | +BoxCollider: | ||
| 297 | + m_ObjectHideFlags: 0 | ||
| 298 | + m_PrefabParentObject: {fileID: 0} | ||
| 299 | + m_PrefabInternal: {fileID: 0} | ||
| 300 | + m_GameObject: {fileID: 1173302083} | ||
| 301 | + m_Material: {fileID: 0} | ||
| 302 | + m_IsTrigger: 0 | ||
| 303 | + m_Enabled: 1 | ||
| 304 | + serializedVersion: 2 | ||
| 305 | + m_Size: {x: 1, y: 1, z: 1} | ||
| 306 | + m_Center: {x: 0, y: 0, z: 0} | ||
| 307 | +--- !u!1 &2128281118 | ||
| 308 | +GameObject: | ||
| 309 | + m_ObjectHideFlags: 0 | ||
| 310 | + m_PrefabParentObject: {fileID: 0} | ||
| 311 | + m_PrefabInternal: {fileID: 0} | ||
| 312 | + serializedVersion: 4 | ||
| 313 | + m_Component: | ||
| 314 | + - 4: {fileID: 2128281119} | ||
| 315 | + - 114: {fileID: 2128281120} | ||
| 316 | + m_Layer: 0 | ||
| 317 | + m_Name: DemoInfo | ||
| 318 | + m_TagString: Untagged | ||
| 319 | + m_Icon: {fileID: 0} | ||
| 320 | + m_NavMeshLayer: 0 | ||
| 321 | + m_StaticEditorFlags: 0 | ||
| 322 | + m_IsActive: 1 | ||
| 323 | +--- !u!4 &2128281119 | ||
| 324 | +Transform: | ||
| 325 | + m_ObjectHideFlags: 0 | ||
| 326 | + m_PrefabParentObject: {fileID: 0} | ||
| 327 | + m_PrefabInternal: {fileID: 0} | ||
| 328 | + m_GameObject: {fileID: 2128281118} | ||
| 329 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 330 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 331 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 332 | + m_Children: [] | ||
| 333 | + m_Father: {fileID: 0} | ||
| 334 | + m_RootOrder: 1 | ||
| 335 | +--- !u!114 &2128281120 | ||
| 336 | +MonoBehaviour: | ||
| 337 | + m_ObjectHideFlags: 0 | ||
| 338 | + m_PrefabParentObject: {fileID: 0} | ||
| 339 | + m_PrefabInternal: {fileID: 0} | ||
| 340 | + m_GameObject: {fileID: 2128281118} | ||
| 341 | + m_Enabled: 1 | ||
| 342 | + m_EditorHideFlags: 0 | ||
| 343 | + m_Script: {fileID: 11500000, guid: 10fa3ce0e1c037e449490a4f9ca3bf99, type: 3} | ||
| 344 | + m_Name: | ||
| 345 | + m_EditorClassIdentifier: | ||
| 346 | + _title: Multi Channel Audio | ||
| 347 | + _description: This demo shows how you can control the audio mixer to send video | ||
| 348 | + audio to different audio channels in a 7.1 speaker configuration. This is very | ||
| 349 | + useful for multi-user interactive installations where you want to assign a speaker | ||
| 350 | + per user. Your computer must be set to 7.1 for this to work correctly. |
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!29 &1 | ||
| 4 | +SceneSettings: | ||
| 5 | + m_ObjectHideFlags: 0 | ||
| 6 | + m_PVSData: | ||
| 7 | + m_PVSObjectsArray: [] | ||
| 8 | + m_PVSPortalsArray: [] | ||
| 9 | + m_OcclusionBakeSettings: | ||
| 10 | + smallestOccluder: 5 | ||
| 11 | + smallestHole: .25 | ||
| 12 | + backfaceThreshold: 100 | ||
| 13 | +--- !u!104 &2 | ||
| 14 | +RenderSettings: | ||
| 15 | + m_Fog: 0 | ||
| 16 | + m_FogColor: {r: .5, g: .5, b: .5, a: 1} | ||
| 17 | + m_FogMode: 3 | ||
| 18 | + m_FogDensity: .00999999978 | ||
| 19 | + m_LinearFogStart: 0 | ||
| 20 | + m_LinearFogEnd: 300 | ||
| 21 | + m_AmbientLight: {r: .200000003, g: .200000003, b: .200000003, a: 1} | ||
| 22 | + m_SkyboxMaterial: {fileID: 0} | ||
| 23 | + m_HaloStrength: .5 | ||
| 24 | + m_FlareStrength: 1 | ||
| 25 | + m_FlareFadeSpeed: 3 | ||
| 26 | + m_HaloTexture: {fileID: 0} | ||
| 27 | + m_SpotCookie: {fileID: 0} | ||
| 28 | + m_ObjectHideFlags: 0 | ||
| 29 | +--- !u!127 &3 | ||
| 30 | +LevelGameManager: | ||
| 31 | + m_ObjectHideFlags: 0 | ||
| 32 | +--- !u!157 &4 | ||
| 33 | +LightmapSettings: | ||
| 34 | + m_ObjectHideFlags: 0 | ||
| 35 | + m_LightProbes: {fileID: 0} | ||
| 36 | + m_Lightmaps: [] | ||
| 37 | + m_LightmapsMode: 1 | ||
| 38 | + m_BakedColorSpace: 0 | ||
| 39 | + m_UseDualLightmapsInForward: 0 | ||
| 40 | + m_LightmapEditorSettings: | ||
| 41 | + m_Resolution: 50 | ||
| 42 | + m_LastUsedResolution: 0 | ||
| 43 | + m_TextureWidth: 1024 | ||
| 44 | + m_TextureHeight: 1024 | ||
| 45 | + m_BounceBoost: 1 | ||
| 46 | + m_BounceIntensity: 1 | ||
| 47 | + m_SkyLightColor: {r: .860000014, g: .930000007, b: 1, a: 1} | ||
| 48 | + m_SkyLightIntensity: 0 | ||
| 49 | + m_Quality: 0 | ||
| 50 | + m_Bounces: 1 | ||
| 51 | + m_FinalGatherRays: 1000 | ||
| 52 | + m_FinalGatherContrastThreshold: .0500000007 | ||
| 53 | + m_FinalGatherGradientThreshold: 0 | ||
| 54 | + m_FinalGatherInterpolationPoints: 15 | ||
| 55 | + m_AOAmount: 0 | ||
| 56 | + m_AOMaxDistance: .100000001 | ||
| 57 | + m_AOContrast: 1 | ||
| 58 | + m_LODSurfaceMappingDistance: 1 | ||
| 59 | + m_Padding: 0 | ||
| 60 | + m_TextureCompression: 0 | ||
| 61 | + m_LockAtlas: 0 | ||
| 62 | +--- !u!1 &5 | ||
| 63 | +GameObject: | ||
| 64 | + m_ObjectHideFlags: 0 | ||
| 65 | + m_PrefabParentObject: {fileID: 0} | ||
| 66 | + m_PrefabInternal: {fileID: 0} | ||
| 67 | + serializedVersion: 4 | ||
| 68 | + m_Component: | ||
| 69 | + - 4: {fileID: 6} | ||
| 70 | + - 20: {fileID: 7} | ||
| 71 | + - 92: {fileID: 8} | ||
| 72 | + - 114: {fileID: 17} | ||
| 73 | + - 114: {fileID: 9} | ||
| 74 | + m_Layer: 0 | ||
| 75 | + m_Name: Main Camera | ||
| 76 | + m_TagString: MainCamera | ||
| 77 | + m_Icon: {fileID: 0} | ||
| 78 | + m_NavMeshLayer: 0 | ||
| 79 | + m_StaticEditorFlags: 0 | ||
| 80 | + m_IsActive: 1 | ||
| 81 | +--- !u!4 &6 | ||
| 82 | +Transform: | ||
| 83 | + m_ObjectHideFlags: 0 | ||
| 84 | + m_PrefabParentObject: {fileID: 0} | ||
| 85 | + m_PrefabInternal: {fileID: 0} | ||
| 86 | + m_GameObject: {fileID: 5} | ||
| 87 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 88 | + m_LocalPosition: {x: 0, y: 0, z: -2.79980826} | ||
| 89 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 90 | + m_Children: [] | ||
| 91 | + m_Father: {fileID: 0} | ||
| 92 | + m_RootOrder: 2 | ||
| 93 | +--- !u!20 &7 | ||
| 94 | +Camera: | ||
| 95 | + m_ObjectHideFlags: 0 | ||
| 96 | + m_PrefabParentObject: {fileID: 0} | ||
| 97 | + m_PrefabInternal: {fileID: 0} | ||
| 98 | + m_GameObject: {fileID: 5} | ||
| 99 | + m_Enabled: 1 | ||
| 100 | + serializedVersion: 2 | ||
| 101 | + m_ClearFlags: 2 | ||
| 102 | + m_BackGroundColor: {r: 0, g: 0, b: 0, a: .0196078438} | ||
| 103 | + m_NormalizedViewPortRect: | ||
| 104 | + serializedVersion: 2 | ||
| 105 | + x: 0 | ||
| 106 | + y: 0 | ||
| 107 | + width: 1 | ||
| 108 | + height: 1 | ||
| 109 | + near clip plane: .300000012 | ||
| 110 | + far clip plane: 1000 | ||
| 111 | + field of view: 60 | ||
| 112 | + orthographic: 0 | ||
| 113 | + orthographic size: 100 | ||
| 114 | + m_Depth: 0 | ||
| 115 | + m_CullingMask: | ||
| 116 | + serializedVersion: 2 | ||
| 117 | + m_Bits: 4294967295 | ||
| 118 | + m_RenderingPath: -1 | ||
| 119 | + m_TargetTexture: {fileID: 0} | ||
| 120 | + m_TargetDisplay: 0 | ||
| 121 | + m_HDR: 0 | ||
| 122 | + m_OcclusionCulling: 0 | ||
| 123 | + m_StereoConvergence: 10 | ||
| 124 | + m_StereoSeparation: .0219999999 | ||
| 125 | +--- !u!92 &8 | ||
| 126 | +Behaviour: | ||
| 127 | + m_ObjectHideFlags: 0 | ||
| 128 | + m_PrefabParentObject: {fileID: 0} | ||
| 129 | + m_PrefabInternal: {fileID: 0} | ||
| 130 | + m_GameObject: {fileID: 5} | ||
| 131 | + m_Enabled: 1 | ||
| 132 | +--- !u!114 &9 | ||
| 133 | +MonoBehaviour: | ||
| 134 | + m_ObjectHideFlags: 0 | ||
| 135 | + m_PrefabParentObject: {fileID: 0} | ||
| 136 | + m_PrefabInternal: {fileID: 0} | ||
| 137 | + m_GameObject: {fileID: 5} | ||
| 138 | + m_Enabled: 1 | ||
| 139 | + m_EditorHideFlags: 0 | ||
| 140 | + m_Script: {fileID: 11500000, guid: ac48693794e43ae42a4d08fd2bc65211, type: 3} | ||
| 141 | + m_Name: | ||
| 142 | + m_EditorClassIdentifier: | ||
| 143 | + _skin: {fileID: 11400000, guid: eb821627fb1a0c044a6fd7a6dabe3147, type: 2} | ||
| 144 | + _guiDepth: 3 | ||
| 145 | +--- !u!196 &11 | ||
| 146 | +NavMeshSettings: | ||
| 147 | + m_ObjectHideFlags: 0 | ||
| 148 | + m_BuildSettings: | ||
| 149 | + agentRadius: .5 | ||
| 150 | + agentHeight: 2 | ||
| 151 | + agentSlope: 45 | ||
| 152 | + agentClimb: .400000006 | ||
| 153 | + ledgeDropHeight: 0 | ||
| 154 | + maxJumpAcrossDistance: 0 | ||
| 155 | + accuratePlacement: 0 | ||
| 156 | + minRegionArea: 2 | ||
| 157 | + widthInaccuracy: 16.666666 | ||
| 158 | + heightInaccuracy: 10 | ||
| 159 | + m_NavMesh: {fileID: 0} | ||
| 160 | +--- !u!114 &17 | ||
| 161 | +MonoBehaviour: | ||
| 162 | + m_ObjectHideFlags: 0 | ||
| 163 | + m_PrefabParentObject: {fileID: 0} | ||
| 164 | + m_PrefabInternal: {fileID: 0} | ||
| 165 | + m_GameObject: {fileID: 5} | ||
| 166 | + m_Enabled: 1 | ||
| 167 | + m_EditorHideFlags: 0 | ||
| 168 | + m_Script: {fileID: 11500000, guid: e97ef6d0bfd7238498bb990e58ae4ca2, type: 3} | ||
| 169 | + m_Name: | ||
| 170 | + m_EditorClassIdentifier: | ||
| 171 | + _logVideoLoads: 1 | ||
| 172 | + _useExternalTextures: 0 | ||
| 173 | +--- !u!1 &378954966 | ||
| 174 | +GameObject: | ||
| 175 | + m_ObjectHideFlags: 0 | ||
| 176 | + m_PrefabParentObject: {fileID: 0} | ||
| 177 | + m_PrefabInternal: {fileID: 0} | ||
| 178 | + serializedVersion: 4 | ||
| 179 | + m_Component: | ||
| 180 | + - 4: {fileID: 378954967} | ||
| 181 | + - 108: {fileID: 378954968} | ||
| 182 | + m_Layer: 0 | ||
| 183 | + m_Name: Point light | ||
| 184 | + m_TagString: Untagged | ||
| 185 | + m_Icon: {fileID: 0} | ||
| 186 | + m_NavMeshLayer: 0 | ||
| 187 | + m_StaticEditorFlags: 0 | ||
| 188 | + m_IsActive: 1 | ||
| 189 | +--- !u!4 &378954967 | ||
| 190 | +Transform: | ||
| 191 | + m_ObjectHideFlags: 0 | ||
| 192 | + m_PrefabParentObject: {fileID: 0} | ||
| 193 | + m_PrefabInternal: {fileID: 0} | ||
| 194 | + m_GameObject: {fileID: 378954966} | ||
| 195 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 196 | + m_LocalPosition: {x: 0, y: 0, z: -2.31003428} | ||
| 197 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 198 | + m_Children: [] | ||
| 199 | + m_Father: {fileID: 0} | ||
| 200 | + m_RootOrder: 3 | ||
| 201 | +--- !u!108 &378954968 | ||
| 202 | +Light: | ||
| 203 | + m_ObjectHideFlags: 0 | ||
| 204 | + m_PrefabParentObject: {fileID: 0} | ||
| 205 | + m_PrefabInternal: {fileID: 0} | ||
| 206 | + m_GameObject: {fileID: 378954966} | ||
| 207 | + m_Enabled: 1 | ||
| 208 | + serializedVersion: 3 | ||
| 209 | + m_Type: 2 | ||
| 210 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 211 | + m_Intensity: 1 | ||
| 212 | + m_Range: 10 | ||
| 213 | + m_SpotAngle: 30 | ||
| 214 | + m_CookieSize: 10 | ||
| 215 | + m_Shadows: | ||
| 216 | + m_Type: 0 | ||
| 217 | + m_Resolution: -1 | ||
| 218 | + m_Strength: 1 | ||
| 219 | + m_Bias: .0500000007 | ||
| 220 | + m_Softness: 4 | ||
| 221 | + m_SoftnessFade: 1 | ||
| 222 | + m_Cookie: {fileID: 0} | ||
| 223 | + m_DrawHalo: 0 | ||
| 224 | + m_ActuallyLightmapped: 0 | ||
| 225 | + m_Flare: {fileID: 0} | ||
| 226 | + m_RenderMode: 0 | ||
| 227 | + m_CullingMask: | ||
| 228 | + serializedVersion: 2 | ||
| 229 | + m_Bits: 4294967295 | ||
| 230 | + m_Lightmapping: 1 | ||
| 231 | + m_ShadowSamples: 1 | ||
| 232 | + m_ShadowRadius: 0 | ||
| 233 | + m_ShadowAngle: 0 | ||
| 234 | + m_IndirectIntensity: 1 | ||
| 235 | + m_AreaSize: {x: 1, y: 1} | ||
| 236 | +--- !u!1 &1173302083 | ||
| 237 | +GameObject: | ||
| 238 | + m_ObjectHideFlags: 0 | ||
| 239 | + m_PrefabParentObject: {fileID: 0} | ||
| 240 | + m_PrefabInternal: {fileID: 0} | ||
| 241 | + serializedVersion: 4 | ||
| 242 | + m_Component: | ||
| 243 | + - 4: {fileID: 1173302084} | ||
| 244 | + - 33: {fileID: 1173302086} | ||
| 245 | + - 23: {fileID: 1173302085} | ||
| 246 | + m_Layer: 0 | ||
| 247 | + m_Name: Cube | ||
| 248 | + m_TagString: Untagged | ||
| 249 | + m_Icon: {fileID: 0} | ||
| 250 | + m_NavMeshLayer: 0 | ||
| 251 | + m_StaticEditorFlags: 0 | ||
| 252 | + m_IsActive: 1 | ||
| 253 | +--- !u!4 &1173302084 | ||
| 254 | +Transform: | ||
| 255 | + m_ObjectHideFlags: 0 | ||
| 256 | + m_PrefabParentObject: {fileID: 0} | ||
| 257 | + m_PrefabInternal: {fileID: 0} | ||
| 258 | + m_GameObject: {fileID: 1173302083} | ||
| 259 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 260 | + m_LocalPosition: {x: 0, y: 0, z: .955755949} | ||
| 261 | + m_LocalScale: {x: 4.24944258, y: 4.24944258, z: 4.24944258} | ||
| 262 | + m_Children: [] | ||
| 263 | + m_Father: {fileID: 0} | ||
| 264 | + m_RootOrder: 0 | ||
| 265 | +--- !u!23 &1173302085 | ||
| 266 | +Renderer: | ||
| 267 | + m_ObjectHideFlags: 0 | ||
| 268 | + m_PrefabParentObject: {fileID: 0} | ||
| 269 | + m_PrefabInternal: {fileID: 0} | ||
| 270 | + m_GameObject: {fileID: 1173302083} | ||
| 271 | + m_Enabled: 1 | ||
| 272 | + m_CastShadows: 0 | ||
| 273 | + m_ReceiveShadows: 0 | ||
| 274 | + m_LightmapIndex: 255 | ||
| 275 | + m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} | ||
| 276 | + m_Materials: | ||
| 277 | + - {fileID: 2100000, guid: 01779df11e1ccda45a756158a5404329, type: 2} | ||
| 278 | + m_SubsetIndices: | ||
| 279 | + m_StaticBatchRoot: {fileID: 0} | ||
| 280 | + m_UseLightProbes: 0 | ||
| 281 | + m_LightProbeAnchor: {fileID: 0} | ||
| 282 | + m_ScaleInLightmap: 1 | ||
| 283 | + m_SortingLayerID: 0 | ||
| 284 | + m_SortingOrder: 0 | ||
| 285 | +--- !u!33 &1173302086 | ||
| 286 | +MeshFilter: | ||
| 287 | + m_ObjectHideFlags: 0 | ||
| 288 | + m_PrefabParentObject: {fileID: 0} | ||
| 289 | + m_PrefabInternal: {fileID: 0} | ||
| 290 | + m_GameObject: {fileID: 1173302083} | ||
| 291 | + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} | ||
| 292 | +--- !u!1 &1228051957 | ||
| 293 | +GameObject: | ||
| 294 | + m_ObjectHideFlags: 0 | ||
| 295 | + m_PrefabParentObject: {fileID: 0} | ||
| 296 | + m_PrefabInternal: {fileID: 0} | ||
| 297 | + serializedVersion: 4 | ||
| 298 | + m_Component: | ||
| 299 | + - 4: {fileID: 1228051958} | ||
| 300 | + - 114: {fileID: 1228051959} | ||
| 301 | + m_Layer: 0 | ||
| 302 | + m_Name: DemoInfo | ||
| 303 | + m_TagString: Untagged | ||
| 304 | + m_Icon: {fileID: 0} | ||
| 305 | + m_NavMeshLayer: 0 | ||
| 306 | + m_StaticEditorFlags: 0 | ||
| 307 | + m_IsActive: 1 | ||
| 308 | +--- !u!4 &1228051958 | ||
| 309 | +Transform: | ||
| 310 | + m_ObjectHideFlags: 0 | ||
| 311 | + m_PrefabParentObject: {fileID: 0} | ||
| 312 | + m_PrefabInternal: {fileID: 0} | ||
| 313 | + m_GameObject: {fileID: 1228051957} | ||
| 314 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 315 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 316 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 317 | + m_Children: [] | ||
| 318 | + m_Father: {fileID: 0} | ||
| 319 | + m_RootOrder: 1 | ||
| 320 | +--- !u!114 &1228051959 | ||
| 321 | +MonoBehaviour: | ||
| 322 | + m_ObjectHideFlags: 0 | ||
| 323 | + m_PrefabParentObject: {fileID: 0} | ||
| 324 | + m_PrefabInternal: {fileID: 0} | ||
| 325 | + m_GameObject: {fileID: 1228051957} | ||
| 326 | + m_Enabled: 1 | ||
| 327 | + m_EditorHideFlags: 0 | ||
| 328 | + m_Script: {fileID: 11500000, guid: 10fa3ce0e1c037e449490a4f9ca3bf99, type: 3} | ||
| 329 | + m_Name: | ||
| 330 | + m_EditorClassIdentifier: | ||
| 331 | + _title: Multiple Videos | ||
| 332 | + _description: This demo allows performance testing with multiple videos. Press | ||
| 333 | + the "+" to create another instance of a video. |
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!29 &1 | ||
| 4 | +SceneSettings: | ||
| 5 | + m_ObjectHideFlags: 0 | ||
| 6 | + m_PVSData: | ||
| 7 | + m_PVSObjectsArray: [] | ||
| 8 | + m_PVSPortalsArray: [] | ||
| 9 | + m_OcclusionBakeSettings: | ||
| 10 | + smallestOccluder: 5 | ||
| 11 | + smallestHole: .25 | ||
| 12 | + backfaceThreshold: 100 | ||
| 13 | +--- !u!104 &2 | ||
| 14 | +RenderSettings: | ||
| 15 | + m_Fog: 0 | ||
| 16 | + m_FogColor: {r: .5, g: .5, b: .5, a: 1} | ||
| 17 | + m_FogMode: 3 | ||
| 18 | + m_FogDensity: .00999999978 | ||
| 19 | + m_LinearFogStart: 0 | ||
| 20 | + m_LinearFogEnd: 300 | ||
| 21 | + m_AmbientLight: {r: .200000003, g: .200000003, b: .200000003, a: 1} | ||
| 22 | + m_SkyboxMaterial: {fileID: 0} | ||
| 23 | + m_HaloStrength: .5 | ||
| 24 | + m_FlareStrength: 1 | ||
| 25 | + m_FlareFadeSpeed: 3 | ||
| 26 | + m_HaloTexture: {fileID: 0} | ||
| 27 | + m_SpotCookie: {fileID: 0} | ||
| 28 | + m_ObjectHideFlags: 0 | ||
| 29 | +--- !u!127 &3 | ||
| 30 | +LevelGameManager: | ||
| 31 | + m_ObjectHideFlags: 0 | ||
| 32 | +--- !u!157 &4 | ||
| 33 | +LightmapSettings: | ||
| 34 | + m_ObjectHideFlags: 0 | ||
| 35 | + m_LightProbes: {fileID: 0} | ||
| 36 | + m_Lightmaps: [] | ||
| 37 | + m_LightmapsMode: 1 | ||
| 38 | + m_BakedColorSpace: 0 | ||
| 39 | + m_UseDualLightmapsInForward: 0 | ||
| 40 | + m_LightmapEditorSettings: | ||
| 41 | + m_Resolution: 50 | ||
| 42 | + m_LastUsedResolution: 0 | ||
| 43 | + m_TextureWidth: 1024 | ||
| 44 | + m_TextureHeight: 1024 | ||
| 45 | + m_BounceBoost: 1 | ||
| 46 | + m_BounceIntensity: 1 | ||
| 47 | + m_SkyLightColor: {r: .860000014, g: .930000007, b: 1, a: 1} | ||
| 48 | + m_SkyLightIntensity: 0 | ||
| 49 | + m_Quality: 0 | ||
| 50 | + m_Bounces: 1 | ||
| 51 | + m_FinalGatherRays: 1000 | ||
| 52 | + m_FinalGatherContrastThreshold: .0500000007 | ||
| 53 | + m_FinalGatherGradientThreshold: 0 | ||
| 54 | + m_FinalGatherInterpolationPoints: 15 | ||
| 55 | + m_AOAmount: 0 | ||
| 56 | + m_AOMaxDistance: .100000001 | ||
| 57 | + m_AOContrast: 1 | ||
| 58 | + m_LODSurfaceMappingDistance: 1 | ||
| 59 | + m_Padding: 0 | ||
| 60 | + m_TextureCompression: 0 | ||
| 61 | + m_LockAtlas: 0 | ||
| 62 | +--- !u!1 &5 | ||
| 63 | +GameObject: | ||
| 64 | + m_ObjectHideFlags: 0 | ||
| 65 | + m_PrefabParentObject: {fileID: 0} | ||
| 66 | + m_PrefabInternal: {fileID: 0} | ||
| 67 | + serializedVersion: 4 | ||
| 68 | + m_Component: | ||
| 69 | + - 4: {fileID: 6} | ||
| 70 | + - 20: {fileID: 7} | ||
| 71 | + - 92: {fileID: 8} | ||
| 72 | + - 114: {fileID: 12} | ||
| 73 | + - 114: {fileID: 17} | ||
| 74 | + - 114: {fileID: 13} | ||
| 75 | + - 114: {fileID: 14} | ||
| 76 | + - 114: {fileID: 9} | ||
| 77 | + m_Layer: 0 | ||
| 78 | + m_Name: Main Camera | ||
| 79 | + m_TagString: MainCamera | ||
| 80 | + m_Icon: {fileID: 0} | ||
| 81 | + m_NavMeshLayer: 0 | ||
| 82 | + m_StaticEditorFlags: 0 | ||
| 83 | + m_IsActive: 1 | ||
| 84 | +--- !u!4 &6 | ||
| 85 | +Transform: | ||
| 86 | + m_ObjectHideFlags: 0 | ||
| 87 | + m_PrefabParentObject: {fileID: 0} | ||
| 88 | + m_PrefabInternal: {fileID: 0} | ||
| 89 | + m_GameObject: {fileID: 5} | ||
| 90 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 91 | + m_LocalPosition: {x: 0, y: 0, z: -2.79980826} | ||
| 92 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 93 | + m_Children: [] | ||
| 94 | + m_Father: {fileID: 0} | ||
| 95 | + m_RootOrder: 2 | ||
| 96 | +--- !u!20 &7 | ||
| 97 | +Camera: | ||
| 98 | + m_ObjectHideFlags: 0 | ||
| 99 | + m_PrefabParentObject: {fileID: 0} | ||
| 100 | + m_PrefabInternal: {fileID: 0} | ||
| 101 | + m_GameObject: {fileID: 5} | ||
| 102 | + m_Enabled: 1 | ||
| 103 | + serializedVersion: 2 | ||
| 104 | + m_ClearFlags: 2 | ||
| 105 | + m_BackGroundColor: {r: 0, g: 0, b: 0, a: .0196078438} | ||
| 106 | + m_NormalizedViewPortRect: | ||
| 107 | + serializedVersion: 2 | ||
| 108 | + x: 0 | ||
| 109 | + y: 0 | ||
| 110 | + width: 1 | ||
| 111 | + height: 1 | ||
| 112 | + near clip plane: .300000012 | ||
| 113 | + far clip plane: 1000 | ||
| 114 | + field of view: 60 | ||
| 115 | + orthographic: 0 | ||
| 116 | + orthographic size: 100 | ||
| 117 | + m_Depth: 0 | ||
| 118 | + m_CullingMask: | ||
| 119 | + serializedVersion: 2 | ||
| 120 | + m_Bits: 4294967295 | ||
| 121 | + m_RenderingPath: -1 | ||
| 122 | + m_TargetTexture: {fileID: 0} | ||
| 123 | + m_TargetDisplay: 0 | ||
| 124 | + m_HDR: 0 | ||
| 125 | + m_OcclusionCulling: 0 | ||
| 126 | + m_StereoConvergence: 10 | ||
| 127 | + m_StereoSeparation: .0219999999 | ||
| 128 | +--- !u!92 &8 | ||
| 129 | +Behaviour: | ||
| 130 | + m_ObjectHideFlags: 0 | ||
| 131 | + m_PrefabParentObject: {fileID: 0} | ||
| 132 | + m_PrefabInternal: {fileID: 0} | ||
| 133 | + m_GameObject: {fileID: 5} | ||
| 134 | + m_Enabled: 1 | ||
| 135 | +--- !u!114 &9 | ||
| 136 | +MonoBehaviour: | ||
| 137 | + m_ObjectHideFlags: 0 | ||
| 138 | + m_PrefabParentObject: {fileID: 0} | ||
| 139 | + m_PrefabInternal: {fileID: 0} | ||
| 140 | + m_GameObject: {fileID: 5} | ||
| 141 | + m_Enabled: 1 | ||
| 142 | + m_EditorHideFlags: 0 | ||
| 143 | + m_Script: {fileID: 11500000, guid: 782a63ed2c371794fa17db381425d391, type: 3} | ||
| 144 | + m_Name: | ||
| 145 | + m_EditorClassIdentifier: | ||
| 146 | + _skin: {fileID: 11400000, guid: eb821627fb1a0c044a6fd7a6dabe3147, type: 2} | ||
| 147 | + _demo: {fileID: 13} | ||
| 148 | +--- !u!196 &11 | ||
| 149 | +NavMeshSettings: | ||
| 150 | + m_ObjectHideFlags: 0 | ||
| 151 | + m_BuildSettings: | ||
| 152 | + agentRadius: .5 | ||
| 153 | + agentHeight: 2 | ||
| 154 | + agentSlope: 45 | ||
| 155 | + agentClimb: .400000006 | ||
| 156 | + ledgeDropHeight: 0 | ||
| 157 | + maxJumpAcrossDistance: 0 | ||
| 158 | + accuratePlacement: 0 | ||
| 159 | + minRegionArea: 2 | ||
| 160 | + widthInaccuracy: 16.666666 | ||
| 161 | + heightInaccuracy: 10 | ||
| 162 | + m_NavMesh: {fileID: 0} | ||
| 163 | +--- !u!114 &12 | ||
| 164 | +MonoBehaviour: | ||
| 165 | + m_ObjectHideFlags: 0 | ||
| 166 | + m_PrefabParentObject: {fileID: 0} | ||
| 167 | + m_PrefabInternal: {fileID: 0} | ||
| 168 | + m_GameObject: {fileID: 5} | ||
| 169 | + m_Enabled: 1 | ||
| 170 | + m_EditorHideFlags: 0 | ||
| 171 | + m_Script: {fileID: 11500000, guid: 8225388bc511e1f40be2e753ddefe282, type: 3} | ||
| 172 | + m_Name: | ||
| 173 | + m_EditorClassIdentifier: | ||
| 174 | + _folder: | ||
| 175 | + _filename: | ||
| 176 | + _useStreamingAssetsPath: 0 | ||
| 177 | + _loop: 0 | ||
| 178 | + _colourFormat: 2 | ||
| 179 | + _allowAudio: 1 | ||
| 180 | + _useAudioDelay: 0 | ||
| 181 | + _useAudioMixer: 0 | ||
| 182 | + _useDisplaySync: 0 | ||
| 183 | + _loadOnStart: 0 | ||
| 184 | + _playOnStart: 0 | ||
| 185 | + _editorPreview: 0 | ||
| 186 | + _ignoreFlips: 1 | ||
| 187 | + _volume: 1 | ||
| 188 | + _audioBalance: 0 | ||
| 189 | + _textureFilterMode: 1 | ||
| 190 | + _textureWrapMode: 1 | ||
| 191 | + _clips: [] | ||
| 192 | +--- !u!114 &13 | ||
| 193 | +MonoBehaviour: | ||
| 194 | + m_ObjectHideFlags: 0 | ||
| 195 | + m_PrefabParentObject: {fileID: 0} | ||
| 196 | + m_PrefabInternal: {fileID: 0} | ||
| 197 | + m_GameObject: {fileID: 5} | ||
| 198 | + m_Enabled: 1 | ||
| 199 | + m_EditorHideFlags: 0 | ||
| 200 | + m_Script: {fileID: 11500000, guid: f14b6ec72af3052428039addee13c46c, type: 3} | ||
| 201 | + m_Name: | ||
| 202 | + m_EditorClassIdentifier: | ||
| 203 | + _movieA: {fileID: 12} | ||
| 204 | + _movieB: {fileID: 14} | ||
| 205 | + _folder: | ||
| 206 | + _filenames: | ||
| 207 | + - sample-green-480x256-divx.avi | ||
| 208 | + - sample-yellow-480x256-divx.avi | ||
| 209 | + - sample-blue-480x256-divx.avi | ||
| 210 | + - sample-purple-480x256-divx.avi | ||
| 211 | +--- !u!114 &14 | ||
| 212 | +MonoBehaviour: | ||
| 213 | + m_ObjectHideFlags: 0 | ||
| 214 | + m_PrefabParentObject: {fileID: 0} | ||
| 215 | + m_PrefabInternal: {fileID: 0} | ||
| 216 | + m_GameObject: {fileID: 5} | ||
| 217 | + m_Enabled: 1 | ||
| 218 | + m_EditorHideFlags: 0 | ||
| 219 | + m_Script: {fileID: 11500000, guid: 8225388bc511e1f40be2e753ddefe282, type: 3} | ||
| 220 | + m_Name: | ||
| 221 | + m_EditorClassIdentifier: | ||
| 222 | + _folder: | ||
| 223 | + _filename: | ||
| 224 | + _useStreamingAssetsPath: 0 | ||
| 225 | + _loop: 0 | ||
| 226 | + _colourFormat: 2 | ||
| 227 | + _allowAudio: 1 | ||
| 228 | + _useAudioDelay: 0 | ||
| 229 | + _useAudioMixer: 0 | ||
| 230 | + _useDisplaySync: 0 | ||
| 231 | + _loadOnStart: 0 | ||
| 232 | + _playOnStart: 0 | ||
| 233 | + _editorPreview: 0 | ||
| 234 | + _ignoreFlips: 1 | ||
| 235 | + _volume: 1 | ||
| 236 | + _audioBalance: 0 | ||
| 237 | + _textureFilterMode: 1 | ||
| 238 | + _textureWrapMode: 1 | ||
| 239 | + _clips: [] | ||
| 240 | +--- !u!114 &17 | ||
| 241 | +MonoBehaviour: | ||
| 242 | + m_ObjectHideFlags: 0 | ||
| 243 | + m_PrefabParentObject: {fileID: 0} | ||
| 244 | + m_PrefabInternal: {fileID: 0} | ||
| 245 | + m_GameObject: {fileID: 5} | ||
| 246 | + m_Enabled: 1 | ||
| 247 | + m_EditorHideFlags: 0 | ||
| 248 | + m_Script: {fileID: 11500000, guid: e97ef6d0bfd7238498bb990e58ae4ca2, type: 3} | ||
| 249 | + m_Name: | ||
| 250 | + m_EditorClassIdentifier: | ||
| 251 | + _logVideoLoads: 1 | ||
| 252 | + _useExternalTextures: 0 | ||
| 253 | +--- !u!1 &378954966 | ||
| 254 | +GameObject: | ||
| 255 | + m_ObjectHideFlags: 0 | ||
| 256 | + m_PrefabParentObject: {fileID: 0} | ||
| 257 | + m_PrefabInternal: {fileID: 0} | ||
| 258 | + serializedVersion: 4 | ||
| 259 | + m_Component: | ||
| 260 | + - 4: {fileID: 378954967} | ||
| 261 | + - 108: {fileID: 378954968} | ||
| 262 | + m_Layer: 0 | ||
| 263 | + m_Name: Point light | ||
| 264 | + m_TagString: Untagged | ||
| 265 | + m_Icon: {fileID: 0} | ||
| 266 | + m_NavMeshLayer: 0 | ||
| 267 | + m_StaticEditorFlags: 0 | ||
| 268 | + m_IsActive: 1 | ||
| 269 | +--- !u!4 &378954967 | ||
| 270 | +Transform: | ||
| 271 | + m_ObjectHideFlags: 0 | ||
| 272 | + m_PrefabParentObject: {fileID: 0} | ||
| 273 | + m_PrefabInternal: {fileID: 0} | ||
| 274 | + m_GameObject: {fileID: 378954966} | ||
| 275 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 276 | + m_LocalPosition: {x: 0, y: 0, z: -2.31003428} | ||
| 277 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 278 | + m_Children: [] | ||
| 279 | + m_Father: {fileID: 0} | ||
| 280 | + m_RootOrder: 3 | ||
| 281 | +--- !u!108 &378954968 | ||
| 282 | +Light: | ||
| 283 | + m_ObjectHideFlags: 0 | ||
| 284 | + m_PrefabParentObject: {fileID: 0} | ||
| 285 | + m_PrefabInternal: {fileID: 0} | ||
| 286 | + m_GameObject: {fileID: 378954966} | ||
| 287 | + m_Enabled: 1 | ||
| 288 | + serializedVersion: 3 | ||
| 289 | + m_Type: 2 | ||
| 290 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 291 | + m_Intensity: 1 | ||
| 292 | + m_Range: 10 | ||
| 293 | + m_SpotAngle: 30 | ||
| 294 | + m_CookieSize: 10 | ||
| 295 | + m_Shadows: | ||
| 296 | + m_Type: 0 | ||
| 297 | + m_Resolution: -1 | ||
| 298 | + m_Strength: 1 | ||
| 299 | + m_Bias: .0500000007 | ||
| 300 | + m_Softness: 4 | ||
| 301 | + m_SoftnessFade: 1 | ||
| 302 | + m_Cookie: {fileID: 0} | ||
| 303 | + m_DrawHalo: 0 | ||
| 304 | + m_ActuallyLightmapped: 0 | ||
| 305 | + m_Flare: {fileID: 0} | ||
| 306 | + m_RenderMode: 0 | ||
| 307 | + m_CullingMask: | ||
| 308 | + serializedVersion: 2 | ||
| 309 | + m_Bits: 4294967295 | ||
| 310 | + m_Lightmapping: 1 | ||
| 311 | + m_ShadowSamples: 1 | ||
| 312 | + m_ShadowRadius: 0 | ||
| 313 | + m_ShadowAngle: 0 | ||
| 314 | + m_IndirectIntensity: 1 | ||
| 315 | + m_AreaSize: {x: 1, y: 1} | ||
| 316 | +--- !u!1 &781023460 | ||
| 317 | +GameObject: | ||
| 318 | + m_ObjectHideFlags: 0 | ||
| 319 | + m_PrefabParentObject: {fileID: 0} | ||
| 320 | + m_PrefabInternal: {fileID: 0} | ||
| 321 | + serializedVersion: 4 | ||
| 322 | + m_Component: | ||
| 323 | + - 4: {fileID: 781023461} | ||
| 324 | + - 114: {fileID: 781023462} | ||
| 325 | + m_Layer: 0 | ||
| 326 | + m_Name: DemoInfo | ||
| 327 | + m_TagString: Untagged | ||
| 328 | + m_Icon: {fileID: 0} | ||
| 329 | + m_NavMeshLayer: 0 | ||
| 330 | + m_StaticEditorFlags: 0 | ||
| 331 | + m_IsActive: 1 | ||
| 332 | +--- !u!4 &781023461 | ||
| 333 | +Transform: | ||
| 334 | + m_ObjectHideFlags: 0 | ||
| 335 | + m_PrefabParentObject: {fileID: 0} | ||
| 336 | + m_PrefabInternal: {fileID: 0} | ||
| 337 | + m_GameObject: {fileID: 781023460} | ||
| 338 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 339 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 340 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 341 | + m_Children: [] | ||
| 342 | + m_Father: {fileID: 0} | ||
| 343 | + m_RootOrder: 1 | ||
| 344 | +--- !u!114 &781023462 | ||
| 345 | +MonoBehaviour: | ||
| 346 | + m_ObjectHideFlags: 0 | ||
| 347 | + m_PrefabParentObject: {fileID: 0} | ||
| 348 | + m_PrefabInternal: {fileID: 0} | ||
| 349 | + m_GameObject: {fileID: 781023460} | ||
| 350 | + m_Enabled: 1 | ||
| 351 | + m_EditorHideFlags: 0 | ||
| 352 | + m_Script: {fileID: 11500000, guid: 10fa3ce0e1c037e449490a4f9ca3bf99, type: 3} | ||
| 353 | + m_Name: | ||
| 354 | + m_EditorClassIdentifier: | ||
| 355 | + _title: Playlist | ||
| 356 | + _description: This demo shows how to create a playlist. | ||
| 357 | +--- !u!1 &1173302083 | ||
| 358 | +GameObject: | ||
| 359 | + m_ObjectHideFlags: 0 | ||
| 360 | + m_PrefabParentObject: {fileID: 0} | ||
| 361 | + m_PrefabInternal: {fileID: 0} | ||
| 362 | + serializedVersion: 4 | ||
| 363 | + m_Component: | ||
| 364 | + - 4: {fileID: 1173302084} | ||
| 365 | + - 33: {fileID: 1173302086} | ||
| 366 | + - 23: {fileID: 1173302085} | ||
| 367 | + m_Layer: 0 | ||
| 368 | + m_Name: Cube | ||
| 369 | + m_TagString: Untagged | ||
| 370 | + m_Icon: {fileID: 0} | ||
| 371 | + m_NavMeshLayer: 0 | ||
| 372 | + m_StaticEditorFlags: 0 | ||
| 373 | + m_IsActive: 1 | ||
| 374 | +--- !u!4 &1173302084 | ||
| 375 | +Transform: | ||
| 376 | + m_ObjectHideFlags: 0 | ||
| 377 | + m_PrefabParentObject: {fileID: 0} | ||
| 378 | + m_PrefabInternal: {fileID: 0} | ||
| 379 | + m_GameObject: {fileID: 1173302083} | ||
| 380 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 381 | + m_LocalPosition: {x: 0, y: 0, z: .955755949} | ||
| 382 | + m_LocalScale: {x: 4.24944258, y: 4.24944258, z: 4.24944258} | ||
| 383 | + m_Children: [] | ||
| 384 | + m_Father: {fileID: 0} | ||
| 385 | + m_RootOrder: 0 | ||
| 386 | +--- !u!23 &1173302085 | ||
| 387 | +Renderer: | ||
| 388 | + m_ObjectHideFlags: 0 | ||
| 389 | + m_PrefabParentObject: {fileID: 0} | ||
| 390 | + m_PrefabInternal: {fileID: 0} | ||
| 391 | + m_GameObject: {fileID: 1173302083} | ||
| 392 | + m_Enabled: 1 | ||
| 393 | + m_CastShadows: 0 | ||
| 394 | + m_ReceiveShadows: 0 | ||
| 395 | + m_LightmapIndex: 255 | ||
| 396 | + m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} | ||
| 397 | + m_Materials: | ||
| 398 | + - {fileID: 2100000, guid: 01779df11e1ccda45a756158a5404329, type: 2} | ||
| 399 | + m_SubsetIndices: | ||
| 400 | + m_StaticBatchRoot: {fileID: 0} | ||
| 401 | + m_UseLightProbes: 0 | ||
| 402 | + m_LightProbeAnchor: {fileID: 0} | ||
| 403 | + m_ScaleInLightmap: 1 | ||
| 404 | + m_SortingLayerID: 0 | ||
| 405 | + m_SortingOrder: 0 | ||
| 406 | +--- !u!33 &1173302086 | ||
| 407 | +MeshFilter: | ||
| 408 | + m_ObjectHideFlags: 0 | ||
| 409 | + m_PrefabParentObject: {fileID: 0} | ||
| 410 | + m_PrefabInternal: {fileID: 0} | ||
| 411 | + m_GameObject: {fileID: 1173302083} | ||
| 412 | + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} |
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!29 &1 | ||
| 4 | +SceneSettings: | ||
| 5 | + m_ObjectHideFlags: 0 | ||
| 6 | + m_PVSData: | ||
| 7 | + m_PVSObjectsArray: [] | ||
| 8 | + m_PVSPortalsArray: [] | ||
| 9 | + m_OcclusionBakeSettings: | ||
| 10 | + smallestOccluder: 5 | ||
| 11 | + smallestHole: .25 | ||
| 12 | + backfaceThreshold: 100 | ||
| 13 | +--- !u!104 &2 | ||
| 14 | +RenderSettings: | ||
| 15 | + m_Fog: 0 | ||
| 16 | + m_FogColor: {r: .5, g: .5, b: .5, a: 1} | ||
| 17 | + m_FogMode: 3 | ||
| 18 | + m_FogDensity: .00999999978 | ||
| 19 | + m_LinearFogStart: 0 | ||
| 20 | + m_LinearFogEnd: 300 | ||
| 21 | + m_AmbientLight: {r: -431602080, g: -431602080, b: -431602080, a: -431602080} | ||
| 22 | + m_SkyboxMaterial: {fileID: 0} | ||
| 23 | + m_HaloStrength: .5 | ||
| 24 | + m_FlareStrength: 1 | ||
| 25 | + m_FlareFadeSpeed: 3 | ||
| 26 | + m_HaloTexture: {fileID: 0} | ||
| 27 | + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} | ||
| 28 | + m_ObjectHideFlags: 0 | ||
| 29 | +--- !u!127 &3 | ||
| 30 | +LevelGameManager: | ||
| 31 | + m_ObjectHideFlags: 0 | ||
| 32 | +--- !u!157 &4 | ||
| 33 | +LightmapSettings: | ||
| 34 | + m_ObjectHideFlags: 0 | ||
| 35 | + m_LightProbes: {fileID: 0} | ||
| 36 | + m_Lightmaps: [] | ||
| 37 | + m_LightmapsMode: 1 | ||
| 38 | + m_BakedColorSpace: 0 | ||
| 39 | + m_UseDualLightmapsInForward: 0 | ||
| 40 | + m_LightmapEditorSettings: | ||
| 41 | + m_Resolution: 2 | ||
| 42 | + m_LastUsedResolution: 0 | ||
| 43 | + m_TextureWidth: 1024 | ||
| 44 | + m_TextureHeight: 1024 | ||
| 45 | + m_BounceBoost: 1 | ||
| 46 | + m_BounceIntensity: 1 | ||
| 47 | + m_SkyLightColor: {r: .860000014, g: .930000007, b: 1, a: 1} | ||
| 48 | + m_SkyLightIntensity: 0 | ||
| 49 | + m_Quality: 0 | ||
| 50 | + m_Bounces: 1 | ||
| 51 | + m_FinalGatherRays: 1000 | ||
| 52 | + m_FinalGatherContrastThreshold: .0500000007 | ||
| 53 | + m_FinalGatherGradientThreshold: 0 | ||
| 54 | + m_FinalGatherInterpolationPoints: 15 | ||
| 55 | + m_AOAmount: 0 | ||
| 56 | + m_AOMaxDistance: 1 | ||
| 57 | + m_AOContrast: 1 | ||
| 58 | + m_LODSurfaceMappingDistance: 1 | ||
| 59 | + m_Padding: 2 | ||
| 60 | + m_TextureCompression: 0 | ||
| 61 | + m_LockAtlas: 0 | ||
| 62 | +--- !u!1 &5 | ||
| 63 | +GameObject: | ||
| 64 | + m_ObjectHideFlags: 0 | ||
| 65 | + m_PrefabParentObject: {fileID: 0} | ||
| 66 | + m_PrefabInternal: {fileID: 0} | ||
| 67 | + serializedVersion: 4 | ||
| 68 | + m_Component: | ||
| 69 | + - 4: {fileID: 6} | ||
| 70 | + - 20: {fileID: 7} | ||
| 71 | + - 92: {fileID: 8} | ||
| 72 | + - 114: {fileID: 10} | ||
| 73 | + - 114: {fileID: 12} | ||
| 74 | + - 114: {fileID: 9} | ||
| 75 | + - 114: {fileID: 13} | ||
| 76 | + - 114: {fileID: 14} | ||
| 77 | + - 114: {fileID: 15} | ||
| 78 | + - 114: {fileID: 16} | ||
| 79 | + - 114: {fileID: 17} | ||
| 80 | + m_Layer: 0 | ||
| 81 | + m_Name: Main Camera | ||
| 82 | + m_TagString: MainCamera | ||
| 83 | + m_Icon: {fileID: 0} | ||
| 84 | + m_NavMeshLayer: 0 | ||
| 85 | + m_StaticEditorFlags: 0 | ||
| 86 | + m_IsActive: 1 | ||
| 87 | +--- !u!4 &6 | ||
| 88 | +Transform: | ||
| 89 | + m_ObjectHideFlags: 0 | ||
| 90 | + m_PrefabParentObject: {fileID: 0} | ||
| 91 | + m_PrefabInternal: {fileID: 0} | ||
| 92 | + m_GameObject: {fileID: 5} | ||
| 93 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 94 | + m_LocalPosition: {x: 0, y: 0, z: -2.79980826} | ||
| 95 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 96 | + m_Children: [] | ||
| 97 | + m_Father: {fileID: 0} | ||
| 98 | + m_RootOrder: 2 | ||
| 99 | +--- !u!20 &7 | ||
| 100 | +Camera: | ||
| 101 | + m_ObjectHideFlags: 0 | ||
| 102 | + m_PrefabParentObject: {fileID: 0} | ||
| 103 | + m_PrefabInternal: {fileID: 0} | ||
| 104 | + m_GameObject: {fileID: 5} | ||
| 105 | + m_Enabled: 1 | ||
| 106 | + serializedVersion: 2 | ||
| 107 | + m_ClearFlags: 2 | ||
| 108 | + m_BackGroundColor: {r: 0, g: 0, b: 0, a: .0196078438} | ||
| 109 | + m_NormalizedViewPortRect: | ||
| 110 | + serializedVersion: 2 | ||
| 111 | + x: 0 | ||
| 112 | + y: 0 | ||
| 113 | + width: 1 | ||
| 114 | + height: 1 | ||
| 115 | + near clip plane: .300000012 | ||
| 116 | + far clip plane: 1000 | ||
| 117 | + field of view: 60 | ||
| 118 | + orthographic: 0 | ||
| 119 | + orthographic size: 100 | ||
| 120 | + m_Depth: 0 | ||
| 121 | + m_CullingMask: | ||
| 122 | + serializedVersion: 2 | ||
| 123 | + m_Bits: 4294967295 | ||
| 124 | + m_RenderingPath: -1 | ||
| 125 | + m_TargetTexture: {fileID: 0} | ||
| 126 | + m_TargetDisplay: 0 | ||
| 127 | + m_HDR: 0 | ||
| 128 | + m_OcclusionCulling: 0 | ||
| 129 | + m_StereoConvergence: 10 | ||
| 130 | + m_StereoSeparation: .0219999999 | ||
| 131 | +--- !u!92 &8 | ||
| 132 | +Behaviour: | ||
| 133 | + m_ObjectHideFlags: 0 | ||
| 134 | + m_PrefabParentObject: {fileID: 0} | ||
| 135 | + m_PrefabInternal: {fileID: 0} | ||
| 136 | + m_GameObject: {fileID: 5} | ||
| 137 | + m_Enabled: 1 | ||
| 138 | +--- !u!114 &9 | ||
| 139 | +MonoBehaviour: | ||
| 140 | + m_ObjectHideFlags: 0 | ||
| 141 | + m_PrefabParentObject: {fileID: 0} | ||
| 142 | + m_PrefabInternal: {fileID: 0} | ||
| 143 | + m_GameObject: {fileID: 5} | ||
| 144 | + m_Enabled: 1 | ||
| 145 | + m_EditorHideFlags: 0 | ||
| 146 | + m_Script: {fileID: 11500000, guid: 56fbcade19d816c4d916df81e1237475, type: 3} | ||
| 147 | + m_Name: | ||
| 148 | + m_EditorClassIdentifier: | ||
| 149 | + _movie: {fileID: 12} | ||
| 150 | + _scaleMode: 2 | ||
| 151 | + _color: {r: 1, g: 1, b: 1, a: 1} | ||
| 152 | + _alphaBlend: 0 | ||
| 153 | + _fullScreen: 1 | ||
| 154 | + _depth: 2 | ||
| 155 | + _x: 0 | ||
| 156 | + _y: 0 | ||
| 157 | + _width: 1 | ||
| 158 | + _height: 1 | ||
| 159 | +--- !u!114 &10 | ||
| 160 | +MonoBehaviour: | ||
| 161 | + m_ObjectHideFlags: 0 | ||
| 162 | + m_PrefabParentObject: {fileID: 0} | ||
| 163 | + m_PrefabInternal: {fileID: 0} | ||
| 164 | + m_GameObject: {fileID: 5} | ||
| 165 | + m_Enabled: 1 | ||
| 166 | + m_EditorHideFlags: 0 | ||
| 167 | + m_Script: {fileID: 11500000, guid: 6504c07c38ac6ec41aae933984864527, type: 3} | ||
| 168 | + m_Name: | ||
| 169 | + m_EditorClassIdentifier: | ||
| 170 | + _skin: {fileID: 11400000, guid: eb821627fb1a0c044a6fd7a6dabe3147, type: 2} | ||
| 171 | + _movie: {fileID: 12} | ||
| 172 | + _display: {fileID: 9} | ||
| 173 | +--- !u!196 &11 | ||
| 174 | +NavMeshSettings: | ||
| 175 | + m_ObjectHideFlags: 0 | ||
| 176 | + m_BuildSettings: | ||
| 177 | + agentRadius: .5 | ||
| 178 | + agentHeight: 2 | ||
| 179 | + agentSlope: 45 | ||
| 180 | + agentClimb: .400000006 | ||
| 181 | + ledgeDropHeight: 0 | ||
| 182 | + maxJumpAcrossDistance: 0 | ||
| 183 | + accuratePlacement: 0 | ||
| 184 | + minRegionArea: 2 | ||
| 185 | + widthInaccuracy: 16.666666 | ||
| 186 | + heightInaccuracy: 10 | ||
| 187 | + m_NavMesh: {fileID: 0} | ||
| 188 | +--- !u!114 &12 | ||
| 189 | +MonoBehaviour: | ||
| 190 | + m_ObjectHideFlags: 0 | ||
| 191 | + m_PrefabParentObject: {fileID: 0} | ||
| 192 | + m_PrefabInternal: {fileID: 0} | ||
| 193 | + m_GameObject: {fileID: 5} | ||
| 194 | + m_Enabled: 1 | ||
| 195 | + m_EditorHideFlags: 0 | ||
| 196 | + m_Script: {fileID: 11500000, guid: 8225388bc511e1f40be2e753ddefe282, type: 3} | ||
| 197 | + m_Name: | ||
| 198 | + m_EditorClassIdentifier: | ||
| 199 | + _folder: | ||
| 200 | + _filename: sample-1920x1024-divx.avi | ||
| 201 | + _useStreamingAssetsPath: 1 | ||
| 202 | + _loop: 1 | ||
| 203 | + _colourFormat: 2 | ||
| 204 | + _allowAudio: 1 | ||
| 205 | + _useAudioDelay: 0 | ||
| 206 | + _useAudioMixer: 0 | ||
| 207 | + _useDisplaySync: 0 | ||
| 208 | + _loadOnStart: 1 | ||
| 209 | + _playOnStart: 1 | ||
| 210 | + _editorPreview: 1 | ||
| 211 | + _ignoreFlips: 1 | ||
| 212 | + _volume: .368000001 | ||
| 213 | + _audioBalance: 0 | ||
| 214 | + _textureFilterMode: 1 | ||
| 215 | + _textureWrapMode: 1 | ||
| 216 | + _clips: [] | ||
| 217 | +--- !u!114 &13 | ||
| 218 | +MonoBehaviour: | ||
| 219 | + m_ObjectHideFlags: 0 | ||
| 220 | + m_PrefabParentObject: {fileID: 0} | ||
| 221 | + m_PrefabInternal: {fileID: 0} | ||
| 222 | + m_GameObject: {fileID: 5} | ||
| 223 | + m_Enabled: 1 | ||
| 224 | + m_EditorHideFlags: 0 | ||
| 225 | + m_Script: {fileID: 11500000, guid: 56fbcade19d816c4d916df81e1237475, type: 3} | ||
| 226 | + m_Name: | ||
| 227 | + m_EditorClassIdentifier: | ||
| 228 | + _movie: {fileID: 12} | ||
| 229 | + _scaleMode: 0 | ||
| 230 | + _color: {r: 1, g: 1, b: 1, a: 1} | ||
| 231 | + _alphaBlend: 0 | ||
| 232 | + _fullScreen: 0 | ||
| 233 | + _depth: 1 | ||
| 234 | + _x: .800000012 | ||
| 235 | + _y: 0 | ||
| 236 | + _width: .209999993 | ||
| 237 | + _height: .200000003 | ||
| 238 | +--- !u!114 &14 | ||
| 239 | +MonoBehaviour: | ||
| 240 | + m_ObjectHideFlags: 0 | ||
| 241 | + m_PrefabParentObject: {fileID: 0} | ||
| 242 | + m_PrefabInternal: {fileID: 0} | ||
| 243 | + m_GameObject: {fileID: 5} | ||
| 244 | + m_Enabled: 1 | ||
| 245 | + m_EditorHideFlags: 0 | ||
| 246 | + m_Script: {fileID: 11500000, guid: 56fbcade19d816c4d916df81e1237475, type: 3} | ||
| 247 | + m_Name: | ||
| 248 | + m_EditorClassIdentifier: | ||
| 249 | + _movie: {fileID: 12} | ||
| 250 | + _scaleMode: 0 | ||
| 251 | + _color: {r: 1, g: 1, b: 1, a: 1} | ||
| 252 | + _alphaBlend: 0 | ||
| 253 | + _fullScreen: 0 | ||
| 254 | + _depth: 1 | ||
| 255 | + _x: .800000012 | ||
| 256 | + _y: .200000003 | ||
| 257 | + _width: .209999993 | ||
| 258 | + _height: .200000003 | ||
| 259 | +--- !u!114 &15 | ||
| 260 | +MonoBehaviour: | ||
| 261 | + m_ObjectHideFlags: 0 | ||
| 262 | + m_PrefabParentObject: {fileID: 0} | ||
| 263 | + m_PrefabInternal: {fileID: 0} | ||
| 264 | + m_GameObject: {fileID: 5} | ||
| 265 | + m_Enabled: 1 | ||
| 266 | + m_EditorHideFlags: 0 | ||
| 267 | + m_Script: {fileID: 11500000, guid: 56fbcade19d816c4d916df81e1237475, type: 3} | ||
| 268 | + m_Name: | ||
| 269 | + m_EditorClassIdentifier: | ||
| 270 | + _movie: {fileID: 12} | ||
| 271 | + _scaleMode: 0 | ||
| 272 | + _color: {r: 1, g: 1, b: 1, a: 1} | ||
| 273 | + _alphaBlend: 0 | ||
| 274 | + _fullScreen: 0 | ||
| 275 | + _depth: 0 | ||
| 276 | + _x: 0 | ||
| 277 | + _y: .800000012 | ||
| 278 | + _width: .200000003 | ||
| 279 | + _height: .209999993 | ||
| 280 | +--- !u!114 &16 | ||
| 281 | +MonoBehaviour: | ||
| 282 | + m_ObjectHideFlags: 0 | ||
| 283 | + m_PrefabParentObject: {fileID: 0} | ||
| 284 | + m_PrefabInternal: {fileID: 0} | ||
| 285 | + m_GameObject: {fileID: 5} | ||
| 286 | + m_Enabled: 1 | ||
| 287 | + m_EditorHideFlags: 0 | ||
| 288 | + m_Script: {fileID: 11500000, guid: 56fbcade19d816c4d916df81e1237475, type: 3} | ||
| 289 | + m_Name: | ||
| 290 | + m_EditorClassIdentifier: | ||
| 291 | + _movie: {fileID: 12} | ||
| 292 | + _scaleMode: 0 | ||
| 293 | + _color: {r: 1, g: 1, b: 1, a: 1} | ||
| 294 | + _alphaBlend: 0 | ||
| 295 | + _fullScreen: 0 | ||
| 296 | + _depth: 0 | ||
| 297 | + _x: 0 | ||
| 298 | + _y: .600000024 | ||
| 299 | + _width: .200000003 | ||
| 300 | + _height: .200000003 | ||
| 301 | +--- !u!114 &17 | ||
| 302 | +MonoBehaviour: | ||
| 303 | + m_ObjectHideFlags: 0 | ||
| 304 | + m_PrefabParentObject: {fileID: 0} | ||
| 305 | + m_PrefabInternal: {fileID: 0} | ||
| 306 | + m_GameObject: {fileID: 5} | ||
| 307 | + m_Enabled: 1 | ||
| 308 | + m_EditorHideFlags: 0 | ||
| 309 | + m_Script: {fileID: 11500000, guid: e97ef6d0bfd7238498bb990e58ae4ca2, type: 3} | ||
| 310 | + m_Name: | ||
| 311 | + m_EditorClassIdentifier: | ||
| 312 | + _logVideoLoads: 1 | ||
| 313 | + _useExternalTextures: 0 | ||
| 314 | +--- !u!1 &378954966 | ||
| 315 | +GameObject: | ||
| 316 | + m_ObjectHideFlags: 0 | ||
| 317 | + m_PrefabParentObject: {fileID: 0} | ||
| 318 | + m_PrefabInternal: {fileID: 0} | ||
| 319 | + serializedVersion: 4 | ||
| 320 | + m_Component: | ||
| 321 | + - 4: {fileID: 378954967} | ||
| 322 | + - 108: {fileID: 378954968} | ||
| 323 | + m_Layer: 0 | ||
| 324 | + m_Name: Point light | ||
| 325 | + m_TagString: Untagged | ||
| 326 | + m_Icon: {fileID: 0} | ||
| 327 | + m_NavMeshLayer: 0 | ||
| 328 | + m_StaticEditorFlags: 0 | ||
| 329 | + m_IsActive: 1 | ||
| 330 | +--- !u!4 &378954967 | ||
| 331 | +Transform: | ||
| 332 | + m_ObjectHideFlags: 0 | ||
| 333 | + m_PrefabParentObject: {fileID: 0} | ||
| 334 | + m_PrefabInternal: {fileID: 0} | ||
| 335 | + m_GameObject: {fileID: 378954966} | ||
| 336 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 337 | + m_LocalPosition: {x: 0, y: 0, z: -2.31003428} | ||
| 338 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 339 | + m_Children: [] | ||
| 340 | + m_Father: {fileID: 0} | ||
| 341 | + m_RootOrder: 3 | ||
| 342 | +--- !u!108 &378954968 | ||
| 343 | +Light: | ||
| 344 | + m_ObjectHideFlags: 0 | ||
| 345 | + m_PrefabParentObject: {fileID: 0} | ||
| 346 | + m_PrefabInternal: {fileID: 0} | ||
| 347 | + m_GameObject: {fileID: 378954966} | ||
| 348 | + m_Enabled: 1 | ||
| 349 | + serializedVersion: 3 | ||
| 350 | + m_Type: 2 | ||
| 351 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 352 | + m_Intensity: 1 | ||
| 353 | + m_Range: 10 | ||
| 354 | + m_SpotAngle: 30 | ||
| 355 | + m_CookieSize: 10 | ||
| 356 | + m_Shadows: | ||
| 357 | + m_Type: 0 | ||
| 358 | + m_Resolution: -1 | ||
| 359 | + m_Strength: 1 | ||
| 360 | + m_Bias: .0500000007 | ||
| 361 | + m_Softness: 4 | ||
| 362 | + m_SoftnessFade: 1 | ||
| 363 | + m_Cookie: {fileID: 0} | ||
| 364 | + m_DrawHalo: 0 | ||
| 365 | + m_ActuallyLightmapped: 0 | ||
| 366 | + m_Flare: {fileID: 0} | ||
| 367 | + m_RenderMode: 0 | ||
| 368 | + m_CullingMask: | ||
| 369 | + serializedVersion: 2 | ||
| 370 | + m_Bits: 4294967295 | ||
| 371 | + m_Lightmapping: 1 | ||
| 372 | + m_ShadowSamples: 1 | ||
| 373 | + m_ShadowRadius: 0 | ||
| 374 | + m_ShadowAngle: 0 | ||
| 375 | + m_IndirectIntensity: 0 | ||
| 376 | + m_AreaSize: {x: 1, y: 1} | ||
| 377 | +--- !u!1 &1173302083 | ||
| 378 | +GameObject: | ||
| 379 | + m_ObjectHideFlags: 0 | ||
| 380 | + m_PrefabParentObject: {fileID: 0} | ||
| 381 | + m_PrefabInternal: {fileID: 0} | ||
| 382 | + serializedVersion: 4 | ||
| 383 | + m_Component: | ||
| 384 | + - 4: {fileID: 1173302084} | ||
| 385 | + - 33: {fileID: 1173302086} | ||
| 386 | + - 65: {fileID: 1173302087} | ||
| 387 | + - 23: {fileID: 1173302085} | ||
| 388 | + m_Layer: 0 | ||
| 389 | + m_Name: Cube | ||
| 390 | + m_TagString: Untagged | ||
| 391 | + m_Icon: {fileID: 0} | ||
| 392 | + m_NavMeshLayer: 0 | ||
| 393 | + m_StaticEditorFlags: 0 | ||
| 394 | + m_IsActive: 1 | ||
| 395 | +--- !u!4 &1173302084 | ||
| 396 | +Transform: | ||
| 397 | + m_ObjectHideFlags: 0 | ||
| 398 | + m_PrefabParentObject: {fileID: 0} | ||
| 399 | + m_PrefabInternal: {fileID: 0} | ||
| 400 | + m_GameObject: {fileID: 1173302083} | ||
| 401 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 402 | + m_LocalPosition: {x: 0, y: 0, z: .955755949} | ||
| 403 | + m_LocalScale: {x: 4.24944258, y: 4.24944258, z: 4.24944258} | ||
| 404 | + m_Children: [] | ||
| 405 | + m_Father: {fileID: 0} | ||
| 406 | + m_RootOrder: 0 | ||
| 407 | +--- !u!23 &1173302085 | ||
| 408 | +Renderer: | ||
| 409 | + m_ObjectHideFlags: 0 | ||
| 410 | + m_PrefabParentObject: {fileID: 0} | ||
| 411 | + m_PrefabInternal: {fileID: 0} | ||
| 412 | + m_GameObject: {fileID: 1173302083} | ||
| 413 | + m_Enabled: 1 | ||
| 414 | + m_CastShadows: 1 | ||
| 415 | + m_ReceiveShadows: 1 | ||
| 416 | + m_LightmapIndex: 255 | ||
| 417 | + m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} | ||
| 418 | + m_Materials: | ||
| 419 | + - {fileID: 2100000, guid: 01779df11e1ccda45a756158a5404329, type: 2} | ||
| 420 | + m_SubsetIndices: | ||
| 421 | + m_StaticBatchRoot: {fileID: 0} | ||
| 422 | + m_UseLightProbes: 0 | ||
| 423 | + m_LightProbeAnchor: {fileID: 0} | ||
| 424 | + m_ScaleInLightmap: 1 | ||
| 425 | + m_SortingLayerID: 0 | ||
| 426 | + m_SortingOrder: 0 | ||
| 427 | +--- !u!33 &1173302086 | ||
| 428 | +MeshFilter: | ||
| 429 | + m_ObjectHideFlags: 0 | ||
| 430 | + m_PrefabParentObject: {fileID: 0} | ||
| 431 | + m_PrefabInternal: {fileID: 0} | ||
| 432 | + m_GameObject: {fileID: 1173302083} | ||
| 433 | + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} | ||
| 434 | +--- !u!65 &1173302087 | ||
| 435 | +BoxCollider: | ||
| 436 | + m_ObjectHideFlags: 0 | ||
| 437 | + m_PrefabParentObject: {fileID: 0} | ||
| 438 | + m_PrefabInternal: {fileID: 0} | ||
| 439 | + m_GameObject: {fileID: 1173302083} | ||
| 440 | + m_Material: {fileID: 0} | ||
| 441 | + m_IsTrigger: 0 | ||
| 442 | + m_Enabled: 1 | ||
| 443 | + serializedVersion: 2 | ||
| 444 | + m_Size: {x: 1, y: 1, z: 1} | ||
| 445 | + m_Center: {x: 0, y: 0, z: 0} | ||
| 446 | +--- !u!1 &1848005465 | ||
| 447 | +GameObject: | ||
| 448 | + m_ObjectHideFlags: 0 | ||
| 449 | + m_PrefabParentObject: {fileID: 0} | ||
| 450 | + m_PrefabInternal: {fileID: 0} | ||
| 451 | + serializedVersion: 4 | ||
| 452 | + m_Component: | ||
| 453 | + - 4: {fileID: 1848005466} | ||
| 454 | + - 114: {fileID: 1848005467} | ||
| 455 | + m_Layer: 0 | ||
| 456 | + m_Name: DemoInfo | ||
| 457 | + m_TagString: Untagged | ||
| 458 | + m_Icon: {fileID: 0} | ||
| 459 | + m_NavMeshLayer: 0 | ||
| 460 | + m_StaticEditorFlags: 0 | ||
| 461 | + m_IsActive: 1 | ||
| 462 | +--- !u!4 &1848005466 | ||
| 463 | +Transform: | ||
| 464 | + m_ObjectHideFlags: 0 | ||
| 465 | + m_PrefabParentObject: {fileID: 0} | ||
| 466 | + m_PrefabInternal: {fileID: 0} | ||
| 467 | + m_GameObject: {fileID: 1848005465} | ||
| 468 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 469 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 470 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 471 | + m_Children: [] | ||
| 472 | + m_Father: {fileID: 0} | ||
| 473 | + m_RootOrder: 1 | ||
| 474 | +--- !u!114 &1848005467 | ||
| 475 | +MonoBehaviour: | ||
| 476 | + m_ObjectHideFlags: 0 | ||
| 477 | + m_PrefabParentObject: {fileID: 0} | ||
| 478 | + m_PrefabInternal: {fileID: 0} | ||
| 479 | + m_GameObject: {fileID: 1848005465} | ||
| 480 | + m_Enabled: 1 | ||
| 481 | + m_EditorHideFlags: 0 | ||
| 482 | + m_Script: {fileID: 11500000, guid: 10fa3ce0e1c037e449490a4f9ca3bf99, type: 3} | ||
| 483 | + m_Name: | ||
| 484 | + m_EditorClassIdentifier: | ||
| 485 | + _title: GUI Video Play | ||
| 486 | + _description: This demo shows the video being drawing using Unitys GUI system and | ||
| 487 | + the AVProWindowsMediaGUIDisplay component. |
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!29 &1 | ||
| 4 | +SceneSettings: | ||
| 5 | + m_ObjectHideFlags: 0 | ||
| 6 | + m_PVSData: | ||
| 7 | + m_PVSObjectsArray: [] | ||
| 8 | + m_PVSPortalsArray: [] | ||
| 9 | + m_OcclusionBakeSettings: | ||
| 10 | + smallestOccluder: 5 | ||
| 11 | + smallestHole: .25 | ||
| 12 | + backfaceThreshold: 100 | ||
| 13 | +--- !u!104 &2 | ||
| 14 | +RenderSettings: | ||
| 15 | + m_Fog: 0 | ||
| 16 | + m_FogColor: {r: .5, g: .5, b: .5, a: 1} | ||
| 17 | + m_FogMode: 3 | ||
| 18 | + m_FogDensity: .00999999978 | ||
| 19 | + m_LinearFogStart: 0 | ||
| 20 | + m_LinearFogEnd: 300 | ||
| 21 | + m_AmbientLight: {r: .200000003, g: .200000003, b: .200000003, a: 1} | ||
| 22 | + m_SkyboxMaterial: {fileID: 0} | ||
| 23 | + m_HaloStrength: .5 | ||
| 24 | + m_FlareStrength: 1 | ||
| 25 | + m_FlareFadeSpeed: 3 | ||
| 26 | + m_HaloTexture: {fileID: 0} | ||
| 27 | + m_SpotCookie: {fileID: 0} | ||
| 28 | + m_ObjectHideFlags: 0 | ||
| 29 | +--- !u!127 &3 | ||
| 30 | +LevelGameManager: | ||
| 31 | + m_ObjectHideFlags: 0 | ||
| 32 | +--- !u!157 &4 | ||
| 33 | +LightmapSettings: | ||
| 34 | + m_ObjectHideFlags: 0 | ||
| 35 | + m_LightProbes: {fileID: 0} | ||
| 36 | + m_Lightmaps: [] | ||
| 37 | + m_LightmapsMode: 1 | ||
| 38 | + m_BakedColorSpace: 0 | ||
| 39 | + m_UseDualLightmapsInForward: 0 | ||
| 40 | + m_LightmapEditorSettings: | ||
| 41 | + m_Resolution: 50 | ||
| 42 | + m_LastUsedResolution: 0 | ||
| 43 | + m_TextureWidth: 1024 | ||
| 44 | + m_TextureHeight: 1024 | ||
| 45 | + m_BounceBoost: 1 | ||
| 46 | + m_BounceIntensity: 1 | ||
| 47 | + m_SkyLightColor: {r: .860000014, g: .930000007, b: 1, a: 1} | ||
| 48 | + m_SkyLightIntensity: 0 | ||
| 49 | + m_Quality: 0 | ||
| 50 | + m_Bounces: 1 | ||
| 51 | + m_FinalGatherRays: 1000 | ||
| 52 | + m_FinalGatherContrastThreshold: .0500000007 | ||
| 53 | + m_FinalGatherGradientThreshold: 0 | ||
| 54 | + m_FinalGatherInterpolationPoints: 15 | ||
| 55 | + m_AOAmount: 0 | ||
| 56 | + m_AOMaxDistance: .100000001 | ||
| 57 | + m_AOContrast: 1 | ||
| 58 | + m_LODSurfaceMappingDistance: 1 | ||
| 59 | + m_Padding: 0 | ||
| 60 | + m_TextureCompression: 0 | ||
| 61 | + m_LockAtlas: 0 | ||
| 62 | +--- !u!1 &5 | ||
| 63 | +GameObject: | ||
| 64 | + m_ObjectHideFlags: 0 | ||
| 65 | + m_PrefabParentObject: {fileID: 0} | ||
| 66 | + m_PrefabInternal: {fileID: 0} | ||
| 67 | + serializedVersion: 4 | ||
| 68 | + m_Component: | ||
| 69 | + - 4: {fileID: 6} | ||
| 70 | + - 20: {fileID: 7} | ||
| 71 | + - 92: {fileID: 8} | ||
| 72 | + - 114: {fileID: 9} | ||
| 73 | + - 114: {fileID: 13} | ||
| 74 | + - 114: {fileID: 14} | ||
| 75 | + - 114: {fileID: 15} | ||
| 76 | + - 114: {fileID: 16} | ||
| 77 | + - 114: {fileID: 17} | ||
| 78 | + m_Layer: 0 | ||
| 79 | + m_Name: Main Camera | ||
| 80 | + m_TagString: MainCamera | ||
| 81 | + m_Icon: {fileID: 0} | ||
| 82 | + m_NavMeshLayer: 0 | ||
| 83 | + m_StaticEditorFlags: 0 | ||
| 84 | + m_IsActive: 1 | ||
| 85 | +--- !u!4 &6 | ||
| 86 | +Transform: | ||
| 87 | + m_ObjectHideFlags: 0 | ||
| 88 | + m_PrefabParentObject: {fileID: 0} | ||
| 89 | + m_PrefabInternal: {fileID: 0} | ||
| 90 | + m_GameObject: {fileID: 5} | ||
| 91 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 92 | + m_LocalPosition: {x: 0, y: 0, z: -2.79980826} | ||
| 93 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 94 | + m_Children: [] | ||
| 95 | + m_Father: {fileID: 0} | ||
| 96 | + m_RootOrder: 2 | ||
| 97 | +--- !u!20 &7 | ||
| 98 | +Camera: | ||
| 99 | + m_ObjectHideFlags: 0 | ||
| 100 | + m_PrefabParentObject: {fileID: 0} | ||
| 101 | + m_PrefabInternal: {fileID: 0} | ||
| 102 | + m_GameObject: {fileID: 5} | ||
| 103 | + m_Enabled: 1 | ||
| 104 | + serializedVersion: 2 | ||
| 105 | + m_ClearFlags: 2 | ||
| 106 | + m_BackGroundColor: {r: 0, g: 0, b: 0, a: .0196078438} | ||
| 107 | + m_NormalizedViewPortRect: | ||
| 108 | + serializedVersion: 2 | ||
| 109 | + x: 0 | ||
| 110 | + y: 0 | ||
| 111 | + width: 1 | ||
| 112 | + height: 1 | ||
| 113 | + near clip plane: .300000012 | ||
| 114 | + far clip plane: 1000 | ||
| 115 | + field of view: 60 | ||
| 116 | + orthographic: 0 | ||
| 117 | + orthographic size: 100 | ||
| 118 | + m_Depth: 0 | ||
| 119 | + m_CullingMask: | ||
| 120 | + serializedVersion: 2 | ||
| 121 | + m_Bits: 4294967295 | ||
| 122 | + m_RenderingPath: -1 | ||
| 123 | + m_TargetTexture: {fileID: 0} | ||
| 124 | + m_TargetDisplay: 0 | ||
| 125 | + m_HDR: 0 | ||
| 126 | + m_OcclusionCulling: 0 | ||
| 127 | + m_StereoConvergence: 10 | ||
| 128 | + m_StereoSeparation: .0219999999 | ||
| 129 | +--- !u!92 &8 | ||
| 130 | +Behaviour: | ||
| 131 | + m_ObjectHideFlags: 0 | ||
| 132 | + m_PrefabParentObject: {fileID: 0} | ||
| 133 | + m_PrefabInternal: {fileID: 0} | ||
| 134 | + m_GameObject: {fileID: 5} | ||
| 135 | + m_Enabled: 1 | ||
| 136 | +--- !u!114 &9 | ||
| 137 | +MonoBehaviour: | ||
| 138 | + m_ObjectHideFlags: 0 | ||
| 139 | + m_PrefabParentObject: {fileID: 0} | ||
| 140 | + m_PrefabInternal: {fileID: 0} | ||
| 141 | + m_GameObject: {fileID: 5} | ||
| 142 | + m_Enabled: 1 | ||
| 143 | + m_EditorHideFlags: 0 | ||
| 144 | + m_Script: {fileID: 11500000, guid: 56fbcade19d816c4d916df81e1237475, type: 3} | ||
| 145 | + m_Name: | ||
| 146 | + m_EditorClassIdentifier: | ||
| 147 | + _movie: {fileID: 1853078888} | ||
| 148 | + _scaleMode: 2 | ||
| 149 | + _color: {r: 1, g: 1, b: 1, a: 1} | ||
| 150 | + _alphaBlend: 0 | ||
| 151 | + _fullScreen: 1 | ||
| 152 | + _depth: 2 | ||
| 153 | + _x: 0 | ||
| 154 | + _y: 0 | ||
| 155 | + _width: 1 | ||
| 156 | + _height: 1 | ||
| 157 | +--- !u!196 &11 | ||
| 158 | +NavMeshSettings: | ||
| 159 | + m_ObjectHideFlags: 0 | ||
| 160 | + m_BuildSettings: | ||
| 161 | + agentRadius: .5 | ||
| 162 | + agentHeight: 2 | ||
| 163 | + agentSlope: 45 | ||
| 164 | + agentClimb: .400000006 | ||
| 165 | + ledgeDropHeight: 0 | ||
| 166 | + maxJumpAcrossDistance: 0 | ||
| 167 | + accuratePlacement: 0 | ||
| 168 | + minRegionArea: 2 | ||
| 169 | + widthInaccuracy: 16.666666 | ||
| 170 | + heightInaccuracy: 10 | ||
| 171 | + m_NavMesh: {fileID: 0} | ||
| 172 | +--- !u!114 &13 | ||
| 173 | +MonoBehaviour: | ||
| 174 | + m_ObjectHideFlags: 0 | ||
| 175 | + m_PrefabParentObject: {fileID: 0} | ||
| 176 | + m_PrefabInternal: {fileID: 0} | ||
| 177 | + m_GameObject: {fileID: 5} | ||
| 178 | + m_Enabled: 1 | ||
| 179 | + m_EditorHideFlags: 0 | ||
| 180 | + m_Script: {fileID: 11500000, guid: 56fbcade19d816c4d916df81e1237475, type: 3} | ||
| 181 | + m_Name: | ||
| 182 | + m_EditorClassIdentifier: | ||
| 183 | + _movie: {fileID: 1853078888} | ||
| 184 | + _scaleMode: 0 | ||
| 185 | + _color: {r: 1, g: 1, b: 1, a: 1} | ||
| 186 | + _alphaBlend: 0 | ||
| 187 | + _fullScreen: 0 | ||
| 188 | + _depth: 1 | ||
| 189 | + _x: .800000012 | ||
| 190 | + _y: 0 | ||
| 191 | + _width: .209999993 | ||
| 192 | + _height: .200000003 | ||
| 193 | +--- !u!114 &14 | ||
| 194 | +MonoBehaviour: | ||
| 195 | + m_ObjectHideFlags: 0 | ||
| 196 | + m_PrefabParentObject: {fileID: 0} | ||
| 197 | + m_PrefabInternal: {fileID: 0} | ||
| 198 | + m_GameObject: {fileID: 5} | ||
| 199 | + m_Enabled: 1 | ||
| 200 | + m_EditorHideFlags: 0 | ||
| 201 | + m_Script: {fileID: 11500000, guid: 56fbcade19d816c4d916df81e1237475, type: 3} | ||
| 202 | + m_Name: | ||
| 203 | + m_EditorClassIdentifier: | ||
| 204 | + _movie: {fileID: 1853078888} | ||
| 205 | + _scaleMode: 0 | ||
| 206 | + _color: {r: 1, g: 1, b: 1, a: 1} | ||
| 207 | + _alphaBlend: 0 | ||
| 208 | + _fullScreen: 0 | ||
| 209 | + _depth: 1 | ||
| 210 | + _x: .800000012 | ||
| 211 | + _y: .200000003 | ||
| 212 | + _width: .209999993 | ||
| 213 | + _height: .200000003 | ||
| 214 | +--- !u!114 &15 | ||
| 215 | +MonoBehaviour: | ||
| 216 | + m_ObjectHideFlags: 0 | ||
| 217 | + m_PrefabParentObject: {fileID: 0} | ||
| 218 | + m_PrefabInternal: {fileID: 0} | ||
| 219 | + m_GameObject: {fileID: 5} | ||
| 220 | + m_Enabled: 1 | ||
| 221 | + m_EditorHideFlags: 0 | ||
| 222 | + m_Script: {fileID: 11500000, guid: 56fbcade19d816c4d916df81e1237475, type: 3} | ||
| 223 | + m_Name: | ||
| 224 | + m_EditorClassIdentifier: | ||
| 225 | + _movie: {fileID: 1853078888} | ||
| 226 | + _scaleMode: 0 | ||
| 227 | + _color: {r: 1, g: 1, b: 1, a: 1} | ||
| 228 | + _alphaBlend: 0 | ||
| 229 | + _fullScreen: 0 | ||
| 230 | + _depth: 0 | ||
| 231 | + _x: 0 | ||
| 232 | + _y: .800000012 | ||
| 233 | + _width: .200000003 | ||
| 234 | + _height: .209999993 | ||
| 235 | +--- !u!114 &16 | ||
| 236 | +MonoBehaviour: | ||
| 237 | + m_ObjectHideFlags: 0 | ||
| 238 | + m_PrefabParentObject: {fileID: 0} | ||
| 239 | + m_PrefabInternal: {fileID: 0} | ||
| 240 | + m_GameObject: {fileID: 5} | ||
| 241 | + m_Enabled: 1 | ||
| 242 | + m_EditorHideFlags: 0 | ||
| 243 | + m_Script: {fileID: 11500000, guid: 56fbcade19d816c4d916df81e1237475, type: 3} | ||
| 244 | + m_Name: | ||
| 245 | + m_EditorClassIdentifier: | ||
| 246 | + _movie: {fileID: 1853078888} | ||
| 247 | + _scaleMode: 0 | ||
| 248 | + _color: {r: 1, g: 1, b: 1, a: 1} | ||
| 249 | + _alphaBlend: 0 | ||
| 250 | + _fullScreen: 0 | ||
| 251 | + _depth: 0 | ||
| 252 | + _x: 0 | ||
| 253 | + _y: .600000024 | ||
| 254 | + _width: .200000003 | ||
| 255 | + _height: .200000003 | ||
| 256 | +--- !u!114 &17 | ||
| 257 | +MonoBehaviour: | ||
| 258 | + m_ObjectHideFlags: 0 | ||
| 259 | + m_PrefabParentObject: {fileID: 0} | ||
| 260 | + m_PrefabInternal: {fileID: 0} | ||
| 261 | + m_GameObject: {fileID: 5} | ||
| 262 | + m_Enabled: 1 | ||
| 263 | + m_EditorHideFlags: 0 | ||
| 264 | + m_Script: {fileID: 11500000, guid: e97ef6d0bfd7238498bb990e58ae4ca2, type: 3} | ||
| 265 | + m_Name: | ||
| 266 | + m_EditorClassIdentifier: | ||
| 267 | + _logVideoLoads: 1 | ||
| 268 | + _useExternalTextures: 0 | ||
| 269 | +--- !u!1 &378954966 | ||
| 270 | +GameObject: | ||
| 271 | + m_ObjectHideFlags: 0 | ||
| 272 | + m_PrefabParentObject: {fileID: 0} | ||
| 273 | + m_PrefabInternal: {fileID: 0} | ||
| 274 | + serializedVersion: 4 | ||
| 275 | + m_Component: | ||
| 276 | + - 4: {fileID: 378954967} | ||
| 277 | + - 108: {fileID: 378954968} | ||
| 278 | + m_Layer: 0 | ||
| 279 | + m_Name: Point light | ||
| 280 | + m_TagString: Untagged | ||
| 281 | + m_Icon: {fileID: 0} | ||
| 282 | + m_NavMeshLayer: 0 | ||
| 283 | + m_StaticEditorFlags: 0 | ||
| 284 | + m_IsActive: 1 | ||
| 285 | +--- !u!4 &378954967 | ||
| 286 | +Transform: | ||
| 287 | + m_ObjectHideFlags: 0 | ||
| 288 | + m_PrefabParentObject: {fileID: 0} | ||
| 289 | + m_PrefabInternal: {fileID: 0} | ||
| 290 | + m_GameObject: {fileID: 378954966} | ||
| 291 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 292 | + m_LocalPosition: {x: 0, y: 0, z: -2.31003428} | ||
| 293 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 294 | + m_Children: [] | ||
| 295 | + m_Father: {fileID: 0} | ||
| 296 | + m_RootOrder: 4 | ||
| 297 | +--- !u!108 &378954968 | ||
| 298 | +Light: | ||
| 299 | + m_ObjectHideFlags: 0 | ||
| 300 | + m_PrefabParentObject: {fileID: 0} | ||
| 301 | + m_PrefabInternal: {fileID: 0} | ||
| 302 | + m_GameObject: {fileID: 378954966} | ||
| 303 | + m_Enabled: 1 | ||
| 304 | + serializedVersion: 3 | ||
| 305 | + m_Type: 2 | ||
| 306 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 307 | + m_Intensity: 1 | ||
| 308 | + m_Range: 10 | ||
| 309 | + m_SpotAngle: 30 | ||
| 310 | + m_CookieSize: 10 | ||
| 311 | + m_Shadows: | ||
| 312 | + m_Type: 0 | ||
| 313 | + m_Resolution: -1 | ||
| 314 | + m_Strength: 1 | ||
| 315 | + m_Bias: .0500000007 | ||
| 316 | + m_Softness: 4 | ||
| 317 | + m_SoftnessFade: 1 | ||
| 318 | + m_Cookie: {fileID: 0} | ||
| 319 | + m_DrawHalo: 0 | ||
| 320 | + m_ActuallyLightmapped: 0 | ||
| 321 | + m_Flare: {fileID: 0} | ||
| 322 | + m_RenderMode: 0 | ||
| 323 | + m_CullingMask: | ||
| 324 | + serializedVersion: 2 | ||
| 325 | + m_Bits: 4294967295 | ||
| 326 | + m_Lightmapping: 1 | ||
| 327 | + m_ShadowSamples: 1 | ||
| 328 | + m_ShadowRadius: 0 | ||
| 329 | + m_ShadowAngle: 0 | ||
| 330 | + m_IndirectIntensity: 1 | ||
| 331 | + m_AreaSize: {x: 1, y: 1} | ||
| 332 | +--- !u!1 &1173302083 | ||
| 333 | +GameObject: | ||
| 334 | + m_ObjectHideFlags: 0 | ||
| 335 | + m_PrefabParentObject: {fileID: 0} | ||
| 336 | + m_PrefabInternal: {fileID: 0} | ||
| 337 | + serializedVersion: 4 | ||
| 338 | + m_Component: | ||
| 339 | + - 4: {fileID: 1173302084} | ||
| 340 | + - 33: {fileID: 1173302086} | ||
| 341 | + - 23: {fileID: 1173302085} | ||
| 342 | + m_Layer: 0 | ||
| 343 | + m_Name: Cube | ||
| 344 | + m_TagString: Untagged | ||
| 345 | + m_Icon: {fileID: 0} | ||
| 346 | + m_NavMeshLayer: 0 | ||
| 347 | + m_StaticEditorFlags: 0 | ||
| 348 | + m_IsActive: 1 | ||
| 349 | +--- !u!4 &1173302084 | ||
| 350 | +Transform: | ||
| 351 | + m_ObjectHideFlags: 0 | ||
| 352 | + m_PrefabParentObject: {fileID: 0} | ||
| 353 | + m_PrefabInternal: {fileID: 0} | ||
| 354 | + m_GameObject: {fileID: 1173302083} | ||
| 355 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 356 | + m_LocalPosition: {x: 0, y: 0, z: .955755949} | ||
| 357 | + m_LocalScale: {x: 4.24944258, y: 4.24944258, z: 4.24944258} | ||
| 358 | + m_Children: [] | ||
| 359 | + m_Father: {fileID: 0} | ||
| 360 | + m_RootOrder: 0 | ||
| 361 | +--- !u!23 &1173302085 | ||
| 362 | +Renderer: | ||
| 363 | + m_ObjectHideFlags: 0 | ||
| 364 | + m_PrefabParentObject: {fileID: 0} | ||
| 365 | + m_PrefabInternal: {fileID: 0} | ||
| 366 | + m_GameObject: {fileID: 1173302083} | ||
| 367 | + m_Enabled: 1 | ||
| 368 | + m_CastShadows: 0 | ||
| 369 | + m_ReceiveShadows: 0 | ||
| 370 | + m_LightmapIndex: 255 | ||
| 371 | + m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} | ||
| 372 | + m_Materials: | ||
| 373 | + - {fileID: 2100000, guid: 01779df11e1ccda45a756158a5404329, type: 2} | ||
| 374 | + m_SubsetIndices: | ||
| 375 | + m_StaticBatchRoot: {fileID: 0} | ||
| 376 | + m_UseLightProbes: 0 | ||
| 377 | + m_LightProbeAnchor: {fileID: 0} | ||
| 378 | + m_ScaleInLightmap: 1 | ||
| 379 | + m_SortingLayerID: 0 | ||
| 380 | + m_SortingOrder: 0 | ||
| 381 | +--- !u!33 &1173302086 | ||
| 382 | +MeshFilter: | ||
| 383 | + m_ObjectHideFlags: 0 | ||
| 384 | + m_PrefabParentObject: {fileID: 0} | ||
| 385 | + m_PrefabInternal: {fileID: 0} | ||
| 386 | + m_GameObject: {fileID: 1173302083} | ||
| 387 | + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} | ||
| 388 | +--- !u!1 &1848005465 | ||
| 389 | +GameObject: | ||
| 390 | + m_ObjectHideFlags: 0 | ||
| 391 | + m_PrefabParentObject: {fileID: 0} | ||
| 392 | + m_PrefabInternal: {fileID: 0} | ||
| 393 | + serializedVersion: 4 | ||
| 394 | + m_Component: | ||
| 395 | + - 4: {fileID: 1848005466} | ||
| 396 | + - 114: {fileID: 1848005467} | ||
| 397 | + m_Layer: 0 | ||
| 398 | + m_Name: DemoInfo | ||
| 399 | + m_TagString: Untagged | ||
| 400 | + m_Icon: {fileID: 0} | ||
| 401 | + m_NavMeshLayer: 0 | ||
| 402 | + m_StaticEditorFlags: 0 | ||
| 403 | + m_IsActive: 1 | ||
| 404 | +--- !u!4 &1848005466 | ||
| 405 | +Transform: | ||
| 406 | + m_ObjectHideFlags: 0 | ||
| 407 | + m_PrefabParentObject: {fileID: 0} | ||
| 408 | + m_PrefabInternal: {fileID: 0} | ||
| 409 | + m_GameObject: {fileID: 1848005465} | ||
| 410 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 411 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 412 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 413 | + m_Children: [] | ||
| 414 | + m_Father: {fileID: 0} | ||
| 415 | + m_RootOrder: 1 | ||
| 416 | +--- !u!114 &1848005467 | ||
| 417 | +MonoBehaviour: | ||
| 418 | + m_ObjectHideFlags: 0 | ||
| 419 | + m_PrefabParentObject: {fileID: 0} | ||
| 420 | + m_PrefabInternal: {fileID: 0} | ||
| 421 | + m_GameObject: {fileID: 1848005465} | ||
| 422 | + m_Enabled: 1 | ||
| 423 | + m_EditorHideFlags: 0 | ||
| 424 | + m_Script: {fileID: 11500000, guid: 10fa3ce0e1c037e449490a4f9ca3bf99, type: 3} | ||
| 425 | + m_Name: | ||
| 426 | + m_EditorClassIdentifier: | ||
| 427 | + _title: Load Video From Resources | ||
| 428 | + _description: This demo shows how you can load videos via embedded resources. This | ||
| 429 | + means video files don't have to be exposed on the file system. | ||
| 430 | +--- !u!1 &1853078886 | ||
| 431 | +GameObject: | ||
| 432 | + m_ObjectHideFlags: 0 | ||
| 433 | + m_PrefabParentObject: {fileID: 0} | ||
| 434 | + m_PrefabInternal: {fileID: 0} | ||
| 435 | + serializedVersion: 4 | ||
| 436 | + m_Component: | ||
| 437 | + - 4: {fileID: 1853078887} | ||
| 438 | + - 114: {fileID: 1853078888} | ||
| 439 | + m_Layer: 0 | ||
| 440 | + m_Name: Movie | ||
| 441 | + m_TagString: Untagged | ||
| 442 | + m_Icon: {fileID: 0} | ||
| 443 | + m_NavMeshLayer: 0 | ||
| 444 | + m_StaticEditorFlags: 0 | ||
| 445 | + m_IsActive: 1 | ||
| 446 | +--- !u!4 &1853078887 | ||
| 447 | +Transform: | ||
| 448 | + m_ObjectHideFlags: 0 | ||
| 449 | + m_PrefabParentObject: {fileID: 0} | ||
| 450 | + m_PrefabInternal: {fileID: 0} | ||
| 451 | + m_GameObject: {fileID: 1853078886} | ||
| 452 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 453 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 454 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 455 | + m_Children: [] | ||
| 456 | + m_Father: {fileID: 0} | ||
| 457 | + m_RootOrder: 3 | ||
| 458 | +--- !u!114 &1853078888 | ||
| 459 | +MonoBehaviour: | ||
| 460 | + m_ObjectHideFlags: 0 | ||
| 461 | + m_PrefabParentObject: {fileID: 0} | ||
| 462 | + m_PrefabInternal: {fileID: 0} | ||
| 463 | + m_GameObject: {fileID: 1853078886} | ||
| 464 | + m_Enabled: 1 | ||
| 465 | + m_EditorHideFlags: 0 | ||
| 466 | + m_Script: {fileID: 11500000, guid: 2df04248ef245394480708fe199a466e, type: 3} | ||
| 467 | + m_Name: | ||
| 468 | + m_EditorClassIdentifier: | ||
| 469 | + _folder: | ||
| 470 | + _filename: bluevideo | ||
| 471 | + _useStreamingAssetsPath: 0 | ||
| 472 | + _loop: 1 | ||
| 473 | + _colourFormat: 2 | ||
| 474 | + _allowAudio: 1 | ||
| 475 | + _useAudioDelay: 0 | ||
| 476 | + _useAudioMixer: 0 | ||
| 477 | + _useDisplaySync: 0 | ||
| 478 | + _loadOnStart: 1 | ||
| 479 | + _playOnStart: 1 | ||
| 480 | + _editorPreview: 0 | ||
| 481 | + _ignoreFlips: 1 | ||
| 482 | + _volume: 1 | ||
| 483 | + _audioBalance: 0 | ||
| 484 | + _textureFilterMode: 1 | ||
| 485 | + _textureWrapMode: 1 | ||
| 486 | + _clips: [] |
No preview for this file type
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | + | ||
| 4 | +public class AVProWindowsMediaMaterialMappingDemo : MonoBehaviour | ||
| 5 | +{ | ||
| 6 | + public GUISkin _skin; | ||
| 7 | + public AVProWindowsMediaMovie _movie; | ||
| 8 | + | ||
| 9 | + | ||
| 10 | + private bool _visible = true; | ||
| 11 | + private float _alpha = 1.0f; | ||
| 12 | + | ||
| 13 | + public void OnGUI() | ||
| 14 | + { | ||
| 15 | + GUI.skin = _skin; | ||
| 16 | + | ||
| 17 | + if (_visible) | ||
| 18 | + { | ||
| 19 | + GUI.color = new Color(1f, 1f, 1f, _alpha); | ||
| 20 | + GUILayout.BeginArea(new Rect(0, 0, 740, 300), GUI.skin.box); | ||
| 21 | + ControlWindow(0); | ||
| 22 | + GUILayout.EndArea(); | ||
| 23 | + } | ||
| 24 | + GUI.color = new Color(1f, 1f, 1f, 1f - _alpha); | ||
| 25 | + GUI.Box(new Rect(0, 0, 128, 32), "Demo Controls"); | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + void Update() | ||
| 29 | + { | ||
| 30 | + Rect r = new Rect(0, 0, 740, 310); | ||
| 31 | + if (r.Contains(new Vector2(Input.mousePosition.x, Screen.height - Input.mousePosition.y))) | ||
| 32 | + { | ||
| 33 | + _visible = true; | ||
| 34 | + _alpha = 1.0f; | ||
| 35 | + } | ||
| 36 | + else | ||
| 37 | + { | ||
| 38 | + _alpha -= Time.deltaTime * 4f; | ||
| 39 | + if (_alpha <= 0.0f) | ||
| 40 | + { | ||
| 41 | + _alpha = 0.0f; | ||
| 42 | + _visible = false; | ||
| 43 | + } | ||
| 44 | + } | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + public void ControlWindow(int id) | ||
| 48 | + { | ||
| 49 | + if (_movie == null) | ||
| 50 | + return; | ||
| 51 | + | ||
| 52 | + GUILayout.Space(16f); | ||
| 53 | + | ||
| 54 | + GUILayout.BeginVertical(); | ||
| 55 | + | ||
| 56 | + GUILayout.BeginHorizontal(); | ||
| 57 | + GUILayout.Label("Folder: ", GUILayout.Width(80)); | ||
| 58 | + _movie._folder = GUILayout.TextField(_movie._folder, 192); | ||
| 59 | + GUILayout.EndHorizontal(); | ||
| 60 | + | ||
| 61 | + GUILayout.BeginHorizontal(); | ||
| 62 | + GUILayout.Label("File: ", GUILayout.Width(80)); | ||
| 63 | + _movie._filename = GUILayout.TextField(_movie._filename, 128, GUILayout.Width(440)); | ||
| 64 | + if (GUILayout.Button("Load File", GUILayout.Width(90))) | ||
| 65 | + { | ||
| 66 | + _movie.LoadMovie(true); | ||
| 67 | + } | ||
| 68 | + GUILayout.EndHorizontal(); | ||
| 69 | + | ||
| 70 | + bool alphaBlend = _movie._colourFormat == AVProWindowsMediaMovie.ColourFormat.RGBA32; | ||
| 71 | + if (alphaBlend) | ||
| 72 | + alphaBlend = GUILayout.Toggle(alphaBlend, "Render with Transparency (requires movie reload)"); | ||
| 73 | + else | ||
| 74 | + alphaBlend = GUILayout.Toggle(alphaBlend, "Render without Transparency"); | ||
| 75 | + | ||
| 76 | + if (alphaBlend) | ||
| 77 | + { | ||
| 78 | + _movie._colourFormat = AVProWindowsMediaMovie.ColourFormat.RGBA32; | ||
| 79 | + } | ||
| 80 | + else | ||
| 81 | + { | ||
| 82 | + _movie._colourFormat = AVProWindowsMediaMovie.ColourFormat.YCbCr_HD; | ||
| 83 | + } | ||
| 84 | + | ||
| 85 | + | ||
| 86 | + AVProWindowsMedia moviePlayer = _movie.MovieInstance; | ||
| 87 | + if (moviePlayer != null) | ||
| 88 | + { | ||
| 89 | + GUILayout.BeginHorizontal(); | ||
| 90 | + GUILayout.Label("Info:", GUILayout.Width(80f)); | ||
| 91 | + GUILayout.Label(moviePlayer.Width + "x" + moviePlayer.Height + " @ " + moviePlayer.FrameRate.ToString("F2") + " FPS"); | ||
| 92 | + GUILayout.EndHorizontal(); | ||
| 93 | + | ||
| 94 | + GUILayout.BeginHorizontal(); | ||
| 95 | + GUILayout.Label("Volume ", GUILayout.Width(80)); | ||
| 96 | + float volume = _movie._volume; | ||
| 97 | + float newVolume = GUILayout.HorizontalSlider(volume, 0.0f, 1.0f, GUILayout.Width(200)); | ||
| 98 | + if (volume != newVolume) | ||
| 99 | + { | ||
| 100 | + _movie._volume = newVolume; | ||
| 101 | + } | ||
| 102 | + GUILayout.Label(_movie._volume.ToString("F1")); | ||
| 103 | + GUILayout.EndHorizontal(); | ||
| 104 | + | ||
| 105 | + | ||
| 106 | + GUILayout.BeginHorizontal(); | ||
| 107 | + GUILayout.Label("Balance ", GUILayout.Width(80)); | ||
| 108 | + float balance = moviePlayer.AudioBalance; | ||
| 109 | + float newBalance = GUILayout.HorizontalSlider(balance, -1.0f, 1.0f, GUILayout.Width(200)); | ||
| 110 | + if (balance != newBalance) | ||
| 111 | + { | ||
| 112 | + moviePlayer.AudioBalance = newBalance; | ||
| 113 | + } | ||
| 114 | + GUILayout.Label(moviePlayer.AudioBalance.ToString("F1")); | ||
| 115 | + GUILayout.EndHorizontal(); | ||
| 116 | + | ||
| 117 | + | ||
| 118 | + GUILayout.BeginHorizontal(); | ||
| 119 | + GUILayout.Label("Time ", GUILayout.Width(80)); | ||
| 120 | + float position = moviePlayer.PositionSeconds; | ||
| 121 | + float newPosition = GUILayout.HorizontalSlider(position, 0.0f, moviePlayer.DurationSeconds, GUILayout.Width(200)); | ||
| 122 | + if (position != newPosition) | ||
| 123 | + { | ||
| 124 | + moviePlayer.PositionSeconds = newPosition; | ||
| 125 | + } | ||
| 126 | + GUILayout.Label(moviePlayer.PositionSeconds.ToString("F1") + " / " + moviePlayer.DurationSeconds.ToString("F1") + "s"); | ||
| 127 | + | ||
| 128 | + if (GUILayout.Button("Play")) | ||
| 129 | + { | ||
| 130 | + moviePlayer.Play(); | ||
| 131 | + } | ||
| 132 | + if (GUILayout.Button("Pause")) | ||
| 133 | + { | ||
| 134 | + moviePlayer.Pause(); | ||
| 135 | + } | ||
| 136 | + GUILayout.EndHorizontal(); | ||
| 137 | + | ||
| 138 | + | ||
| 139 | + GUILayout.BeginHorizontal(); | ||
| 140 | + GUILayout.Label("Frame", GUILayout.Width(80f)); | ||
| 141 | + GUILayout.Label(moviePlayer.PositionFrames.ToString() + " / " + moviePlayer.DurationFrames.ToString()); | ||
| 142 | + | ||
| 143 | + if (GUILayout.Button("<", GUILayout.Width(50))) | ||
| 144 | + { | ||
| 145 | + moviePlayer.Pause(); | ||
| 146 | + if (moviePlayer.PositionFrames > 0) | ||
| 147 | + { | ||
| 148 | + moviePlayer.PositionFrames--; | ||
| 149 | + } | ||
| 150 | + } | ||
| 151 | + if (GUILayout.Button(">", GUILayout.Width(50))) | ||
| 152 | + { | ||
| 153 | + moviePlayer.Pause(); | ||
| 154 | + if (moviePlayer.PositionFrames < moviePlayer.DurationFrames) | ||
| 155 | + { | ||
| 156 | + moviePlayer.PositionFrames++; | ||
| 157 | + } | ||
| 158 | + } | ||
| 159 | + | ||
| 160 | + GUILayout.EndHorizontal(); | ||
| 161 | + | ||
| 162 | + | ||
| 163 | + | ||
| 164 | + GUILayout.BeginHorizontal(); | ||
| 165 | + GUILayout.Label("Rate ", GUILayout.Width(80f)); | ||
| 166 | + GUILayout.Label(moviePlayer.PlaybackRate.ToString("F2") + "x"); | ||
| 167 | + if (GUILayout.Button("-", GUILayout.Width(50))) | ||
| 168 | + { | ||
| 169 | + moviePlayer.PlaybackRate = moviePlayer.PlaybackRate * 0.5f; | ||
| 170 | + } | ||
| 171 | + | ||
| 172 | + if (GUILayout.Button("+", GUILayout.Width(50))) | ||
| 173 | + { | ||
| 174 | + moviePlayer.PlaybackRate = moviePlayer.PlaybackRate * 2.0f; | ||
| 175 | + } | ||
| 176 | + GUILayout.EndHorizontal(); | ||
| 177 | + } | ||
| 178 | + | ||
| 179 | + GUILayout.EndVertical(); | ||
| 180 | + } | ||
| 181 | +} |
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | +using System.IO; | ||
| 4 | +using System.Runtime.InteropServices; | ||
| 5 | + | ||
| 6 | +public class AVProWindowsMediaPlayVideoDemo : MonoBehaviour | ||
| 7 | +{ | ||
| 8 | + public GUISkin _skin; | ||
| 9 | + public AVProWindowsMediaMovie _movie; | ||
| 10 | + public AVProWindowsMediaGUIDisplay _display; | ||
| 11 | + | ||
| 12 | + private bool _visible = true; | ||
| 13 | + private float _alpha = 1.0f; | ||
| 14 | + private bool _playFromMemory = false; | ||
| 15 | + | ||
| 16 | + private GCHandle _bytesHandle; | ||
| 17 | + private System.IntPtr _moviePtr; | ||
| 18 | + private uint _movieLength; | ||
| 19 | + | ||
| 20 | + private void ReleaseMemoryFile() | ||
| 21 | + { | ||
| 22 | + if (_bytesHandle.IsAllocated) | ||
| 23 | + _bytesHandle.Free(); | ||
| 24 | + _moviePtr = System.IntPtr.Zero; | ||
| 25 | + _movieLength = 0; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + private void LoadFileToMemory(string folder, string filename) | ||
| 29 | + { | ||
| 30 | +#if !UNITY_WEBPLAYER | ||
| 31 | + string filePath = Path.Combine(folder, filename); | ||
| 32 | + | ||
| 33 | + // If we're running outside of the editor we may need to resolve the relative path | ||
| 34 | + // as the working-directory may not be that of the application EXE. | ||
| 35 | + if (!Application.isEditor && !Path.IsPathRooted(filePath)) | ||
| 36 | + { | ||
| 37 | + string rootPath = Path.GetFullPath(Path.Combine(Application.dataPath, "..")); | ||
| 38 | + filePath = Path.Combine(rootPath, filePath); | ||
| 39 | + } | ||
| 40 | + | ||
| 41 | + ReleaseMemoryFile(); | ||
| 42 | + if (File.Exists(filePath)) | ||
| 43 | + { | ||
| 44 | + byte[] bytes = System.IO.File.ReadAllBytes(filePath); | ||
| 45 | + if (bytes.Length > 0) | ||
| 46 | + { | ||
| 47 | + _bytesHandle = GCHandle.Alloc(bytes, GCHandleType.Pinned); | ||
| 48 | + _moviePtr = _bytesHandle.AddrOfPinnedObject(); | ||
| 49 | + _movieLength = (uint)bytes.Length; | ||
| 50 | + | ||
| 51 | + _movie.LoadMovieFromMemory(true, filename, _moviePtr, _movieLength, FilterMode.Bilinear, TextureWrapMode.Clamp); | ||
| 52 | + } | ||
| 53 | + } | ||
| 54 | +#else | ||
| 55 | + Debug.LogError("[AVProWindowsMedia] Loading from memory not supported on this platform. Change platform to Standalone."); | ||
| 56 | +#endif | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + public void OnGUI() | ||
| 60 | + { | ||
| 61 | + GUI.skin = _skin; | ||
| 62 | + | ||
| 63 | + if (_visible) | ||
| 64 | + { | ||
| 65 | + GUI.color = new Color(1f, 1f, 1f, _alpha); | ||
| 66 | + GUILayout.BeginArea(new Rect(0, 0, 740, 350), GUI.skin.box); | ||
| 67 | + ControlWindow(0); | ||
| 68 | + GUILayout.EndArea(); | ||
| 69 | + } | ||
| 70 | + GUI.color = new Color(1f, 1f, 1f, 1f - _alpha); | ||
| 71 | + GUI.Box(new Rect(0, 0, 128, 32), "Demo Controls"); | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + void Update() | ||
| 75 | + { | ||
| 76 | + Rect r = new Rect(0, 0, 740, 350); | ||
| 77 | + if (r.Contains(new Vector2(Input.mousePosition.x, Screen.height - Input.mousePosition.y))) | ||
| 78 | + { | ||
| 79 | + _visible = true; | ||
| 80 | + _alpha = 1.0f; | ||
| 81 | + } | ||
| 82 | + else | ||
| 83 | + { | ||
| 84 | + _alpha -= Time.deltaTime * 4f; | ||
| 85 | + if (_alpha <= 0.0f) | ||
| 86 | + { | ||
| 87 | + _alpha = 0.0f; | ||
| 88 | + _visible = false; | ||
| 89 | + } | ||
| 90 | + } | ||
| 91 | + } | ||
| 92 | + | ||
| 93 | + public void ControlWindow(int id) | ||
| 94 | + { | ||
| 95 | + if (_movie == null) | ||
| 96 | + return; | ||
| 97 | + | ||
| 98 | + GUILayout.Space(16f); | ||
| 99 | + | ||
| 100 | + GUILayout.BeginVertical(); | ||
| 101 | + | ||
| 102 | + GUILayout.BeginHorizontal(); | ||
| 103 | + GUILayout.Label("Folder: ", GUILayout.Width(100)); | ||
| 104 | + _movie._folder = GUILayout.TextField(_movie._folder, 192); | ||
| 105 | + GUILayout.EndHorizontal(); | ||
| 106 | + | ||
| 107 | + GUILayout.BeginHorizontal(); | ||
| 108 | + GUILayout.Label("File: ", GUILayout.Width(100)); | ||
| 109 | + _movie._filename = GUILayout.TextField(_movie._filename, 128, GUILayout.Width(440)); | ||
| 110 | + if (GUILayout.Button("Load File", GUILayout.Width(90))) | ||
| 111 | + { | ||
| 112 | + if (!_playFromMemory) | ||
| 113 | + { | ||
| 114 | + _movie.LoadMovie(true); | ||
| 115 | + } | ||
| 116 | + else | ||
| 117 | + { | ||
| 118 | + LoadFileToMemory(_movie._folder, _movie._filename); | ||
| 119 | + } | ||
| 120 | + } | ||
| 121 | + GUILayout.EndHorizontal(); | ||
| 122 | + | ||
| 123 | + | ||
| 124 | + if (_display != null) | ||
| 125 | + { | ||
| 126 | + GUILayout.BeginHorizontal(); | ||
| 127 | + GUILayout.Space(100f); | ||
| 128 | + /*if (_display._alphaBlend) | ||
| 129 | + _display._alphaBlend = GUILayout.Toggle(_display._alphaBlend, "Rendering with Transparency"); | ||
| 130 | + else | ||
| 131 | + _display._alphaBlend = GUILayout.Toggle(_display._alphaBlend, "Rendering without Transparency");*/ | ||
| 132 | + | ||
| 133 | + if (_display._alphaBlend != GUILayout.Toggle(_display._alphaBlend, "Render with Transparency")) | ||
| 134 | + { | ||
| 135 | + _display._alphaBlend = !_display._alphaBlend; | ||
| 136 | + if (_display._alphaBlend) | ||
| 137 | + { | ||
| 138 | + _movie._colourFormat = AVProWindowsMediaMovie.ColourFormat.RGBA32; | ||
| 139 | + } | ||
| 140 | + else | ||
| 141 | + { | ||
| 142 | + _movie._colourFormat = AVProWindowsMediaMovie.ColourFormat.YCbCr_HD; | ||
| 143 | + } | ||
| 144 | + | ||
| 145 | + if (!_playFromMemory) | ||
| 146 | + { | ||
| 147 | + _movie.LoadMovie(true); | ||
| 148 | + } | ||
| 149 | + else | ||
| 150 | + { | ||
| 151 | + LoadFileToMemory(_movie._folder, _movie._filename); | ||
| 152 | + } | ||
| 153 | + } | ||
| 154 | + | ||
| 155 | + | ||
| 156 | + | ||
| 157 | + if (_playFromMemory != GUILayout.Toggle(_playFromMemory, "Play from Memory")) | ||
| 158 | + { | ||
| 159 | + _playFromMemory = !_playFromMemory; | ||
| 160 | + if (_movie.MovieInstance != null) | ||
| 161 | + { | ||
| 162 | + if (!_playFromMemory) | ||
| 163 | + { | ||
| 164 | + _movie.LoadMovie(true); | ||
| 165 | + } | ||
| 166 | + else | ||
| 167 | + { | ||
| 168 | + LoadFileToMemory(_movie._folder, _movie._filename); | ||
| 169 | + } | ||
| 170 | + } | ||
| 171 | + | ||
| 172 | + } | ||
| 173 | + | ||
| 174 | + GUILayout.EndHorizontal(); | ||
| 175 | + } | ||
| 176 | + | ||
| 177 | + AVProWindowsMedia moviePlayer = _movie.MovieInstance; | ||
| 178 | + if (moviePlayer != null) | ||
| 179 | + { | ||
| 180 | + GUILayout.BeginHorizontal(); | ||
| 181 | + GUILayout.Label("Info:", GUILayout.Width(100f)); | ||
| 182 | + GUILayout.Label(moviePlayer.Width + "x" + moviePlayer.Height + " @ " + moviePlayer.FrameRate.ToString("F2") + " FPS"); | ||
| 183 | + GUILayout.EndHorizontal(); | ||
| 184 | + | ||
| 185 | + GUILayout.BeginHorizontal(); | ||
| 186 | + GUILayout.Label("Volume ", GUILayout.Width(100)); | ||
| 187 | + float volume = _movie._volume; | ||
| 188 | + float newVolume = GUILayout.HorizontalSlider(volume, 0.0f, 1.0f, GUILayout.Width(200)); | ||
| 189 | + if (volume != newVolume) | ||
| 190 | + { | ||
| 191 | + _movie._volume = newVolume; | ||
| 192 | + } | ||
| 193 | + GUILayout.Label(_movie._volume.ToString("F1")); | ||
| 194 | + GUILayout.EndHorizontal(); | ||
| 195 | + | ||
| 196 | + | ||
| 197 | + GUILayout.BeginHorizontal(); | ||
| 198 | + GUILayout.Label("Balance ", GUILayout.Width(100)); | ||
| 199 | + float balance = _movie._audioBalance; | ||
| 200 | + float newBalance = GUILayout.HorizontalSlider(balance, -1.0f, 1.0f, GUILayout.Width(200)); | ||
| 201 | + if (balance != newBalance) | ||
| 202 | + { | ||
| 203 | + _movie._audioBalance = newBalance; | ||
| 204 | + } | ||
| 205 | + GUILayout.Label(moviePlayer.AudioBalance.ToString("F1")); | ||
| 206 | + GUILayout.EndHorizontal(); | ||
| 207 | + | ||
| 208 | + GUILayout.BeginHorizontal(); | ||
| 209 | + GUILayout.Label("Audio Delay", GUILayout.Width(100)); | ||
| 210 | + int delay = moviePlayer.AudioDelay; | ||
| 211 | + int newDelay = Mathf.FloorToInt(GUILayout.HorizontalSlider(delay, -1000.0f, 1000.0f, GUILayout.Width(200))); | ||
| 212 | + if (delay != newDelay) | ||
| 213 | + { | ||
| 214 | + moviePlayer.AudioDelay = newDelay; | ||
| 215 | + } | ||
| 216 | + float msPerFrame = 1000.0f / moviePlayer.FrameRate; | ||
| 217 | + int frameDelay = Mathf.FloorToInt((float)newDelay / msPerFrame); | ||
| 218 | + GUILayout.Label(moviePlayer.AudioDelay.ToString() + "ms (" + frameDelay + " frames)"); | ||
| 219 | + GUILayout.EndHorizontal(); | ||
| 220 | + | ||
| 221 | + | ||
| 222 | + | ||
| 223 | + GUILayout.BeginHorizontal(); | ||
| 224 | + GUILayout.Label("Time ", GUILayout.Width(100)); | ||
| 225 | + float position = moviePlayer.PositionSeconds; | ||
| 226 | + float newPosition = GUILayout.HorizontalSlider(position, 0.0f, moviePlayer.DurationSeconds, GUILayout.Width(200)); | ||
| 227 | + if (position != newPosition) | ||
| 228 | + { | ||
| 229 | + moviePlayer.PositionSeconds = newPosition; | ||
| 230 | + } | ||
| 231 | + GUILayout.Label(moviePlayer.PositionSeconds.ToString("F2") + " / " + moviePlayer.DurationSeconds.ToString("F3") + "s"); | ||
| 232 | + | ||
| 233 | + if (GUILayout.Button("Play")) | ||
| 234 | + { | ||
| 235 | + moviePlayer.Play(); | ||
| 236 | + } | ||
| 237 | + if (GUILayout.Button("Pause")) | ||
| 238 | + { | ||
| 239 | + moviePlayer.Pause(); | ||
| 240 | + } | ||
| 241 | + GUILayout.EndHorizontal(); | ||
| 242 | + | ||
| 243 | + | ||
| 244 | + GUILayout.BeginHorizontal(); | ||
| 245 | + GUILayout.Label("Frame", GUILayout.Width(100f)); | ||
| 246 | + | ||
| 247 | + uint positionFrame = moviePlayer.PositionFrames; | ||
| 248 | + if (positionFrame != uint.MaxValue) | ||
| 249 | + { | ||
| 250 | + uint newPositionFrame = (uint)GUILayout.HorizontalSlider(positionFrame, 0.0f, (float)moviePlayer.LastFrame, GUILayout.Width(200)); | ||
| 251 | + if (positionFrame != newPositionFrame) | ||
| 252 | + { | ||
| 253 | + moviePlayer.PositionFrames = newPositionFrame; | ||
| 254 | + } | ||
| 255 | + | ||
| 256 | + GUILayout.Label(moviePlayer.PositionFrames.ToString() + " / " + moviePlayer.LastFrame.ToString()); | ||
| 257 | + | ||
| 258 | + if (GUILayout.RepeatButton("<", GUILayout.Width(50))) | ||
| 259 | + { | ||
| 260 | + if (moviePlayer.PositionFrames > 0) | ||
| 261 | + { | ||
| 262 | + moviePlayer.PositionFrames--; | ||
| 263 | + } | ||
| 264 | + } | ||
| 265 | + if (GUILayout.RepeatButton(">", GUILayout.Width(50))) | ||
| 266 | + { | ||
| 267 | + if (moviePlayer.PositionFrames < moviePlayer.LastFrame) | ||
| 268 | + { | ||
| 269 | + moviePlayer.PositionFrames++; | ||
| 270 | + } | ||
| 271 | + } | ||
| 272 | + | ||
| 273 | + GUILayout.EndHorizontal(); | ||
| 274 | + } | ||
| 275 | + | ||
| 276 | + | ||
| 277 | + | ||
| 278 | + GUILayout.BeginHorizontal(); | ||
| 279 | + GUILayout.Label("Rate ", GUILayout.Width(100f)); | ||
| 280 | + GUILayout.Label(moviePlayer.PlaybackRate.ToString("F2") + "x"); | ||
| 281 | + if (GUILayout.Button("-", GUILayout.Width(50))) | ||
| 282 | + { | ||
| 283 | + moviePlayer.PlaybackRate = moviePlayer.PlaybackRate * 0.5f; | ||
| 284 | + } | ||
| 285 | + | ||
| 286 | + if (GUILayout.Button("+", GUILayout.Width(50))) | ||
| 287 | + { | ||
| 288 | + moviePlayer.PlaybackRate = moviePlayer.PlaybackRate * 2.0f; | ||
| 289 | + } | ||
| 290 | + GUILayout.EndHorizontal(); | ||
| 291 | +#if UNITY_EDITOR | ||
| 292 | + GUILayout.Label("Displaying at " + moviePlayer.DisplayFPS.ToString("F1") + " fps"); | ||
| 293 | +#endif | ||
| 294 | + } | ||
| 295 | + | ||
| 296 | + GUILayout.EndVertical(); | ||
| 297 | + } | ||
| 298 | +} |
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | + | ||
| 4 | +//----------------------------------------------------------------------------- | ||
| 5 | +// Copyright 2015-2016 RenderHeads Ltd. All rights reserverd. | ||
| 6 | +//----------------------------------------------------------------------------- | ||
| 7 | + | ||
| 8 | +namespace RenderHeads.Media.AVProVideo.Demos | ||
| 9 | +{ | ||
| 10 | + [RequireComponent(typeof(Transform))] | ||
| 11 | + public class AutoRotate : MonoBehaviour | ||
| 12 | + { | ||
| 13 | + private float x, y, z; | ||
| 14 | + | ||
| 15 | + void Awake() | ||
| 16 | + { | ||
| 17 | + float s = 32f; | ||
| 18 | + x = Random.Range(-s, s); | ||
| 19 | + y = Random.Range(-s, s); | ||
| 20 | + z = Random.Range(-s, s); | ||
| 21 | + } | ||
| 22 | + void Update() | ||
| 23 | + { | ||
| 24 | + this.transform.Rotate(x * Time.deltaTime, y * Time.deltaTime, z * Time.deltaTime); | ||
| 25 | + } | ||
| 26 | + } | ||
| 27 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | + | ||
| 4 | +//----------------------------------------------------------------------------- | ||
| 5 | +// Copyright 2012-2016 RenderHeads Ltd. All rights reserverd. | ||
| 6 | +//----------------------------------------------------------------------------- | ||
| 7 | + | ||
| 8 | +namespace RenderHeads.Media.AVProWindowsMedia.Demos | ||
| 9 | +{ | ||
| 10 | + public class DemoInfo : MonoBehaviour | ||
| 11 | + { | ||
| 12 | + public string _title; | ||
| 13 | + | ||
| 14 | + [Multiline] | ||
| 15 | + public string _description; | ||
| 16 | + } | ||
| 17 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | +using System.IO; | ||
| 4 | + | ||
| 5 | +public class FrameExtractDemo : MonoBehaviour | ||
| 6 | +{ | ||
| 7 | + public string _folder; | ||
| 8 | + public string _filename; | ||
| 9 | + public bool _useStreamingAssetsPath; | ||
| 10 | + public GUISkin _guiSkin; | ||
| 11 | + public bool _async = true; | ||
| 12 | + private static GUIStyle _gridStyle; | ||
| 13 | + | ||
| 14 | + private AVProWindowsMedia _movie; | ||
| 15 | + private GUIContent[] _contents; | ||
| 16 | + private Texture2D[] _textures; | ||
| 17 | + private bool _isExtracting; | ||
| 18 | + private int _textureIndex; | ||
| 19 | + private uint _targetFrame; | ||
| 20 | + private uint _frameStep; | ||
| 21 | + | ||
| 22 | + private void DestroyTextures() | ||
| 23 | + { | ||
| 24 | + if (_textures != null) | ||
| 25 | + { | ||
| 26 | + for (int i = 0; i < _textures.Length; i++) | ||
| 27 | + { | ||
| 28 | + if (_textures[i]) | ||
| 29 | + { | ||
| 30 | + Texture2D.Destroy(_textures[i]); | ||
| 31 | + _textures[i] = null; | ||
| 32 | + } | ||
| 33 | + } | ||
| 34 | + } | ||
| 35 | + } | ||
| 36 | + | ||
| 37 | + private bool StartExtractFrames(string filePath, uint numSamples) | ||
| 38 | + { | ||
| 39 | + DestroyTextures(); | ||
| 40 | + | ||
| 41 | + if (_movie.StartVideo(filePath, true, true, false, false, false, false, false, FilterMode.Bilinear, TextureWrapMode.Clamp)) | ||
| 42 | + { | ||
| 43 | + _textures = new Texture2D[numSamples]; | ||
| 44 | + _contents = new GUIContent[numSamples]; | ||
| 45 | + for (int i = 0; i < numSamples; i++) | ||
| 46 | + { | ||
| 47 | + _contents[i] = new GUIContent(" "); | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + uint numFrames = _movie.DurationFrames; | ||
| 51 | + _frameStep = numFrames / numSamples; | ||
| 52 | + _targetFrame = 0; | ||
| 53 | + _textureIndex = 0; | ||
| 54 | + | ||
| 55 | + if (!_async) | ||
| 56 | + { | ||
| 57 | + _isExtracting = true; | ||
| 58 | + while (_isExtracting) | ||
| 59 | + { | ||
| 60 | +#if UNITY_5 && !UNITY_5_0 && !UNITY_5_1 | ||
| 61 | + GL.IssuePluginEvent(AVProWindowsMediaPlugin.GetRenderEventFunc(), (int)AVProWindowsMediaPlugin.PluginEvent.UpdateAllTextures); | ||
| 62 | +#else | ||
| 63 | + GL.IssuePluginEvent(AVProWindowsMediaPlugin.PluginID | (int)AVProWindowsMediaPlugin.PluginEvent.UpdateAllTextures); | ||
| 64 | +#endif | ||
| 65 | + | ||
| 66 | + UpdateExtracting(); | ||
| 67 | + } | ||
| 68 | + | ||
| 69 | + return false; | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + return true; | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + return false; | ||
| 76 | + } | ||
| 77 | + | ||
| 78 | + void Start() | ||
| 79 | + { | ||
| 80 | + _movie = new AVProWindowsMedia(); | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + void Update() | ||
| 84 | + { | ||
| 85 | + if (_isExtracting) | ||
| 86 | + UpdateExtracting(); | ||
| 87 | + } | ||
| 88 | + | ||
| 89 | + private Texture2D CopyRenderTexture(RenderTexture rt) | ||
| 90 | + { | ||
| 91 | + RenderTexture prevRT = RenderTexture.active; | ||
| 92 | + RenderTexture.active = rt; | ||
| 93 | + | ||
| 94 | + Texture2D texture = new Texture2D(rt.width, rt.height, TextureFormat.ARGB32, false); | ||
| 95 | + texture.ReadPixels(new Rect(0, 0, rt.width, rt.height), 0, 0); | ||
| 96 | + texture.Apply(false, false); | ||
| 97 | + | ||
| 98 | + RenderTexture.active = prevRT; | ||
| 99 | + | ||
| 100 | + return texture; | ||
| 101 | + } | ||
| 102 | + | ||
| 103 | + private void UpdateExtracting() | ||
| 104 | + { | ||
| 105 | + _movie.Update(false); | ||
| 106 | + if (_movie.DisplayFrame == _targetFrame) | ||
| 107 | + { | ||
| 108 | + if (_textureIndex < _textures.Length) | ||
| 109 | + { | ||
| 110 | + Texture2D texture = CopyRenderTexture((RenderTexture)_movie.OutputTexture); | ||
| 111 | + texture.Apply(false, false); | ||
| 112 | + _contents[_textureIndex] = new GUIContent("Frame " + _targetFrame.ToString(), texture); | ||
| 113 | + _textures[_textureIndex++] = texture; | ||
| 114 | + } | ||
| 115 | + | ||
| 116 | + NextFrame(); | ||
| 117 | + } | ||
| 118 | + } | ||
| 119 | + | ||
| 120 | + private void NextFrame() | ||
| 121 | + { | ||
| 122 | + _targetFrame += _frameStep; | ||
| 123 | + if (_targetFrame < _movie.DurationFrames) | ||
| 124 | + { | ||
| 125 | + // Seek to frame | ||
| 126 | + _movie.PositionFrames = _targetFrame; | ||
| 127 | + } | ||
| 128 | + else | ||
| 129 | + { | ||
| 130 | + _isExtracting = false; | ||
| 131 | + } | ||
| 132 | + } | ||
| 133 | + | ||
| 134 | + void OnDestroy() | ||
| 135 | + { | ||
| 136 | + DestroyTextures(); | ||
| 137 | + if (_movie != null) | ||
| 138 | + { | ||
| 139 | + _movie.Dispose(); | ||
| 140 | + _movie = null; | ||
| 141 | + } | ||
| 142 | + } | ||
| 143 | + | ||
| 144 | + public string GetFilePath() | ||
| 145 | + { | ||
| 146 | + string filePath = Path.Combine(_folder, _filename); | ||
| 147 | + | ||
| 148 | + if (_useStreamingAssetsPath) | ||
| 149 | + { | ||
| 150 | + filePath = Path.Combine(Application.streamingAssetsPath, filePath); | ||
| 151 | + } | ||
| 152 | + // If we're running outside of the editor we may need to resolve the relative path | ||
| 153 | + // as the working-directory may not be that of the application EXE. | ||
| 154 | + else if (!Application.isEditor && !Path.IsPathRooted(filePath)) | ||
| 155 | + { | ||
| 156 | + string rootPath = Path.GetFullPath(Path.Combine(Application.dataPath, "..")); | ||
| 157 | + filePath = Path.Combine(rootPath, filePath); | ||
| 158 | + } | ||
| 159 | + | ||
| 160 | + return filePath; | ||
| 161 | + } | ||
| 162 | + | ||
| 163 | + void OnGUI() | ||
| 164 | + { | ||
| 165 | + GUI.skin = _guiSkin; | ||
| 166 | + | ||
| 167 | + if (_gridStyle == null) | ||
| 168 | + { | ||
| 169 | + _gridStyle = GUI.skin.GetStyle("ExtractFrameGrid"); | ||
| 170 | + } | ||
| 171 | + | ||
| 172 | + GUI.enabled = !_isExtracting; | ||
| 173 | + | ||
| 174 | + GUILayout.BeginVertical(GUILayout.Width(Screen.width)); | ||
| 175 | + GUILayout.BeginHorizontal(); | ||
| 176 | + GUILayout.Label("Folder: ", GUILayout.Width(80)); | ||
| 177 | + _folder = GUILayout.TextField(_folder, 192, GUILayout.ExpandWidth(true)); | ||
| 178 | + GUILayout.EndHorizontal(); | ||
| 179 | + | ||
| 180 | + GUILayout.BeginHorizontal(); | ||
| 181 | + GUILayout.Label("File: ", GUILayout.Width(80)); | ||
| 182 | + _filename = GUILayout.TextField(_filename, 128, GUILayout.MinWidth(440), GUILayout.ExpandWidth(true)); | ||
| 183 | + GUILayout.EndHorizontal(); | ||
| 184 | + | ||
| 185 | + GUILayout.BeginHorizontal(); | ||
| 186 | + if (GUILayout.Button("Extract Frames", GUILayout.ExpandWidth(true))) | ||
| 187 | + { | ||
| 188 | + _isExtracting = StartExtractFrames(GetFilePath(), 24); | ||
| 189 | + } | ||
| 190 | + | ||
| 191 | + _async = GUILayout.Toggle(_async, "ASync"); | ||
| 192 | + GUILayout.EndHorizontal(); | ||
| 193 | + | ||
| 194 | + GUILayout.EndVertical(); | ||
| 195 | + | ||
| 196 | + GUI.enabled = true; | ||
| 197 | + | ||
| 198 | + if (_textures != null) | ||
| 199 | + { | ||
| 200 | + if (_gridStyle != null) | ||
| 201 | + GUILayout.SelectionGrid(-1, _contents, 6, _gridStyle, GUILayout.Height(Screen.height-96)); | ||
| 202 | + else | ||
| 203 | + GUILayout.SelectionGrid(-1, _contents, 6, GUILayout.Height(Screen.height-96)); | ||
| 204 | + } | ||
| 205 | + } | ||
| 206 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | +using System.Collections.Generic; | ||
| 4 | + | ||
| 5 | +public class MultiChannelDemo2 : MonoBehaviour | ||
| 6 | +{ | ||
| 7 | + public GUISkin _guiSkin; | ||
| 8 | + public Texture2D _speaker; | ||
| 9 | + public Material _material; | ||
| 10 | + public int _numChannels = 8; | ||
| 11 | + private int _seed = 0; | ||
| 12 | + private Vector2[] _speakerPositions; | ||
| 13 | + private bool _normalise; | ||
| 14 | + private float _falloff = 8.0f; | ||
| 15 | + | ||
| 16 | + private int _totalUserCount; | ||
| 17 | + private List<MultiChannelDemo2User> _activeUsers = new List<MultiChannelDemo2User>(16); | ||
| 18 | + | ||
| 19 | + //private Dictionary<string, int> _loadedSounds = new Dictionary<string, int>(16); | ||
| 20 | + | ||
| 21 | + private Texture2D _falloffTexture; | ||
| 22 | + | ||
| 23 | + public int NumChannels | ||
| 24 | + { | ||
| 25 | + get { return _numChannels; } | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + void Start() | ||
| 29 | + { | ||
| 30 | +#if UNITY_5 && !UNITY_5_0 && !UNITY_5_1 && !UNITY_5_2 && !UNITY_5_3 | ||
| 31 | + Random.InitState(0x1235431 + _seed); | ||
| 32 | +#else | ||
| 33 | + Random.seed = 0x1235431 + _seed; | ||
| 34 | +#endif | ||
| 35 | + | ||
| 36 | + _speakerPositions = new Vector2[_numChannels]; | ||
| 37 | + UpdateSpeakerPositions(); | ||
| 38 | + | ||
| 39 | + _falloffTexture = new Texture2D(128, 1, TextureFormat.ARGB32, false); | ||
| 40 | + _falloffTexture.filterMode = FilterMode.Bilinear; | ||
| 41 | + _falloffTexture.wrapMode = TextureWrapMode.Clamp; | ||
| 42 | + UpdateFalloffTexture(); | ||
| 43 | + } | ||
| 44 | + | ||
| 45 | + private void UpdateFalloffTexture() | ||
| 46 | + { | ||
| 47 | + for (int i = 0; i < _falloffTexture.width; i++) | ||
| 48 | + { | ||
| 49 | + float t = i / (float)(_falloffTexture.width - 1); | ||
| 50 | + float l = GetLevel(t); | ||
| 51 | + _falloffTexture.SetPixel(i, 1, Color.white * l); | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + _falloffTexture.Apply(false, false); | ||
| 55 | + } | ||
| 56 | + | ||
| 57 | + void Update() | ||
| 58 | + { | ||
| 59 | + UpdateFalloffTexture(); | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public void DrawFalloff(Vector2 position) | ||
| 63 | + { | ||
| 64 | + _material.mainTexture = _falloffTexture; | ||
| 65 | + _material.SetPass(0); | ||
| 66 | + | ||
| 67 | + Matrix4x4 m = Matrix4x4.TRS(position, Quaternion.identity, Vector3.one); | ||
| 68 | + | ||
| 69 | + GL.PushMatrix(); | ||
| 70 | + GL.LoadPixelMatrix(); | ||
| 71 | + GL.MultMatrix(m); | ||
| 72 | + GL.Begin(GL.TRIANGLES); | ||
| 73 | + | ||
| 74 | + int numSegments = 36; | ||
| 75 | + float angle = 0.0f; | ||
| 76 | + float angleStep = (Mathf.PI * 2.0f) / numSegments; | ||
| 77 | + for (int i = 0; i < numSegments; i++) | ||
| 78 | + { | ||
| 79 | + float x = Mathf.Sin(angle); | ||
| 80 | + float y = Mathf.Cos(angle); | ||
| 81 | + x *= Screen.width; | ||
| 82 | + y *= Screen.height; | ||
| 83 | + y *= 1.777f; | ||
| 84 | + float z = 0.5f; | ||
| 85 | + | ||
| 86 | + GL.TexCoord2(0, 0); | ||
| 87 | + GL.Vertex3(0, 0, z); | ||
| 88 | + | ||
| 89 | + GL.TexCoord2(1, 0); | ||
| 90 | + GL.Vertex3(x, y, z); | ||
| 91 | + | ||
| 92 | + angle += angleStep; | ||
| 93 | + x = Mathf.Sin(angle); | ||
| 94 | + y = Mathf.Cos(angle); | ||
| 95 | + x *= Screen.width; | ||
| 96 | + y *= Screen.height; | ||
| 97 | + y *= 1.777f; | ||
| 98 | + | ||
| 99 | + GL.TexCoord2(1, 0); | ||
| 100 | + GL.Vertex3(x, y, z); | ||
| 101 | + } | ||
| 102 | + | ||
| 103 | + GL.End(); | ||
| 104 | + GL.PopMatrix(); | ||
| 105 | + } | ||
| 106 | + | ||
| 107 | + public float GetLevel(float d) | ||
| 108 | + { | ||
| 109 | + return 1.0f - Mathf.Clamp01(d * _falloff); | ||
| 110 | + } | ||
| 111 | + | ||
| 112 | + public void UpdateAudioMatrix(Vector2 userPosition, ref float[] values) | ||
| 113 | + { | ||
| 114 | + float valTotal = 0f; | ||
| 115 | + | ||
| 116 | + for (int i = 0; i < values.Length; i++) | ||
| 117 | + { | ||
| 118 | + Vector2 sp = _speakerPositions[i]; | ||
| 119 | + sp.x /= Screen.width; | ||
| 120 | + sp.y /= Screen.height; | ||
| 121 | + values[i] = 1.0f - Mathf.Clamp01(Vector2.Distance(sp, userPosition) * _falloff); | ||
| 122 | + | ||
| 123 | + valTotal += values[i]; | ||
| 124 | + } | ||
| 125 | + | ||
| 126 | + if (_normalise && valTotal > 0.0f) | ||
| 127 | + { | ||
| 128 | + for (int i = 0; i < values.Length; i++) | ||
| 129 | + { | ||
| 130 | + values[i] /= valTotal; | ||
| 131 | + } | ||
| 132 | + } | ||
| 133 | + } | ||
| 134 | + | ||
| 135 | + void UpdateSpeakerPositions() | ||
| 136 | + { | ||
| 137 | + if (_seed == 0) | ||
| 138 | + { | ||
| 139 | + for (int i = 0; i < _speakerPositions.Length; i++) | ||
| 140 | + { | ||
| 141 | + _speakerPositions[i] = new Vector2(_speaker.width/2 + (i*(Screen.width - _speaker.width) / _speakerPositions.Length), Screen.height / 2); | ||
| 142 | + } | ||
| 143 | + } | ||
| 144 | + else | ||
| 145 | + { | ||
| 146 | + for (int i = 0; i < _speakerPositions.Length; i++) | ||
| 147 | + { | ||
| 148 | + _speakerPositions[i] = new Vector2(Random.Range(_speaker.width / 2, Screen.width - _speaker.width / 2), Random.Range(_speaker.height/2, Screen.height - _speaker.height/2)); | ||
| 149 | + } | ||
| 150 | + } | ||
| 151 | + } | ||
| 152 | + | ||
| 153 | + private void CreateUser() | ||
| 154 | + { | ||
| 155 | + GameObject go = new GameObject("User" + _totalUserCount++); | ||
| 156 | + MultiChannelDemo2User user = go.AddComponent<MultiChannelDemo2User>(); | ||
| 157 | + user.name = go.name; | ||
| 158 | + user._guiSkin = _guiSkin; | ||
| 159 | + user._parent = this; | ||
| 160 | + _activeUsers.Add(user); | ||
| 161 | + } | ||
| 162 | + | ||
| 163 | + void OnGUI() | ||
| 164 | + { | ||
| 165 | + GUI.skin = _guiSkin; | ||
| 166 | + | ||
| 167 | + for (int i = 0; i < _speakerPositions.Length; i++) | ||
| 168 | + { | ||
| 169 | + Rect r = new Rect(_speakerPositions[i].x - _speaker.width / 2, _speakerPositions[i].y - _speaker.height / 2, _speaker.width, _speaker.height); | ||
| 170 | + GUI.DrawTexture(r, _speaker); | ||
| 171 | + r.width = 16; | ||
| 172 | + r.y -= _speaker.height; | ||
| 173 | + r.x += (_speaker.width / 2) - (r.width / 2); | ||
| 174 | + GUI.Label(r, i.ToString()); | ||
| 175 | + } | ||
| 176 | + | ||
| 177 | + GUILayout.BeginVertical("box"); | ||
| 178 | + | ||
| 179 | + if (GUILayout.Button("Create Instance")) | ||
| 180 | + { | ||
| 181 | + CreateUser(); | ||
| 182 | + } | ||
| 183 | + | ||
| 184 | + GUILayout.BeginHorizontal(); | ||
| 185 | + GUILayout.Label("Speaker Layout:"); | ||
| 186 | + if (GUILayout.Button("Linear")) | ||
| 187 | + { | ||
| 188 | + _seed = 0; | ||
| 189 | + UpdateSpeakerPositions(); | ||
| 190 | + } | ||
| 191 | + if (GUILayout.Button("Random")) | ||
| 192 | + { | ||
| 193 | + _seed++; | ||
| 194 | + UpdateSpeakerPositions(); | ||
| 195 | + } | ||
| 196 | + GUILayout.EndHorizontal(); | ||
| 197 | + | ||
| 198 | + _normalise = GUILayout.Toggle(_normalise, "Normalise"); | ||
| 199 | + GUILayout.BeginHorizontal(); | ||
| 200 | + GUILayout.Label("Falloff"); | ||
| 201 | + _falloff = GUILayout.HorizontalSlider(_falloff, 1.0f, 20f); | ||
| 202 | + GUILayout.Label(_falloff.ToString("F1")); | ||
| 203 | + GUILayout.EndHorizontal(); | ||
| 204 | + | ||
| 205 | + GUILayout.EndVertical(); | ||
| 206 | + } | ||
| 207 | +} |
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | +using System.Collections.Generic; | ||
| 4 | + | ||
| 5 | +public class MultiChannelDemo2User : MonoBehaviour | ||
| 6 | +{ | ||
| 7 | + public GUISkin _guiSkin; | ||
| 8 | + public MultiChannelDemo2 _parent; | ||
| 9 | + private AVProWindowsMediaMovie _movie; | ||
| 10 | + private Rect windowRect = new Rect(0, 0, 320, 220); | ||
| 11 | + private float[] _audioMatrixValues; | ||
| 12 | + | ||
| 13 | + private Vector2 Position | ||
| 14 | + { | ||
| 15 | + get { return new Vector2((windowRect.x + (windowRect.width / 2)) / Screen.width, windowRect.y / Screen.height); } | ||
| 16 | + } | ||
| 17 | + | ||
| 18 | + void Start() | ||
| 19 | + { | ||
| 20 | + _audioMatrixValues = new float[_parent.NumChannels]; | ||
| 21 | + windowRect = new Rect(Screen.width / 2, Screen.height / 2, windowRect.width, windowRect.height); | ||
| 22 | + _movie = this.gameObject.AddComponent<AVProWindowsMediaMovie>(); | ||
| 23 | + _movie._useAudioMixer = true; | ||
| 24 | + _movie._loadOnStart = false; | ||
| 25 | + _movie._playOnStart = false; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + void Update() | ||
| 29 | + { | ||
| 30 | + if (_movie.MovieInstance != null) | ||
| 31 | + { | ||
| 32 | + // Generate audio matrix values | ||
| 33 | + _parent.UpdateAudioMatrix(Position, ref _audioMatrixValues); | ||
| 34 | + | ||
| 35 | + // Apply matrix values to movie instance | ||
| 36 | + /*for (int i = 0; i < _audioMatrixValues.Length; i++) | ||
| 37 | + Debug.Log("v " + i + " " + _audioMatrixValues[i]); | ||
| 38 | + Debug.Log("apply to " + _movie.MovieInstance.Handle);*/ | ||
| 39 | + AVProWindowsMediaPlugin.SetAudioChannelMatrix(_movie.MovieInstance.Handle, _audioMatrixValues, _audioMatrixValues.Length); | ||
| 40 | + } | ||
| 41 | + } | ||
| 42 | + | ||
| 43 | + void OnGUI() | ||
| 44 | + { | ||
| 45 | + GUI.skin = _guiSkin; | ||
| 46 | + | ||
| 47 | + windowRect = GUI.Window(this.name.GetHashCode(), windowRect, DoMyWindow, this.name); | ||
| 48 | + //GUI.DrawTexture(new Rect(Position.x * Screen.width - (_target.width / 2), Position.y * Screen.height - (_target.height / 2), _target.width, _target.height), _target); | ||
| 49 | + | ||
| 50 | + _parent.DrawFalloff(new Vector2(Position.x * Screen.width, (1.0f-Position.y) * Screen.height)); | ||
| 51 | + } | ||
| 52 | + | ||
| 53 | + | ||
| 54 | + void DoMyWindow(int windowID) | ||
| 55 | + { | ||
| 56 | + if (GUILayout.Button("Play Video")) | ||
| 57 | + { | ||
| 58 | + _movie._folder = ""; | ||
| 59 | + _movie._filename = "sample-1920x1024-divx.avi"; | ||
| 60 | + _movie._useStreamingAssetsPath = true; | ||
| 61 | + _movie._volume = 1.0f; | ||
| 62 | + _movie._loop = true; | ||
| 63 | + if (_movie.LoadMovie(false)) | ||
| 64 | + { | ||
| 65 | + _movie.Play(); | ||
| 66 | + } | ||
| 67 | + } | ||
| 68 | + | ||
| 69 | + if (_movie.OutputTexture) | ||
| 70 | + { | ||
| 71 | + Rect r = GUILayoutUtility.GetRect(320, 180); | ||
| 72 | + GUI.DrawTexture(r, _movie.OutputTexture, ScaleMode.ScaleToFit); | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + GUI.DragWindow(); | ||
| 76 | + } | ||
| 77 | +} |
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | +using System.Collections.Generic; | ||
| 4 | + | ||
| 5 | +public class MultiVideoDemo : MonoBehaviour | ||
| 6 | +{ | ||
| 7 | + public GUISkin _skin; | ||
| 8 | + public int _guiDepth; | ||
| 9 | + private string _folder = string.Empty; | ||
| 10 | + private string _filename = string.Empty; | ||
| 11 | + private bool _visible = true; | ||
| 12 | + private float _alpha = 1.0f; | ||
| 13 | + private GameObject _root; | ||
| 14 | + private List<AVProWindowsMediaGUIDisplay> _movies; | ||
| 15 | + private AVProWindowsMediaGUIDisplay _activeMovie; | ||
| 16 | + private AVProWindowsMediaGUIDisplay _removeMovie; | ||
| 17 | + | ||
| 18 | + void Update() | ||
| 19 | + { | ||
| 20 | + Vector2 screenMouse = new Vector2(Input.mousePosition.x, Screen.height - Input.mousePosition.y); | ||
| 21 | + | ||
| 22 | + // Show/Hide controls based on mouse cursor position | ||
| 23 | + Rect r = new Rect(0, 0, Screen.width/2, Screen.height); | ||
| 24 | + if (r.Contains(screenMouse)) | ||
| 25 | + { | ||
| 26 | + _visible = true; | ||
| 27 | + _alpha = 1.0f; | ||
| 28 | + } | ||
| 29 | + else | ||
| 30 | + { | ||
| 31 | + _alpha -= Time.deltaTime * 4f; | ||
| 32 | + if (_alpha <= 0.0f) | ||
| 33 | + { | ||
| 34 | + _alpha = 0.0f; | ||
| 35 | + _visible = false; | ||
| 36 | + } | ||
| 37 | + } | ||
| 38 | + | ||
| 39 | + // Remove any movie scheduled for removal | ||
| 40 | + if (_removeMovie) | ||
| 41 | + { | ||
| 42 | + Remove(_removeMovie); | ||
| 43 | + _removeMovie = null; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + // Activate movie under mouse cursor | ||
| 47 | + _activeMovie = null; | ||
| 48 | + foreach (AVProWindowsMediaGUIDisplay gui in _movies) | ||
| 49 | + { | ||
| 50 | + Rect rect = gui.GetRect(); | ||
| 51 | + if (rect.Contains(screenMouse)) | ||
| 52 | + { | ||
| 53 | + gui._color = Color.white; | ||
| 54 | + _activeMovie = gui; | ||
| 55 | + } | ||
| 56 | + else | ||
| 57 | + { | ||
| 58 | + //gui._color = Color.white * 0.8f; | ||
| 59 | + gui._color = new Color(0.5f, 0.5f, 0.5f, 0.9f); | ||
| 60 | + } | ||
| 61 | + } | ||
| 62 | + } | ||
| 63 | + | ||
| 64 | + void Start() | ||
| 65 | + { | ||
| 66 | + _root = new GameObject("Movies"); | ||
| 67 | + _movies = new List<AVProWindowsMediaGUIDisplay>(); | ||
| 68 | + | ||
| 69 | + // Add some initial videos | ||
| 70 | + string folder = ""; | ||
| 71 | + Add(folder, "sample-blue-480x256-divx.avi"); | ||
| 72 | + Add(folder, "sample-green-480x256-divx.avi"); | ||
| 73 | + Add(folder, "sample-purple-480x256-divx.avi"); | ||
| 74 | + Add(folder, "sample-yellow-480x256-divx.avi"); | ||
| 75 | + } | ||
| 76 | + | ||
| 77 | + private void Add(string folder, string filename) | ||
| 78 | + { | ||
| 79 | + GameObject go = new GameObject(); | ||
| 80 | + go.transform.parent = _root.transform; | ||
| 81 | + | ||
| 82 | + AVProWindowsMediaMovie movie = go.AddComponent<AVProWindowsMediaMovie>(); | ||
| 83 | + movie._folder = folder; | ||
| 84 | + movie._filename = filename; | ||
| 85 | + movie._loop = true; | ||
| 86 | + movie._loadOnStart = false; | ||
| 87 | + movie._playOnStart = false; | ||
| 88 | + movie._useStreamingAssetsPath = true; | ||
| 89 | + | ||
| 90 | + AVProWindowsMediaGUIDisplay gui = go.AddComponent<AVProWindowsMediaGUIDisplay>(); | ||
| 91 | + gui._movie = movie; | ||
| 92 | + gui._scaleMode = ScaleMode.StretchToFill; | ||
| 93 | + gui._fullScreen = false; | ||
| 94 | + gui._alphaBlend = false; | ||
| 95 | + gui._depth = 5; | ||
| 96 | + gui._color = new Color(0.8f, 0.8f, 0.8f, 1.0f); | ||
| 97 | + | ||
| 98 | + _movies.Add(gui); | ||
| 99 | + | ||
| 100 | + if (!movie.LoadMovie(true)) | ||
| 101 | + { | ||
| 102 | + Remove(gui); | ||
| 103 | + return; | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + UpdateLayout(); | ||
| 107 | + } | ||
| 108 | + | ||
| 109 | + private void Remove(AVProWindowsMediaGUIDisplay movie) | ||
| 110 | + { | ||
| 111 | + if (movie) | ||
| 112 | + { | ||
| 113 | + _movies.Remove(movie); | ||
| 114 | + Destroy(movie.gameObject); | ||
| 115 | + UpdateLayout(); | ||
| 116 | + } | ||
| 117 | + } | ||
| 118 | + | ||
| 119 | + private void UpdateLayout() | ||
| 120 | + { | ||
| 121 | + int numMovies = _movies.Count; | ||
| 122 | + int numColRows = Mathf.CeilToInt(Mathf.Sqrt(numMovies)); | ||
| 123 | + | ||
| 124 | + float width = 1.0f / numColRows; | ||
| 125 | + float height = 1.0f / numColRows; | ||
| 126 | + | ||
| 127 | + for (int i = 0; i < numMovies; i++) | ||
| 128 | + { | ||
| 129 | + AVProWindowsMediaGUIDisplay gui = _movies[i]; | ||
| 130 | + | ||
| 131 | + int x = i % numColRows; | ||
| 132 | + int y = i / numColRows; | ||
| 133 | + | ||
| 134 | + gui._x = width * x; | ||
| 135 | + gui._y = height * y; | ||
| 136 | + gui._width = width; | ||
| 137 | + gui._height = height; | ||
| 138 | + } | ||
| 139 | + } | ||
| 140 | + | ||
| 141 | + public void ControlWindow(int id) | ||
| 142 | + { | ||
| 143 | + GUILayout.BeginVertical("box", GUILayout.MinWidth(400)); | ||
| 144 | + | ||
| 145 | + GUILayout.BeginHorizontal(); | ||
| 146 | + GUILayout.Label("Folder: ", GUILayout.Width(100)); | ||
| 147 | + _folder = GUILayout.TextField(_folder, 192); | ||
| 148 | + GUILayout.EndHorizontal(); | ||
| 149 | + GUILayout.Space(16f); | ||
| 150 | + | ||
| 151 | + GUILayout.BeginHorizontal(); | ||
| 152 | + GUILayout.Label("File Name: ", GUILayout.Width(100)); | ||
| 153 | + _filename = GUILayout.TextField(_filename, 192, GUILayout.MinWidth(256f)); | ||
| 154 | + if (GUILayout.Button("Add Video", GUILayout.Width(128))) | ||
| 155 | + { | ||
| 156 | + Add(_folder, _filename); | ||
| 157 | + } | ||
| 158 | + GUILayout.EndHorizontal(); | ||
| 159 | + | ||
| 160 | + GUILayout.Space(16f); | ||
| 161 | + | ||
| 162 | + if (GUILayout.Button("Remove All")) | ||
| 163 | + { | ||
| 164 | + for (int i = 0; i < _movies.Count; i++) | ||
| 165 | + { | ||
| 166 | + Destroy(_movies[i].gameObject); | ||
| 167 | + _movies[i] = null; | ||
| 168 | + } | ||
| 169 | + _movies.Clear(); | ||
| 170 | + UpdateLayout(); | ||
| 171 | + } | ||
| 172 | + | ||
| 173 | + GUILayout.EndVertical(); | ||
| 174 | + } | ||
| 175 | + | ||
| 176 | + private void DrawVideoControls(Rect area, AVProWindowsMediaGUIDisplay movieGUI) | ||
| 177 | + { | ||
| 178 | + AVProWindowsMediaMovie movie = movieGUI._movie; | ||
| 179 | + AVProWindowsMedia player = movie.MovieInstance; | ||
| 180 | + if (player == null) | ||
| 181 | + return; | ||
| 182 | + | ||
| 183 | + // Close button | ||
| 184 | + if (GUI.Button(new Rect(area.x + (area.width - 32) ,area.y, 32, 32), "X")) | ||
| 185 | + { | ||
| 186 | + _removeMovie = movieGUI; | ||
| 187 | + } | ||
| 188 | + | ||
| 189 | + // Duplicate button | ||
| 190 | + if (GUI.Button(new Rect(area.x + (area.width - 64) ,area.y, 32, 32), "+")) | ||
| 191 | + { | ||
| 192 | + Add(movie._folder, movie._filename); | ||
| 193 | + } | ||
| 194 | + | ||
| 195 | + // Video properties | ||
| 196 | + GUILayout.BeginArea(new Rect(area.x, area.y, area.width/2, area.height/2)); | ||
| 197 | + GUILayout.Label(player.Width + "x" + player.Height + "/" + player.FrameRate.ToString("F2") + "hz"); | ||
| 198 | + GUILayout.EndArea(); | ||
| 199 | + | ||
| 200 | + GUILayout.BeginArea(new Rect(area.x, area.y + (area.height - 32), area.width, 32)); | ||
| 201 | + GUILayout.BeginHorizontal(); | ||
| 202 | + float position = player.PositionSeconds; | ||
| 203 | + float newPosition = GUILayout.HorizontalSlider(position, 0.0f, player.DurationSeconds, GUILayout.ExpandWidth(true)); | ||
| 204 | + if (position != newPosition) | ||
| 205 | + { | ||
| 206 | + player.PositionSeconds = newPosition; | ||
| 207 | + } | ||
| 208 | + if (player.IsPlaying) | ||
| 209 | + { | ||
| 210 | + if (GUILayout.Button("Pause", GUILayout.ExpandWidth(false))) | ||
| 211 | + { | ||
| 212 | + player.Pause(); | ||
| 213 | + } | ||
| 214 | + } | ||
| 215 | + else | ||
| 216 | + { | ||
| 217 | + if (GUILayout.Button("Play", GUILayout.ExpandWidth(false))) | ||
| 218 | + { | ||
| 219 | + player.Play(); | ||
| 220 | + } | ||
| 221 | + } | ||
| 222 | + GUILayout.EndHorizontal(); | ||
| 223 | + GUILayout.EndArea(); | ||
| 224 | + } | ||
| 225 | + | ||
| 226 | + void OnGUI() | ||
| 227 | + { | ||
| 228 | + GUI.skin = _skin; | ||
| 229 | + GUI.depth = _guiDepth; | ||
| 230 | + | ||
| 231 | + if (_activeMovie) | ||
| 232 | + { | ||
| 233 | + DrawVideoControls(_activeMovie.GetRect(), _activeMovie); | ||
| 234 | + } | ||
| 235 | + | ||
| 236 | + if (_visible) | ||
| 237 | + { | ||
| 238 | + GUI.color = new Color(1f, 1f, 1f, _alpha); | ||
| 239 | + GUILayout.Box("Demo Controls"); | ||
| 240 | + //GUILayout.BeginArea(new Rect(0, 0, 440, 200), GUI.skin.box); | ||
| 241 | + ControlWindow(0); | ||
| 242 | + } | ||
| 243 | + else | ||
| 244 | + { | ||
| 245 | + GUI.color = new Color(1f, 1f, 1f, 1f - _alpha); | ||
| 246 | + GUI.Box(new Rect(0, 0, 128, 32), "Demo Controls"); | ||
| 247 | + } | ||
| 248 | + } | ||
| 249 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | +using System.Collections.Generic; | ||
| 4 | + | ||
| 5 | +public class PlayQueueDemo : MonoBehaviour | ||
| 6 | +{ | ||
| 7 | + public AVProWindowsMediaMovie _movieA; | ||
| 8 | + public AVProWindowsMediaMovie _movieB; | ||
| 9 | + public string _folder; | ||
| 10 | + public List<string> _filenames; | ||
| 11 | + | ||
| 12 | + private AVProWindowsMediaMovie[] _movies; | ||
| 13 | + private int _moviePlayIndex; | ||
| 14 | + private int _movieLoadIndex; | ||
| 15 | + private int _index = -1; | ||
| 16 | + private bool _loadSuccess = true; | ||
| 17 | + private int _playItemIndex = -1; | ||
| 18 | + | ||
| 19 | + public AVProWindowsMediaMovie PlayingMovie { get { return _movies[_moviePlayIndex]; } } | ||
| 20 | + public AVProWindowsMediaMovie LoadingMovie { get { return _movies[_movieLoadIndex]; } } | ||
| 21 | + public int PlayingItemIndex { get { return _playItemIndex; } } | ||
| 22 | + public bool IsPaused { get { if (PlayingMovie.MovieInstance != null) return !PlayingMovie.MovieInstance.IsPlaying; return false; } } | ||
| 23 | + | ||
| 24 | + void Start() | ||
| 25 | + { | ||
| 26 | + _movieA._loop = false; | ||
| 27 | + _movieB._loop = false; | ||
| 28 | + _movies = new AVProWindowsMediaMovie[2]; | ||
| 29 | + _movies[0] = _movieA; | ||
| 30 | + _movies[1] = _movieB; | ||
| 31 | + _moviePlayIndex = 0; | ||
| 32 | + _movieLoadIndex = 1; | ||
| 33 | + | ||
| 34 | + NextMovie(); | ||
| 35 | + } | ||
| 36 | + | ||
| 37 | + void Update() | ||
| 38 | + { | ||
| 39 | + if (PlayingMovie.MovieInstance != null) | ||
| 40 | + { | ||
| 41 | + if ((int)PlayingMovie.MovieInstance.PositionFrames >= (PlayingMovie.MovieInstance.DurationFrames - 1)) | ||
| 42 | + { | ||
| 43 | + NextMovie(); | ||
| 44 | + } | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + if (!_loadSuccess) | ||
| 48 | + { | ||
| 49 | + _loadSuccess = true; | ||
| 50 | + NextMovie(); | ||
| 51 | + } | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + void OnGUI() | ||
| 55 | + { | ||
| 56 | + AVProWindowsMediaMovie activeMovie = PlayingMovie; | ||
| 57 | + if (activeMovie.OutputTexture == null) | ||
| 58 | + activeMovie = LoadingMovie; // Display the previous video until the current one has loaded the first frame | ||
| 59 | + | ||
| 60 | + Texture texture = activeMovie.OutputTexture; | ||
| 61 | + | ||
| 62 | + if (texture != null) | ||
| 63 | + { | ||
| 64 | + Rect rect = new Rect(0, 0, Screen.width, Screen.height); | ||
| 65 | + | ||
| 66 | + if (activeMovie.MovieInstance.RequiresFlipY) | ||
| 67 | + { | ||
| 68 | + GUIUtility.ScaleAroundPivot(new Vector2(1f, -1f), new Vector2(0, rect.y + (rect.height / 2))); | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + GUI.DrawTexture(rect, texture, ScaleMode.ScaleToFit, false); | ||
| 72 | + } | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + public void Next() | ||
| 76 | + { | ||
| 77 | + NextMovie(); | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + public void Previous() | ||
| 81 | + { | ||
| 82 | + _index -= 2; | ||
| 83 | + if (_index < 0) | ||
| 84 | + _index += _filenames.Count; | ||
| 85 | + | ||
| 86 | + NextMovie(); | ||
| 87 | + } | ||
| 88 | + | ||
| 89 | + public void Pause() | ||
| 90 | + { | ||
| 91 | + if (PlayingMovie != null) | ||
| 92 | + { | ||
| 93 | + PlayingMovie.Pause(); | ||
| 94 | + } | ||
| 95 | + } | ||
| 96 | + | ||
| 97 | + public void Unpause() | ||
| 98 | + { | ||
| 99 | + if (PlayingMovie != null) | ||
| 100 | + { | ||
| 101 | + PlayingMovie.Play(); | ||
| 102 | + } | ||
| 103 | + } | ||
| 104 | + | ||
| 105 | + private void NextMovie() | ||
| 106 | + { | ||
| 107 | + Pause(); | ||
| 108 | + | ||
| 109 | + if (_filenames.Count > 0) | ||
| 110 | + { | ||
| 111 | + _index = (Mathf.Max(0, _index+1))%_filenames.Count; | ||
| 112 | + } | ||
| 113 | + else | ||
| 114 | + _index = -1; | ||
| 115 | + | ||
| 116 | + if (_index < 0) | ||
| 117 | + return; | ||
| 118 | + | ||
| 119 | + | ||
| 120 | + LoadingMovie._folder = _folder; | ||
| 121 | + LoadingMovie._filename = _filenames[_index]; | ||
| 122 | + LoadingMovie._useStreamingAssetsPath = true; | ||
| 123 | + LoadingMovie._playOnStart = true; | ||
| 124 | + _loadSuccess = LoadingMovie.LoadMovie(true); | ||
| 125 | + _playItemIndex = _index; | ||
| 126 | + | ||
| 127 | + _moviePlayIndex = (_moviePlayIndex + 1)%2; | ||
| 128 | + _movieLoadIndex = (_movieLoadIndex + 1)%2; | ||
| 129 | + } | ||
| 130 | +} |
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | + | ||
| 4 | +public class PlayQueueDemoUI : MonoBehaviour | ||
| 5 | +{ | ||
| 6 | + public GUISkin _skin; | ||
| 7 | + public PlayQueueDemo _demo; | ||
| 8 | + | ||
| 9 | + private bool _visible = true; | ||
| 10 | + private float _alpha = 1.0f; | ||
| 11 | + | ||
| 12 | + void Update() | ||
| 13 | + { | ||
| 14 | + Rect r = new Rect(0, 0, Screen.width/2, Screen.height); | ||
| 15 | + if (r.Contains(new Vector2(Input.mousePosition.x, Screen.height - Input.mousePosition.y))) | ||
| 16 | + { | ||
| 17 | + _visible = true; | ||
| 18 | + _alpha = 1.0f; | ||
| 19 | + } | ||
| 20 | + else | ||
| 21 | + { | ||
| 22 | + _alpha -= Time.deltaTime * 4f; | ||
| 23 | + if (_alpha <= 0.0f) | ||
| 24 | + { | ||
| 25 | + _alpha = 0.0f; | ||
| 26 | + _visible = false; | ||
| 27 | + } | ||
| 28 | + } | ||
| 29 | + } | ||
| 30 | + | ||
| 31 | + public void ControlWindow(int id) | ||
| 32 | + { | ||
| 33 | + if (_demo == null) | ||
| 34 | + return; | ||
| 35 | + | ||
| 36 | + GUILayout.Space(16f); | ||
| 37 | + | ||
| 38 | + GUILayout.BeginVertical("box"); | ||
| 39 | + | ||
| 40 | + | ||
| 41 | + AVProWindowsMediaMovie movie = _demo.PlayingMovie; | ||
| 42 | + if (movie != null) | ||
| 43 | + { | ||
| 44 | + AVProWindowsMedia moviePlayer = movie.MovieInstance; | ||
| 45 | + if (moviePlayer != null) | ||
| 46 | + { | ||
| 47 | + GUILayout.BeginHorizontal(); | ||
| 48 | + GUILayout.Label("Playing", GUILayout.Width(80)); | ||
| 49 | + GUILayout.Label(movie._filename + " (" + moviePlayer.Width + "x" + moviePlayer.Height + " @ " + moviePlayer.FrameRate.ToString("F2") + ")"); | ||
| 50 | + GUILayout.EndHorizontal(); | ||
| 51 | + | ||
| 52 | + GUILayout.BeginHorizontal(); | ||
| 53 | + GUILayout.Label("Time ", GUILayout.Width(80)); | ||
| 54 | + GUILayout.HorizontalSlider(moviePlayer.PositionSeconds, 0.0f, moviePlayer.DurationSeconds, GUILayout.ExpandWidth(true)); | ||
| 55 | + GUILayout.Label(moviePlayer.PositionSeconds.ToString("F1") + "/" + moviePlayer.DurationSeconds.ToString("F1") + "s", GUILayout.ExpandWidth(false)); | ||
| 56 | + GUILayout.EndHorizontal(); | ||
| 57 | + } | ||
| 58 | + } | ||
| 59 | + | ||
| 60 | + GUILayout.BeginHorizontal(); | ||
| 61 | + //GUILayout.Space(80); | ||
| 62 | + GUILayout.Label(string.Empty, GUILayout.Width(80)); | ||
| 63 | + if (GUILayout.Button("Prev")) | ||
| 64 | + { | ||
| 65 | + _demo.Previous(); | ||
| 66 | + } | ||
| 67 | + | ||
| 68 | + if (_demo.IsPaused) | ||
| 69 | + { | ||
| 70 | + if (GUILayout.Button("Play")) | ||
| 71 | + { | ||
| 72 | + _demo.Unpause(); | ||
| 73 | + } | ||
| 74 | + } | ||
| 75 | + else | ||
| 76 | + { | ||
| 77 | + if (GUILayout.Button("Pause")) | ||
| 78 | + { | ||
| 79 | + _demo.Pause(); | ||
| 80 | + } | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + if (GUILayout.Button("Next")) | ||
| 84 | + { | ||
| 85 | + _demo.Next(); | ||
| 86 | + } | ||
| 87 | + GUILayout.EndHorizontal(); | ||
| 88 | + GUILayout.Space(32f); | ||
| 89 | + | ||
| 90 | + | ||
| 91 | + GUILayout.BeginHorizontal(); | ||
| 92 | + GUILayout.Label("Folder: ", GUILayout.Width(80)); | ||
| 93 | + _demo._folder = GUILayout.TextField(_demo._folder, 192); | ||
| 94 | + GUILayout.EndHorizontal(); | ||
| 95 | + GUILayout.Space(32f); | ||
| 96 | + | ||
| 97 | + | ||
| 98 | + int removeIndex = -1; | ||
| 99 | + int cloneIndex = -1; | ||
| 100 | + int upIndex = -1; | ||
| 101 | + int downIndex = -1; | ||
| 102 | + GUILayout.Label("Playlist"); | ||
| 103 | + for (int movieIndex = 0; movieIndex < _demo._filenames.Count; movieIndex++) | ||
| 104 | + { | ||
| 105 | + Color prevBackCol = GUI.backgroundColor; | ||
| 106 | + if (movieIndex == _demo.PlayingItemIndex) | ||
| 107 | + GUI.backgroundColor = Color.green; | ||
| 108 | + | ||
| 109 | + GUILayout.BeginHorizontal(); | ||
| 110 | + GUILayout.Label((movieIndex+1).ToString(), GUILayout.Width(80)); | ||
| 111 | + _demo._filenames[movieIndex] = GUILayout.TextField(_demo._filenames[movieIndex], 192, GUILayout.MinWidth(256f)); | ||
| 112 | + if (GUILayout.Button("X", GUILayout.Width(24))) | ||
| 113 | + { | ||
| 114 | + removeIndex = movieIndex; | ||
| 115 | + } | ||
| 116 | + if (GUILayout.Button("Clone", GUILayout.Width(64))) | ||
| 117 | + { | ||
| 118 | + cloneIndex = movieIndex; | ||
| 119 | + } | ||
| 120 | + if (GUILayout.Button("Up", GUILayout.Width(32))) | ||
| 121 | + { | ||
| 122 | + upIndex = movieIndex; | ||
| 123 | + } | ||
| 124 | + if (GUILayout.Button("Down", GUILayout.Width(48))) | ||
| 125 | + { | ||
| 126 | + downIndex = movieIndex; | ||
| 127 | + } | ||
| 128 | + GUILayout.EndHorizontal(); | ||
| 129 | + | ||
| 130 | + if (movieIndex == _demo.PlayingItemIndex) | ||
| 131 | + GUI.backgroundColor = prevBackCol; | ||
| 132 | + } | ||
| 133 | + | ||
| 134 | + if (removeIndex >= 0) | ||
| 135 | + { | ||
| 136 | + _demo._filenames.RemoveAt(removeIndex); | ||
| 137 | + removeIndex = -1; | ||
| 138 | + } | ||
| 139 | + if (cloneIndex >= 0) | ||
| 140 | + { | ||
| 141 | + _demo._filenames.Insert(cloneIndex+1, _demo._filenames[cloneIndex]); | ||
| 142 | + } | ||
| 143 | + | ||
| 144 | + if (upIndex > 0) | ||
| 145 | + { | ||
| 146 | + int indexA = upIndex - 1; | ||
| 147 | + int indexB = upIndex; | ||
| 148 | + string old = _demo._filenames[indexA]; | ||
| 149 | + _demo._filenames[indexA] = _demo._filenames[indexB]; | ||
| 150 | + _demo._filenames[indexB] = old; | ||
| 151 | + } | ||
| 152 | + if (downIndex > 0 && downIndex + 1 < _demo._filenames.Count) | ||
| 153 | + { | ||
| 154 | + int indexA = downIndex + 1; | ||
| 155 | + int indexB = downIndex; | ||
| 156 | + string old = _demo._filenames[indexA]; | ||
| 157 | + _demo._filenames[indexA] = _demo._filenames[indexB]; | ||
| 158 | + _demo._filenames[indexB] = old; | ||
| 159 | + } | ||
| 160 | + | ||
| 161 | + if (GUILayout.Button("+")) | ||
| 162 | + { | ||
| 163 | + _demo._filenames.Add(string.Empty); | ||
| 164 | + } | ||
| 165 | + | ||
| 166 | + | ||
| 167 | + | ||
| 168 | + GUILayout.EndVertical(); | ||
| 169 | + } | ||
| 170 | + | ||
| 171 | + void OnGUI() | ||
| 172 | + { | ||
| 173 | + GUI.skin = _skin; | ||
| 174 | + GUI.color = new Color(1f, 1f, 1f, 1f - _alpha); | ||
| 175 | + GUI.Box(new Rect(0, 0, 128, 32), "Demo Controls"); | ||
| 176 | + if (_visible) | ||
| 177 | + { | ||
| 178 | + GUI.color = new Color(1f, 1f, 1f, _alpha); | ||
| 179 | + GUILayout.Box("Demo Controls"); | ||
| 180 | + //GUILayout.BeginArea(new Rect(0, 0, 440, 200), GUI.skin.box); | ||
| 181 | + ControlWindow(0); | ||
| 182 | + } | ||
| 183 | + } | ||
| 184 | +} |
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | + | ||
| 4 | +public class SphereDemo : MonoBehaviour | ||
| 5 | +{ | ||
| 6 | + private float _spinX; | ||
| 7 | + private float _spinY; | ||
| 8 | + | ||
| 9 | + void Update () | ||
| 10 | + { | ||
| 11 | + // Also rotate from mouse / touch input | ||
| 12 | + if (Input.GetMouseButton(0)) | ||
| 13 | + { | ||
| 14 | + float h = 40.0f * -Input.GetAxis("Mouse X") * Time.deltaTime; | ||
| 15 | + float v = 40.0f * Input.GetAxis("Mouse Y") * Time.deltaTime; | ||
| 16 | + _spinX += h; | ||
| 17 | + _spinY += v; | ||
| 18 | + } | ||
| 19 | + if (!Mathf.Approximately(_spinX, 0f) || !Mathf.Approximately(_spinY, 0f)) | ||
| 20 | + { | ||
| 21 | + this.transform.Rotate(Vector3.up, _spinX); | ||
| 22 | + this.transform.Rotate(Vector3.right, _spinY); | ||
| 23 | + | ||
| 24 | + _spinX = Mathf.MoveTowards(_spinX, 0f, 5f * Time.deltaTime); | ||
| 25 | + _spinY = Mathf.MoveTowards(_spinY, 0f, 5f * Time.deltaTime); | ||
| 26 | + } | ||
| 27 | + } | ||
| 28 | +} |
| 1 | +#if UNITY_4_6 || UNITY_4_7 || UNITY_4_8 || UNITY_5 | ||
| 2 | +#define UNITY_FEATURE_UGUI | ||
| 3 | +#endif | ||
| 4 | + | ||
| 5 | +using UnityEngine; | ||
| 6 | +#if UNITY_FEATURE_UGUI | ||
| 7 | +using UnityEngine.UI; | ||
| 8 | +using System.Collections; | ||
| 9 | +using RenderHeads.Media.AVProVideo; | ||
| 10 | + | ||
| 11 | +//----------------------------------------------------------------------------- | ||
| 12 | +// Copyright 2015-2016 RenderHeads Ltd. All rights reserverd. | ||
| 13 | +//----------------------------------------------------------------------------- | ||
| 14 | + | ||
| 15 | +namespace RenderHeads.Media.AVProWindowsMedia.Demos | ||
| 16 | +{ | ||
| 17 | + public class VcrDemo : MonoBehaviour | ||
| 18 | + { | ||
| 19 | + public AVProWindowsMediaMovie _movie; | ||
| 20 | + | ||
| 21 | + public Slider _videoSeekSlider; | ||
| 22 | + private float _setVideoSeekSliderValue; | ||
| 23 | + private bool _wasPlayingOnScrub; | ||
| 24 | + | ||
| 25 | + public Slider _audioVolumeSlider; | ||
| 26 | + private float _setAudioVolumeSliderValue; | ||
| 27 | + | ||
| 28 | + public void OnPlayButton() | ||
| 29 | + { | ||
| 30 | + if( _movie ) | ||
| 31 | + { | ||
| 32 | + _movie.Play(); | ||
| 33 | + SetButtonEnabled( "PlayButton", false ); | ||
| 34 | + SetButtonEnabled( "PauseButton", true ); | ||
| 35 | + } | ||
| 36 | + } | ||
| 37 | + public void OnPauseButton() | ||
| 38 | + { | ||
| 39 | + if( _movie ) | ||
| 40 | + { | ||
| 41 | + _movie.Pause(); | ||
| 42 | + SetButtonEnabled( "PauseButton", false ); | ||
| 43 | + SetButtonEnabled( "PlayButton", true ); | ||
| 44 | + } | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + public void OnVideoSeekSlider() | ||
| 48 | + { | ||
| 49 | + if (_movie && _videoSeekSlider && _videoSeekSlider.value != _setVideoSeekSliderValue) | ||
| 50 | + { | ||
| 51 | + _movie.MovieInstance.PositionSeconds = (_videoSeekSlider.value * _movie.MovieInstance.DurationSeconds); | ||
| 52 | + } | ||
| 53 | + } | ||
| 54 | + public void OnVideoSliderDown() | ||
| 55 | + { | ||
| 56 | + if( _movie ) | ||
| 57 | + { | ||
| 58 | + _wasPlayingOnScrub = _movie.MovieInstance.IsPlaying; | ||
| 59 | + if( _wasPlayingOnScrub ) | ||
| 60 | + { | ||
| 61 | + _movie.Pause(); | ||
| 62 | + SetButtonEnabled( "PauseButton", false ); | ||
| 63 | + SetButtonEnabled( "PlayButton", true ); | ||
| 64 | + } | ||
| 65 | + OnVideoSeekSlider(); | ||
| 66 | + } | ||
| 67 | + } | ||
| 68 | + public void OnVideoSliderUp() | ||
| 69 | + { | ||
| 70 | + if( _movie && _wasPlayingOnScrub ) | ||
| 71 | + { | ||
| 72 | + _movie.Play(); | ||
| 73 | + _wasPlayingOnScrub = false; | ||
| 74 | + | ||
| 75 | + SetButtonEnabled( "PlayButton", false ); | ||
| 76 | + SetButtonEnabled( "PauseButton", true ); | ||
| 77 | + } | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + public void OnAudioVolumeSlider() | ||
| 81 | + { | ||
| 82 | + if (_movie && _audioVolumeSlider && _audioVolumeSlider.value != _setAudioVolumeSliderValue) | ||
| 83 | + { | ||
| 84 | + _movie._volume = _audioVolumeSlider.value; | ||
| 85 | + } | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + public void OnRewindButton() | ||
| 89 | + { | ||
| 90 | + if( _movie ) | ||
| 91 | + { | ||
| 92 | + _movie.MovieInstance.Rewind(); | ||
| 93 | + } | ||
| 94 | + } | ||
| 95 | + | ||
| 96 | + void Start() | ||
| 97 | + { | ||
| 98 | + if( _movie ) | ||
| 99 | + { | ||
| 100 | + if( _audioVolumeSlider ) | ||
| 101 | + { | ||
| 102 | + // Volume | ||
| 103 | + float volume = _movie._volume; | ||
| 104 | + _setAudioVolumeSliderValue = volume; | ||
| 105 | + _audioVolumeSlider.value = volume; | ||
| 106 | + } | ||
| 107 | + | ||
| 108 | + SetButtonEnabled( "PlayButton", false ); | ||
| 109 | + SetButtonEnabled( "PauseButton", true ); | ||
| 110 | + } | ||
| 111 | + } | ||
| 112 | + | ||
| 113 | + void Update() | ||
| 114 | + { | ||
| 115 | + if (_movie && _movie.MovieInstance != null) | ||
| 116 | + { | ||
| 117 | + float time = _movie.MovieInstance.PositionSeconds; | ||
| 118 | + float d = time / _movie.MovieInstance.DurationSeconds; | ||
| 119 | + _setVideoSeekSliderValue = d; | ||
| 120 | + _videoSeekSlider.value = d; | ||
| 121 | + } | ||
| 122 | + } | ||
| 123 | + | ||
| 124 | + private void SetButtonEnabled( string objectName, bool bEnabled ) | ||
| 125 | + { | ||
| 126 | + Button button = GameObject.Find( objectName ).GetComponent<Button>(); | ||
| 127 | + if( button ) | ||
| 128 | + { | ||
| 129 | + button.enabled = bEnabled; | ||
| 130 | + button.GetComponentInChildren<CanvasRenderer>().SetAlpha( bEnabled ? 1.0f : 0.4f ); | ||
| 131 | +// button.GetComponentInChildren<Text>().color = Color.clear; | ||
| 132 | + } | ||
| 133 | + } | ||
| 134 | + } | ||
| 135 | +} | ||
| 136 | +#endif | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!29 &1 | ||
| 4 | +SceneSettings: | ||
| 5 | + m_ObjectHideFlags: 0 | ||
| 6 | + m_PVSData: | ||
| 7 | + m_PVSObjectsArray: [] | ||
| 8 | + m_PVSPortalsArray: [] | ||
| 9 | + m_OcclusionBakeSettings: | ||
| 10 | + smallestOccluder: 5 | ||
| 11 | + smallestHole: .25 | ||
| 12 | + backfaceThreshold: 100 | ||
| 13 | +--- !u!104 &2 | ||
| 14 | +RenderSettings: | ||
| 15 | + m_Fog: 0 | ||
| 16 | + m_FogColor: {r: .5, g: .5, b: .5, a: 1} | ||
| 17 | + m_FogMode: 3 | ||
| 18 | + m_FogDensity: .00999999978 | ||
| 19 | + m_LinearFogStart: 0 | ||
| 20 | + m_LinearFogEnd: 300 | ||
| 21 | + m_AmbientLight: {r: .200000003, g: .200000003, b: .200000003, a: 1} | ||
| 22 | + m_SkyboxMaterial: {fileID: 0} | ||
| 23 | + m_HaloStrength: .5 | ||
| 24 | + m_FlareStrength: 1 | ||
| 25 | + m_FlareFadeSpeed: 3 | ||
| 26 | + m_HaloTexture: {fileID: 0} | ||
| 27 | + m_SpotCookie: {fileID: 0} | ||
| 28 | + m_ObjectHideFlags: 0 | ||
| 29 | +--- !u!127 &3 | ||
| 30 | +LevelGameManager: | ||
| 31 | + m_ObjectHideFlags: 0 | ||
| 32 | +--- !u!157 &4 | ||
| 33 | +LightmapSettings: | ||
| 34 | + m_ObjectHideFlags: 0 | ||
| 35 | + m_LightProbes: {fileID: 0} | ||
| 36 | + m_Lightmaps: [] | ||
| 37 | + m_LightmapsMode: 1 | ||
| 38 | + m_BakedColorSpace: 0 | ||
| 39 | + m_UseDualLightmapsInForward: 0 | ||
| 40 | + m_LightmapEditorSettings: | ||
| 41 | + m_Resolution: 50 | ||
| 42 | + m_LastUsedResolution: 0 | ||
| 43 | + m_TextureWidth: 1024 | ||
| 44 | + m_TextureHeight: 1024 | ||
| 45 | + m_BounceBoost: 1 | ||
| 46 | + m_BounceIntensity: 1 | ||
| 47 | + m_SkyLightColor: {r: .860000014, g: .930000007, b: 1, a: 1} | ||
| 48 | + m_SkyLightIntensity: 0 | ||
| 49 | + m_Quality: 0 | ||
| 50 | + m_Bounces: 1 | ||
| 51 | + m_FinalGatherRays: 1000 | ||
| 52 | + m_FinalGatherContrastThreshold: .0500000007 | ||
| 53 | + m_FinalGatherGradientThreshold: 0 | ||
| 54 | + m_FinalGatherInterpolationPoints: 15 | ||
| 55 | + m_AOAmount: 0 | ||
| 56 | + m_AOMaxDistance: .100000001 | ||
| 57 | + m_AOContrast: 1 | ||
| 58 | + m_LODSurfaceMappingDistance: 1 | ||
| 59 | + m_Padding: 0 | ||
| 60 | + m_TextureCompression: 0 | ||
| 61 | + m_LockAtlas: 0 | ||
| 62 | +--- !u!1 &5 | ||
| 63 | +GameObject: | ||
| 64 | + m_ObjectHideFlags: 0 | ||
| 65 | + m_PrefabParentObject: {fileID: 0} | ||
| 66 | + m_PrefabInternal: {fileID: 0} | ||
| 67 | + serializedVersion: 4 | ||
| 68 | + m_Component: | ||
| 69 | + - 4: {fileID: 6} | ||
| 70 | + - 20: {fileID: 7} | ||
| 71 | + - 92: {fileID: 8} | ||
| 72 | + - 81: {fileID: 9} | ||
| 73 | + m_Layer: 0 | ||
| 74 | + m_Name: Main Camera | ||
| 75 | + m_TagString: MainCamera | ||
| 76 | + m_Icon: {fileID: 0} | ||
| 77 | + m_NavMeshLayer: 0 | ||
| 78 | + m_StaticEditorFlags: 0 | ||
| 79 | + m_IsActive: 1 | ||
| 80 | +--- !u!4 &6 | ||
| 81 | +Transform: | ||
| 82 | + m_ObjectHideFlags: 0 | ||
| 83 | + m_PrefabParentObject: {fileID: 0} | ||
| 84 | + m_PrefabInternal: {fileID: 0} | ||
| 85 | + m_GameObject: {fileID: 5} | ||
| 86 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 87 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 88 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 89 | + m_Children: [] | ||
| 90 | + m_Father: {fileID: 0} | ||
| 91 | + m_RootOrder: 1 | ||
| 92 | +--- !u!20 &7 | ||
| 93 | +Camera: | ||
| 94 | + m_ObjectHideFlags: 0 | ||
| 95 | + m_PrefabParentObject: {fileID: 0} | ||
| 96 | + m_PrefabInternal: {fileID: 0} | ||
| 97 | + m_GameObject: {fileID: 5} | ||
| 98 | + m_Enabled: 1 | ||
| 99 | + serializedVersion: 2 | ||
| 100 | + m_ClearFlags: 2 | ||
| 101 | + m_BackGroundColor: {r: .20588237, g: .20588237, b: .20588237, a: .0196078438} | ||
| 102 | + m_NormalizedViewPortRect: | ||
| 103 | + serializedVersion: 2 | ||
| 104 | + x: 0 | ||
| 105 | + y: 0 | ||
| 106 | + width: 1 | ||
| 107 | + height: 1 | ||
| 108 | + near clip plane: .300000012 | ||
| 109 | + far clip plane: 1000 | ||
| 110 | + field of view: 60 | ||
| 111 | + orthographic: 0 | ||
| 112 | + orthographic size: 100 | ||
| 113 | + m_Depth: 0 | ||
| 114 | + m_CullingMask: | ||
| 115 | + serializedVersion: 2 | ||
| 116 | + m_Bits: 4294967295 | ||
| 117 | + m_RenderingPath: -1 | ||
| 118 | + m_TargetTexture: {fileID: 0} | ||
| 119 | + m_TargetDisplay: 0 | ||
| 120 | + m_HDR: 0 | ||
| 121 | + m_OcclusionCulling: 0 | ||
| 122 | + m_StereoConvergence: 10 | ||
| 123 | + m_StereoSeparation: .0219999999 | ||
| 124 | +--- !u!92 &8 | ||
| 125 | +Behaviour: | ||
| 126 | + m_ObjectHideFlags: 0 | ||
| 127 | + m_PrefabParentObject: {fileID: 0} | ||
| 128 | + m_PrefabInternal: {fileID: 0} | ||
| 129 | + m_GameObject: {fileID: 5} | ||
| 130 | + m_Enabled: 1 | ||
| 131 | +--- !u!81 &9 | ||
| 132 | +AudioListener: | ||
| 133 | + m_ObjectHideFlags: 0 | ||
| 134 | + m_PrefabParentObject: {fileID: 0} | ||
| 135 | + m_PrefabInternal: {fileID: 0} | ||
| 136 | + m_GameObject: {fileID: 5} | ||
| 137 | + m_Enabled: 1 | ||
| 138 | +--- !u!196 &11 | ||
| 139 | +NavMeshSettings: | ||
| 140 | + m_ObjectHideFlags: 0 | ||
| 141 | + m_BuildSettings: | ||
| 142 | + agentRadius: .5 | ||
| 143 | + agentHeight: 2 | ||
| 144 | + agentSlope: 45 | ||
| 145 | + agentClimb: .400000006 | ||
| 146 | + ledgeDropHeight: 0 | ||
| 147 | + maxJumpAcrossDistance: 0 | ||
| 148 | + accuratePlacement: 0 | ||
| 149 | + minRegionArea: 2 | ||
| 150 | + widthInaccuracy: 16.666666 | ||
| 151 | + heightInaccuracy: 10 | ||
| 152 | + m_NavMesh: {fileID: 0} | ||
| 153 | +--- !u!1 &126029585 | ||
| 154 | +GameObject: | ||
| 155 | + m_ObjectHideFlags: 0 | ||
| 156 | + m_PrefabParentObject: {fileID: 0} | ||
| 157 | + m_PrefabInternal: {fileID: 0} | ||
| 158 | + serializedVersion: 4 | ||
| 159 | + m_Component: | ||
| 160 | + - 224: {fileID: 126029586} | ||
| 161 | + - 222: {fileID: 126029588} | ||
| 162 | + - 114: {fileID: 126029587} | ||
| 163 | + m_Layer: 5 | ||
| 164 | + m_Name: Text-Normal | ||
| 165 | + m_TagString: Untagged | ||
| 166 | + m_Icon: {fileID: 0} | ||
| 167 | + m_NavMeshLayer: 0 | ||
| 168 | + m_StaticEditorFlags: 0 | ||
| 169 | + m_IsActive: 1 | ||
| 170 | +--- !u!224 &126029586 | ||
| 171 | +RectTransform: | ||
| 172 | + m_ObjectHideFlags: 0 | ||
| 173 | + m_PrefabParentObject: {fileID: 0} | ||
| 174 | + m_PrefabInternal: {fileID: 0} | ||
| 175 | + m_GameObject: {fileID: 126029585} | ||
| 176 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 177 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 178 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 179 | + m_Children: [] | ||
| 180 | + m_Father: {fileID: 985689638} | ||
| 181 | + m_RootOrder: 1 | ||
| 182 | + m_AnchorMin: {x: .5, y: .5} | ||
| 183 | + m_AnchorMax: {x: .5, y: .5} | ||
| 184 | + m_AnchoredPosition: {x: 0, y: -97} | ||
| 185 | + m_SizeDelta: {x: 543.599976, y: 93.9000015} | ||
| 186 | + m_Pivot: {x: .5, y: .5} | ||
| 187 | +--- !u!114 &126029587 | ||
| 188 | +MonoBehaviour: | ||
| 189 | + m_ObjectHideFlags: 0 | ||
| 190 | + m_PrefabParentObject: {fileID: 0} | ||
| 191 | + m_PrefabInternal: {fileID: 0} | ||
| 192 | + m_GameObject: {fileID: 126029585} | ||
| 193 | + m_Enabled: 1 | ||
| 194 | + m_EditorHideFlags: 0 | ||
| 195 | + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 196 | + m_Name: | ||
| 197 | + m_EditorClassIdentifier: | ||
| 198 | + m_Material: {fileID: 0} | ||
| 199 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 200 | + m_FontData: | ||
| 201 | + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} | ||
| 202 | + m_FontSize: 28 | ||
| 203 | + m_FontStyle: 1 | ||
| 204 | + m_BestFit: 0 | ||
| 205 | + m_MinSize: 10 | ||
| 206 | + m_MaxSize: 40 | ||
| 207 | + m_Alignment: 1 | ||
| 208 | + m_RichText: 1 | ||
| 209 | + m_HorizontalOverflow: 1 | ||
| 210 | + m_VerticalOverflow: 1 | ||
| 211 | + m_LineSpacing: 1 | ||
| 212 | + m_Text: I am normal text rendered with uGUI | ||
| 213 | +--- !u!222 &126029588 | ||
| 214 | +CanvasRenderer: | ||
| 215 | + m_ObjectHideFlags: 0 | ||
| 216 | + m_PrefabParentObject: {fileID: 0} | ||
| 217 | + m_PrefabInternal: {fileID: 0} | ||
| 218 | + m_GameObject: {fileID: 126029585} | ||
| 219 | +--- !u!1 &734521571 | ||
| 220 | +GameObject: | ||
| 221 | + m_ObjectHideFlags: 0 | ||
| 222 | + m_PrefabParentObject: {fileID: 0} | ||
| 223 | + m_PrefabInternal: {fileID: 0} | ||
| 224 | + serializedVersion: 4 | ||
| 225 | + m_Component: | ||
| 226 | + - 224: {fileID: 734521575} | ||
| 227 | + - 222: {fileID: 734521574} | ||
| 228 | + - 114: {fileID: 734521573} | ||
| 229 | + - 114: {fileID: 734521572} | ||
| 230 | + m_Layer: 5 | ||
| 231 | + m_Name: Text-Video | ||
| 232 | + m_TagString: Untagged | ||
| 233 | + m_Icon: {fileID: 0} | ||
| 234 | + m_NavMeshLayer: 0 | ||
| 235 | + m_StaticEditorFlags: 0 | ||
| 236 | + m_IsActive: 1 | ||
| 237 | +--- !u!114 &734521572 | ||
| 238 | +MonoBehaviour: | ||
| 239 | + m_ObjectHideFlags: 0 | ||
| 240 | + m_PrefabParentObject: {fileID: 0} | ||
| 241 | + m_PrefabInternal: {fileID: 0} | ||
| 242 | + m_GameObject: {fileID: 734521571} | ||
| 243 | + m_Enabled: 1 | ||
| 244 | + m_EditorHideFlags: 0 | ||
| 245 | + m_Script: {fileID: 11500000, guid: 6c54b4fa2340b3d45ac4dc123ac53600, type: 3} | ||
| 246 | + m_Name: | ||
| 247 | + m_EditorClassIdentifier: | ||
| 248 | + _material: {fileID: 2100000, guid: cb4bf77dfdec29c488807ed356843bbd, type: 2} | ||
| 249 | + _textureName: _OverlayTex | ||
| 250 | + _movie: {fileID: 1853078888} | ||
| 251 | + _defaultTexture: {fileID: 0} | ||
| 252 | +--- !u!114 &734521573 | ||
| 253 | +MonoBehaviour: | ||
| 254 | + m_ObjectHideFlags: 0 | ||
| 255 | + m_PrefabParentObject: {fileID: 0} | ||
| 256 | + m_PrefabInternal: {fileID: 0} | ||
| 257 | + m_GameObject: {fileID: 734521571} | ||
| 258 | + m_Enabled: 1 | ||
| 259 | + m_EditorHideFlags: 0 | ||
| 260 | + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 261 | + m_Name: | ||
| 262 | + m_EditorClassIdentifier: | ||
| 263 | + m_Material: {fileID: 2100000, guid: cb4bf77dfdec29c488807ed356843bbd, type: 2} | ||
| 264 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 265 | + m_FontData: | ||
| 266 | + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} | ||
| 267 | + m_FontSize: 28 | ||
| 268 | + m_FontStyle: 1 | ||
| 269 | + m_BestFit: 0 | ||
| 270 | + m_MinSize: 10 | ||
| 271 | + m_MaxSize: 40 | ||
| 272 | + m_Alignment: 1 | ||
| 273 | + m_RichText: 1 | ||
| 274 | + m_HorizontalOverflow: 1 | ||
| 275 | + m_VerticalOverflow: 1 | ||
| 276 | + m_LineSpacing: 1 | ||
| 277 | + m_Text: I am FUNKY text rendered with uGUI | ||
| 278 | +--- !u!222 &734521574 | ||
| 279 | +CanvasRenderer: | ||
| 280 | + m_ObjectHideFlags: 0 | ||
| 281 | + m_PrefabParentObject: {fileID: 0} | ||
| 282 | + m_PrefabInternal: {fileID: 0} | ||
| 283 | + m_GameObject: {fileID: 734521571} | ||
| 284 | +--- !u!224 &734521575 | ||
| 285 | +RectTransform: | ||
| 286 | + m_ObjectHideFlags: 0 | ||
| 287 | + m_PrefabParentObject: {fileID: 0} | ||
| 288 | + m_PrefabInternal: {fileID: 0} | ||
| 289 | + m_GameObject: {fileID: 734521571} | ||
| 290 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 291 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 292 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 293 | + m_Children: [] | ||
| 294 | + m_Father: {fileID: 985689638} | ||
| 295 | + m_RootOrder: 2 | ||
| 296 | + m_AnchorMin: {x: .5, y: .5} | ||
| 297 | + m_AnchorMax: {x: .5, y: .5} | ||
| 298 | + m_AnchoredPosition: {x: 0, y: -183.970001} | ||
| 299 | + m_SizeDelta: {x: 543.599976, y: 93.9000015} | ||
| 300 | + m_Pivot: {x: .5, y: .5} | ||
| 301 | +--- !u!1 &782348078 | ||
| 302 | +GameObject: | ||
| 303 | + m_ObjectHideFlags: 0 | ||
| 304 | + m_PrefabParentObject: {fileID: 0} | ||
| 305 | + m_PrefabInternal: {fileID: 0} | ||
| 306 | + serializedVersion: 4 | ||
| 307 | + m_Component: | ||
| 308 | + - 4: {fileID: 782348080} | ||
| 309 | + - 114: {fileID: 782348079} | ||
| 310 | + m_Layer: 0 | ||
| 311 | + m_Name: MovieManager | ||
| 312 | + m_TagString: Untagged | ||
| 313 | + m_Icon: {fileID: 0} | ||
| 314 | + m_NavMeshLayer: 0 | ||
| 315 | + m_StaticEditorFlags: 0 | ||
| 316 | + m_IsActive: 1 | ||
| 317 | +--- !u!114 &782348079 | ||
| 318 | +MonoBehaviour: | ||
| 319 | + m_ObjectHideFlags: 0 | ||
| 320 | + m_PrefabParentObject: {fileID: 0} | ||
| 321 | + m_PrefabInternal: {fileID: 0} | ||
| 322 | + m_GameObject: {fileID: 782348078} | ||
| 323 | + m_Enabled: 1 | ||
| 324 | + m_EditorHideFlags: 0 | ||
| 325 | + m_Script: {fileID: 11500000, guid: e97ef6d0bfd7238498bb990e58ae4ca2, type: 3} | ||
| 326 | + m_Name: | ||
| 327 | + m_EditorClassIdentifier: | ||
| 328 | + _logVideoLoads: 1 | ||
| 329 | + _useExternalTextures: 0 | ||
| 330 | +--- !u!4 &782348080 | ||
| 331 | +Transform: | ||
| 332 | + m_ObjectHideFlags: 0 | ||
| 333 | + m_PrefabParentObject: {fileID: 0} | ||
| 334 | + m_PrefabInternal: {fileID: 0} | ||
| 335 | + m_GameObject: {fileID: 782348078} | ||
| 336 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 337 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 338 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 339 | + m_Children: [] | ||
| 340 | + m_Father: {fileID: 0} | ||
| 341 | + m_RootOrder: 3 | ||
| 342 | +--- !u!1 &985689634 | ||
| 343 | +GameObject: | ||
| 344 | + m_ObjectHideFlags: 0 | ||
| 345 | + m_PrefabParentObject: {fileID: 0} | ||
| 346 | + m_PrefabInternal: {fileID: 0} | ||
| 347 | + serializedVersion: 4 | ||
| 348 | + m_Component: | ||
| 349 | + - 224: {fileID: 985689638} | ||
| 350 | + - 223: {fileID: 985689637} | ||
| 351 | + - 114: {fileID: 985689636} | ||
| 352 | + - 114: {fileID: 985689635} | ||
| 353 | + m_Layer: 5 | ||
| 354 | + m_Name: Canvas | ||
| 355 | + m_TagString: Untagged | ||
| 356 | + m_Icon: {fileID: 0} | ||
| 357 | + m_NavMeshLayer: 0 | ||
| 358 | + m_StaticEditorFlags: 0 | ||
| 359 | + m_IsActive: 1 | ||
| 360 | +--- !u!114 &985689635 | ||
| 361 | +MonoBehaviour: | ||
| 362 | + m_ObjectHideFlags: 0 | ||
| 363 | + m_PrefabParentObject: {fileID: 0} | ||
| 364 | + m_PrefabInternal: {fileID: 0} | ||
| 365 | + m_GameObject: {fileID: 985689634} | ||
| 366 | + m_Enabled: 1 | ||
| 367 | + m_EditorHideFlags: 0 | ||
| 368 | + m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 369 | + m_Name: | ||
| 370 | + m_EditorClassIdentifier: | ||
| 371 | + ignoreReversedGraphics: 1 | ||
| 372 | + blockingObjects: 0 | ||
| 373 | + m_BlockingMask: | ||
| 374 | + serializedVersion: 2 | ||
| 375 | + m_Bits: 4294967295 | ||
| 376 | +--- !u!114 &985689636 | ||
| 377 | +MonoBehaviour: | ||
| 378 | + m_ObjectHideFlags: 0 | ||
| 379 | + m_PrefabParentObject: {fileID: 0} | ||
| 380 | + m_PrefabInternal: {fileID: 0} | ||
| 381 | + m_GameObject: {fileID: 985689634} | ||
| 382 | + m_Enabled: 1 | ||
| 383 | + m_EditorHideFlags: 0 | ||
| 384 | + m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 385 | + m_Name: | ||
| 386 | + m_EditorClassIdentifier: | ||
| 387 | + m_UiScaleMode: 1 | ||
| 388 | + m_ReferencePixelsPerUnit: 100 | ||
| 389 | + m_ScaleFactor: 1 | ||
| 390 | + m_ReferenceResolution: {x: 800, y: 600} | ||
| 391 | + m_ScreenMatchMode: 0 | ||
| 392 | + m_MatchWidthOrHeight: 0 | ||
| 393 | + m_PhysicalUnit: 3 | ||
| 394 | + m_FallbackScreenDPI: 96 | ||
| 395 | + m_DefaultSpriteDPI: 96 | ||
| 396 | + m_DynamicPixelsPerUnit: 1 | ||
| 397 | +--- !u!223 &985689637 | ||
| 398 | +Canvas: | ||
| 399 | + m_ObjectHideFlags: 0 | ||
| 400 | + m_PrefabParentObject: {fileID: 0} | ||
| 401 | + m_PrefabInternal: {fileID: 0} | ||
| 402 | + m_GameObject: {fileID: 985689634} | ||
| 403 | + m_Enabled: 1 | ||
| 404 | + serializedVersion: 2 | ||
| 405 | + m_RenderMode: 0 | ||
| 406 | + m_Camera: {fileID: 0} | ||
| 407 | + m_PlaneDistance: 100 | ||
| 408 | + m_PixelPerfect: 0 | ||
| 409 | + m_ReceivesEvents: 1 | ||
| 410 | + m_OverrideSorting: 0 | ||
| 411 | + m_OverridePixelPerfect: 0 | ||
| 412 | + m_SortingLayerID: 0 | ||
| 413 | + m_SortingOrder: 0 | ||
| 414 | +--- !u!224 &985689638 | ||
| 415 | +RectTransform: | ||
| 416 | + m_ObjectHideFlags: 0 | ||
| 417 | + m_PrefabParentObject: {fileID: 0} | ||
| 418 | + m_PrefabInternal: {fileID: 0} | ||
| 419 | + m_GameObject: {fileID: 985689634} | ||
| 420 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 421 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 422 | + m_LocalScale: {x: 0, y: 0, z: 0} | ||
| 423 | + m_Children: | ||
| 424 | + - {fileID: 1926268769} | ||
| 425 | + - {fileID: 126029586} | ||
| 426 | + - {fileID: 734521575} | ||
| 427 | + - {fileID: 1780508417} | ||
| 428 | + m_Father: {fileID: 0} | ||
| 429 | + m_RootOrder: 4 | ||
| 430 | + m_AnchorMin: {x: 0, y: 0} | ||
| 431 | + m_AnchorMax: {x: 0, y: 0} | ||
| 432 | + m_AnchoredPosition: {x: 0, y: 0} | ||
| 433 | + m_SizeDelta: {x: 0, y: 0} | ||
| 434 | + m_Pivot: {x: 0, y: 0} | ||
| 435 | +--- !u!1 &1635340283 | ||
| 436 | +GameObject: | ||
| 437 | + m_ObjectHideFlags: 0 | ||
| 438 | + m_PrefabParentObject: {fileID: 0} | ||
| 439 | + m_PrefabInternal: {fileID: 0} | ||
| 440 | + serializedVersion: 4 | ||
| 441 | + m_Component: | ||
| 442 | + - 4: {fileID: 1635340287} | ||
| 443 | + - 114: {fileID: 1635340286} | ||
| 444 | + - 114: {fileID: 1635340285} | ||
| 445 | + - 114: {fileID: 1635340284} | ||
| 446 | + m_Layer: 0 | ||
| 447 | + m_Name: EventSystem | ||
| 448 | + m_TagString: Untagged | ||
| 449 | + m_Icon: {fileID: 0} | ||
| 450 | + m_NavMeshLayer: 0 | ||
| 451 | + m_StaticEditorFlags: 0 | ||
| 452 | + m_IsActive: 1 | ||
| 453 | +--- !u!114 &1635340284 | ||
| 454 | +MonoBehaviour: | ||
| 455 | + m_ObjectHideFlags: 0 | ||
| 456 | + m_PrefabParentObject: {fileID: 0} | ||
| 457 | + m_PrefabInternal: {fileID: 0} | ||
| 458 | + m_GameObject: {fileID: 1635340283} | ||
| 459 | + m_Enabled: 1 | ||
| 460 | + m_EditorHideFlags: 0 | ||
| 461 | + m_Script: {fileID: 1997211142, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 462 | + m_Name: | ||
| 463 | + m_EditorClassIdentifier: | ||
| 464 | + m_AllowActivationOnStandalone: 0 | ||
| 465 | +--- !u!114 &1635340285 | ||
| 466 | +MonoBehaviour: | ||
| 467 | + m_ObjectHideFlags: 0 | ||
| 468 | + m_PrefabParentObject: {fileID: 0} | ||
| 469 | + m_PrefabInternal: {fileID: 0} | ||
| 470 | + m_GameObject: {fileID: 1635340283} | ||
| 471 | + m_Enabled: 1 | ||
| 472 | + m_EditorHideFlags: 0 | ||
| 473 | + m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 474 | + m_Name: | ||
| 475 | + m_EditorClassIdentifier: | ||
| 476 | + m_HorizontalAxis: Horizontal | ||
| 477 | + m_VerticalAxis: Vertical | ||
| 478 | + m_SubmitButton: Submit | ||
| 479 | + m_CancelButton: Cancel | ||
| 480 | + m_InputActionsPerSecond: 10 | ||
| 481 | + m_AllowActivationOnMobileDevice: 0 | ||
| 482 | +--- !u!114 &1635340286 | ||
| 483 | +MonoBehaviour: | ||
| 484 | + m_ObjectHideFlags: 0 | ||
| 485 | + m_PrefabParentObject: {fileID: 0} | ||
| 486 | + m_PrefabInternal: {fileID: 0} | ||
| 487 | + m_GameObject: {fileID: 1635340283} | ||
| 488 | + m_Enabled: 1 | ||
| 489 | + m_EditorHideFlags: 0 | ||
| 490 | + m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 491 | + m_Name: | ||
| 492 | + m_EditorClassIdentifier: | ||
| 493 | + m_FirstSelected: {fileID: 0} | ||
| 494 | + m_sendNavigationEvents: 1 | ||
| 495 | + m_DragThreshold: 5 | ||
| 496 | +--- !u!4 &1635340287 | ||
| 497 | +Transform: | ||
| 498 | + m_ObjectHideFlags: 0 | ||
| 499 | + m_PrefabParentObject: {fileID: 0} | ||
| 500 | + m_PrefabInternal: {fileID: 0} | ||
| 501 | + m_GameObject: {fileID: 1635340283} | ||
| 502 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 503 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 504 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 505 | + m_Children: [] | ||
| 506 | + m_Father: {fileID: 0} | ||
| 507 | + m_RootOrder: 5 | ||
| 508 | +--- !u!1 &1780508416 | ||
| 509 | +GameObject: | ||
| 510 | + m_ObjectHideFlags: 0 | ||
| 511 | + m_PrefabParentObject: {fileID: 0} | ||
| 512 | + m_PrefabInternal: {fileID: 0} | ||
| 513 | + serializedVersion: 4 | ||
| 514 | + m_Component: | ||
| 515 | + - 224: {fileID: 1780508417} | ||
| 516 | + - 222: {fileID: 1780508420} | ||
| 517 | + - 114: {fileID: 1780508419} | ||
| 518 | + - 114: {fileID: 1780508418} | ||
| 519 | + - 114: {fileID: 1780508421} | ||
| 520 | + m_Layer: 5 | ||
| 521 | + m_Name: Button | ||
| 522 | + m_TagString: Untagged | ||
| 523 | + m_Icon: {fileID: 0} | ||
| 524 | + m_NavMeshLayer: 0 | ||
| 525 | + m_StaticEditorFlags: 0 | ||
| 526 | + m_IsActive: 1 | ||
| 527 | +--- !u!224 &1780508417 | ||
| 528 | +RectTransform: | ||
| 529 | + m_ObjectHideFlags: 0 | ||
| 530 | + m_PrefabParentObject: {fileID: 0} | ||
| 531 | + m_PrefabInternal: {fileID: 0} | ||
| 532 | + m_GameObject: {fileID: 1780508416} | ||
| 533 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 534 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 535 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 536 | + m_Children: | ||
| 537 | + - {fileID: 2093629387} | ||
| 538 | + m_Father: {fileID: 985689638} | ||
| 539 | + m_RootOrder: 3 | ||
| 540 | + m_AnchorMin: {x: .5, y: .5} | ||
| 541 | + m_AnchorMax: {x: .5, y: .5} | ||
| 542 | + m_AnchoredPosition: {x: 0, y: -193} | ||
| 543 | + m_SizeDelta: {x: 177, y: 38.5} | ||
| 544 | + m_Pivot: {x: .5, y: .5} | ||
| 545 | +--- !u!114 &1780508418 | ||
| 546 | +MonoBehaviour: | ||
| 547 | + m_ObjectHideFlags: 0 | ||
| 548 | + m_PrefabParentObject: {fileID: 0} | ||
| 549 | + m_PrefabInternal: {fileID: 0} | ||
| 550 | + m_GameObject: {fileID: 1780508416} | ||
| 551 | + m_Enabled: 1 | ||
| 552 | + m_EditorHideFlags: 0 | ||
| 553 | + m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 554 | + m_Name: | ||
| 555 | + m_EditorClassIdentifier: | ||
| 556 | + m_Navigation: | ||
| 557 | + m_Mode: 3 | ||
| 558 | + m_SelectOnUp: {fileID: 0} | ||
| 559 | + m_SelectOnDown: {fileID: 0} | ||
| 560 | + m_SelectOnLeft: {fileID: 0} | ||
| 561 | + m_SelectOnRight: {fileID: 0} | ||
| 562 | + m_Transition: 1 | ||
| 563 | + m_Colors: | ||
| 564 | + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 565 | + m_HighlightedColor: {r: .960784316, g: .960784316, b: .960784316, a: 1} | ||
| 566 | + m_PressedColor: {r: .458823532, g: .458823532, b: .458823532, a: 1} | ||
| 567 | + m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814} | ||
| 568 | + m_ColorMultiplier: 1 | ||
| 569 | + m_FadeDuration: .100000001 | ||
| 570 | + m_SpriteState: | ||
| 571 | + m_HighlightedSprite: {fileID: 0} | ||
| 572 | + m_PressedSprite: {fileID: 0} | ||
| 573 | + m_DisabledSprite: {fileID: 0} | ||
| 574 | + m_AnimationTriggers: | ||
| 575 | + m_NormalTrigger: Normal | ||
| 576 | + m_HighlightedTrigger: Highlighted | ||
| 577 | + m_PressedTrigger: Pressed | ||
| 578 | + m_DisabledTrigger: Disabled | ||
| 579 | + m_Interactable: 1 | ||
| 580 | + m_TargetGraphic: {fileID: 1780508419} | ||
| 581 | + m_OnClick: | ||
| 582 | + m_PersistentCalls: | ||
| 583 | + m_Calls: [] | ||
| 584 | + m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, | ||
| 585 | + Culture=neutral, PublicKeyToken=null | ||
| 586 | +--- !u!114 &1780508419 | ||
| 587 | +MonoBehaviour: | ||
| 588 | + m_ObjectHideFlags: 0 | ||
| 589 | + m_PrefabParentObject: {fileID: 0} | ||
| 590 | + m_PrefabInternal: {fileID: 0} | ||
| 591 | + m_GameObject: {fileID: 1780508416} | ||
| 592 | + m_Enabled: 1 | ||
| 593 | + m_EditorHideFlags: 0 | ||
| 594 | + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 595 | + m_Name: | ||
| 596 | + m_EditorClassIdentifier: | ||
| 597 | + m_Material: {fileID: 2100000, guid: 35647be038e352947ad5087a4630de94, type: 2} | ||
| 598 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 599 | + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} | ||
| 600 | + m_Type: 1 | ||
| 601 | + m_PreserveAspect: 0 | ||
| 602 | + m_FillCenter: 1 | ||
| 603 | + m_FillMethod: 4 | ||
| 604 | + m_FillAmount: 1 | ||
| 605 | + m_FillClockwise: 1 | ||
| 606 | + m_FillOrigin: 0 | ||
| 607 | +--- !u!222 &1780508420 | ||
| 608 | +CanvasRenderer: | ||
| 609 | + m_ObjectHideFlags: 0 | ||
| 610 | + m_PrefabParentObject: {fileID: 0} | ||
| 611 | + m_PrefabInternal: {fileID: 0} | ||
| 612 | + m_GameObject: {fileID: 1780508416} | ||
| 613 | +--- !u!114 &1780508421 | ||
| 614 | +MonoBehaviour: | ||
| 615 | + m_ObjectHideFlags: 0 | ||
| 616 | + m_PrefabParentObject: {fileID: 0} | ||
| 617 | + m_PrefabInternal: {fileID: 0} | ||
| 618 | + m_GameObject: {fileID: 1780508416} | ||
| 619 | + m_Enabled: 1 | ||
| 620 | + m_EditorHideFlags: 0 | ||
| 621 | + m_Script: {fileID: 11500000, guid: 6c54b4fa2340b3d45ac4dc123ac53600, type: 3} | ||
| 622 | + m_Name: | ||
| 623 | + m_EditorClassIdentifier: | ||
| 624 | + _material: {fileID: 2100000, guid: 35647be038e352947ad5087a4630de94, type: 2} | ||
| 625 | + _textureName: _OverlayTex | ||
| 626 | + _movie: {fileID: 1853078888} | ||
| 627 | + _defaultTexture: {fileID: 0} | ||
| 628 | +--- !u!1 &1848005465 | ||
| 629 | +GameObject: | ||
| 630 | + m_ObjectHideFlags: 0 | ||
| 631 | + m_PrefabParentObject: {fileID: 0} | ||
| 632 | + m_PrefabInternal: {fileID: 0} | ||
| 633 | + serializedVersion: 4 | ||
| 634 | + m_Component: | ||
| 635 | + - 4: {fileID: 1848005466} | ||
| 636 | + - 114: {fileID: 1848005467} | ||
| 637 | + m_Layer: 0 | ||
| 638 | + m_Name: DemoInfo | ||
| 639 | + m_TagString: Untagged | ||
| 640 | + m_Icon: {fileID: 0} | ||
| 641 | + m_NavMeshLayer: 0 | ||
| 642 | + m_StaticEditorFlags: 0 | ||
| 643 | + m_IsActive: 1 | ||
| 644 | +--- !u!4 &1848005466 | ||
| 645 | +Transform: | ||
| 646 | + m_ObjectHideFlags: 0 | ||
| 647 | + m_PrefabParentObject: {fileID: 0} | ||
| 648 | + m_PrefabInternal: {fileID: 0} | ||
| 649 | + m_GameObject: {fileID: 1848005465} | ||
| 650 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 651 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 652 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 653 | + m_Children: [] | ||
| 654 | + m_Father: {fileID: 0} | ||
| 655 | + m_RootOrder: 0 | ||
| 656 | +--- !u!114 &1848005467 | ||
| 657 | +MonoBehaviour: | ||
| 658 | + m_ObjectHideFlags: 0 | ||
| 659 | + m_PrefabParentObject: {fileID: 0} | ||
| 660 | + m_PrefabInternal: {fileID: 0} | ||
| 661 | + m_GameObject: {fileID: 1848005465} | ||
| 662 | + m_Enabled: 1 | ||
| 663 | + m_EditorHideFlags: 0 | ||
| 664 | + m_Script: {fileID: 11500000, guid: 10fa3ce0e1c037e449490a4f9ca3bf99, type: 3} | ||
| 665 | + m_Name: | ||
| 666 | + m_EditorClassIdentifier: | ||
| 667 | + _title: uGUI | ||
| 668 | + _description: This demo uses the uGUI component to integrate vidoe playback into | ||
| 669 | + the Unity GUI system | ||
| 670 | +--- !u!1 &1853078886 | ||
| 671 | +GameObject: | ||
| 672 | + m_ObjectHideFlags: 0 | ||
| 673 | + m_PrefabParentObject: {fileID: 0} | ||
| 674 | + m_PrefabInternal: {fileID: 0} | ||
| 675 | + serializedVersion: 4 | ||
| 676 | + m_Component: | ||
| 677 | + - 4: {fileID: 1853078887} | ||
| 678 | + - 114: {fileID: 1853078888} | ||
| 679 | + - 114: {fileID: 1853078889} | ||
| 680 | + m_Layer: 0 | ||
| 681 | + m_Name: Movie | ||
| 682 | + m_TagString: Untagged | ||
| 683 | + m_Icon: {fileID: 0} | ||
| 684 | + m_NavMeshLayer: 0 | ||
| 685 | + m_StaticEditorFlags: 0 | ||
| 686 | + m_IsActive: 1 | ||
| 687 | +--- !u!4 &1853078887 | ||
| 688 | +Transform: | ||
| 689 | + m_ObjectHideFlags: 0 | ||
| 690 | + m_PrefabParentObject: {fileID: 0} | ||
| 691 | + m_PrefabInternal: {fileID: 0} | ||
| 692 | + m_GameObject: {fileID: 1853078886} | ||
| 693 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 694 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 695 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 696 | + m_Children: [] | ||
| 697 | + m_Father: {fileID: 0} | ||
| 698 | + m_RootOrder: 2 | ||
| 699 | +--- !u!114 &1853078888 | ||
| 700 | +MonoBehaviour: | ||
| 701 | + m_ObjectHideFlags: 0 | ||
| 702 | + m_PrefabParentObject: {fileID: 0} | ||
| 703 | + m_PrefabInternal: {fileID: 0} | ||
| 704 | + m_GameObject: {fileID: 1853078886} | ||
| 705 | + m_Enabled: 1 | ||
| 706 | + m_EditorHideFlags: 0 | ||
| 707 | + m_Script: {fileID: 11500000, guid: 8225388bc511e1f40be2e753ddefe282, type: 3} | ||
| 708 | + m_Name: | ||
| 709 | + m_EditorClassIdentifier: | ||
| 710 | + _folder: | ||
| 711 | + _filename: sample-1920x1024-divx.avi | ||
| 712 | + _useStreamingAssetsPath: 1 | ||
| 713 | + _loop: 1 | ||
| 714 | + _colourFormat: 2 | ||
| 715 | + _allowAudio: 1 | ||
| 716 | + _useAudioDelay: 0 | ||
| 717 | + _useAudioMixer: 0 | ||
| 718 | + _useDisplaySync: 0 | ||
| 719 | + _loadOnStart: 1 | ||
| 720 | + _playOnStart: 1 | ||
| 721 | + _editorPreview: 1 | ||
| 722 | + _ignoreFlips: 1 | ||
| 723 | + _volume: .5 | ||
| 724 | + _audioBalance: 0 | ||
| 725 | + _textureFilterMode: 1 | ||
| 726 | + _textureWrapMode: 1 | ||
| 727 | + _clips: [] | ||
| 728 | +--- !u!114 &1853078889 | ||
| 729 | +MonoBehaviour: | ||
| 730 | + m_ObjectHideFlags: 0 | ||
| 731 | + m_PrefabParentObject: {fileID: 0} | ||
| 732 | + m_PrefabInternal: {fileID: 0} | ||
| 733 | + m_GameObject: {fileID: 1853078886} | ||
| 734 | + m_Enabled: 1 | ||
| 735 | + m_EditorHideFlags: 0 | ||
| 736 | + m_Script: {fileID: 11500000, guid: 72fc29f9cbb939141bc513bfa454dbaa, type: 3} | ||
| 737 | + m_Name: | ||
| 738 | + m_EditorClassIdentifier: | ||
| 739 | + _mesh: {fileID: 0} | ||
| 740 | + _movie: {fileID: 1853078888} | ||
| 741 | + _defaultTexture: {fileID: 0} | ||
| 742 | +--- !u!1 &1926268768 | ||
| 743 | +GameObject: | ||
| 744 | + m_ObjectHideFlags: 0 | ||
| 745 | + m_PrefabParentObject: {fileID: 0} | ||
| 746 | + m_PrefabInternal: {fileID: 0} | ||
| 747 | + serializedVersion: 4 | ||
| 748 | + m_Component: | ||
| 749 | + - 224: {fileID: 1926268769} | ||
| 750 | + - 222: {fileID: 1926268771} | ||
| 751 | + - 114: {fileID: 1926268770} | ||
| 752 | + m_Layer: 0 | ||
| 753 | + m_Name: AVPro Windows Media | ||
| 754 | + m_TagString: Untagged | ||
| 755 | + m_Icon: {fileID: 0} | ||
| 756 | + m_NavMeshLayer: 0 | ||
| 757 | + m_StaticEditorFlags: 0 | ||
| 758 | + m_IsActive: 1 | ||
| 759 | +--- !u!224 &1926268769 | ||
| 760 | +RectTransform: | ||
| 761 | + m_ObjectHideFlags: 0 | ||
| 762 | + m_PrefabParentObject: {fileID: 0} | ||
| 763 | + m_PrefabInternal: {fileID: 0} | ||
| 764 | + m_GameObject: {fileID: 1926268768} | ||
| 765 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 766 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 767 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 768 | + m_Children: [] | ||
| 769 | + m_Father: {fileID: 985689638} | ||
| 770 | + m_RootOrder: 0 | ||
| 771 | + m_AnchorMin: {x: .5, y: .5} | ||
| 772 | + m_AnchorMax: {x: .5, y: .5} | ||
| 773 | + m_AnchoredPosition: {x: 0, y: 59.3300018} | ||
| 774 | + m_SizeDelta: {x: 608, y: 363.440002} | ||
| 775 | + m_Pivot: {x: .5, y: .5} | ||
| 776 | +--- !u!114 &1926268770 | ||
| 777 | +MonoBehaviour: | ||
| 778 | + m_ObjectHideFlags: 0 | ||
| 779 | + m_PrefabParentObject: {fileID: 0} | ||
| 780 | + m_PrefabInternal: {fileID: 0} | ||
| 781 | + m_GameObject: {fileID: 1926268768} | ||
| 782 | + m_Enabled: 1 | ||
| 783 | + m_EditorHideFlags: 0 | ||
| 784 | + m_Script: {fileID: 11500000, guid: 07aadce18b641e34f8f52d6bb445c956, type: 3} | ||
| 785 | + m_Name: | ||
| 786 | + m_EditorClassIdentifier: | ||
| 787 | + m_Material: {fileID: 0} | ||
| 788 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 789 | + m_movie: {fileID: 1853078888} | ||
| 790 | + m_UVRect: | ||
| 791 | + serializedVersion: 2 | ||
| 792 | + x: 0 | ||
| 793 | + y: 0 | ||
| 794 | + width: 1 | ||
| 795 | + height: 1 | ||
| 796 | + _setNativeSize: 0 | ||
| 797 | + _keepAspectRatio: 1 | ||
| 798 | + _noDefaultDisplay: 1 | ||
| 799 | + _defaultTexture: {fileID: 0} | ||
| 800 | +--- !u!222 &1926268771 | ||
| 801 | +CanvasRenderer: | ||
| 802 | + m_ObjectHideFlags: 0 | ||
| 803 | + m_PrefabParentObject: {fileID: 0} | ||
| 804 | + m_PrefabInternal: {fileID: 0} | ||
| 805 | + m_GameObject: {fileID: 1926268768} | ||
| 806 | +--- !u!1 &2093629386 | ||
| 807 | +GameObject: | ||
| 808 | + m_ObjectHideFlags: 0 | ||
| 809 | + m_PrefabParentObject: {fileID: 0} | ||
| 810 | + m_PrefabInternal: {fileID: 0} | ||
| 811 | + serializedVersion: 4 | ||
| 812 | + m_Component: | ||
| 813 | + - 224: {fileID: 2093629387} | ||
| 814 | + - 222: {fileID: 2093629389} | ||
| 815 | + - 114: {fileID: 2093629388} | ||
| 816 | + m_Layer: 5 | ||
| 817 | + m_Name: Text | ||
| 818 | + m_TagString: Untagged | ||
| 819 | + m_Icon: {fileID: 0} | ||
| 820 | + m_NavMeshLayer: 0 | ||
| 821 | + m_StaticEditorFlags: 0 | ||
| 822 | + m_IsActive: 1 | ||
| 823 | +--- !u!224 &2093629387 | ||
| 824 | +RectTransform: | ||
| 825 | + m_ObjectHideFlags: 0 | ||
| 826 | + m_PrefabParentObject: {fileID: 0} | ||
| 827 | + m_PrefabInternal: {fileID: 0} | ||
| 828 | + m_GameObject: {fileID: 2093629386} | ||
| 829 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 830 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 831 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 832 | + m_Children: [] | ||
| 833 | + m_Father: {fileID: 1780508417} | ||
| 834 | + m_RootOrder: 0 | ||
| 835 | + m_AnchorMin: {x: 0, y: 0} | ||
| 836 | + m_AnchorMax: {x: 1, y: 1} | ||
| 837 | + m_AnchoredPosition: {x: 0, y: 0} | ||
| 838 | + m_SizeDelta: {x: 0, y: 0} | ||
| 839 | + m_Pivot: {x: .5, y: .5} | ||
| 840 | +--- !u!114 &2093629388 | ||
| 841 | +MonoBehaviour: | ||
| 842 | + m_ObjectHideFlags: 0 | ||
| 843 | + m_PrefabParentObject: {fileID: 0} | ||
| 844 | + m_PrefabInternal: {fileID: 0} | ||
| 845 | + m_GameObject: {fileID: 2093629386} | ||
| 846 | + m_Enabled: 1 | ||
| 847 | + m_EditorHideFlags: 0 | ||
| 848 | + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 849 | + m_Name: | ||
| 850 | + m_EditorClassIdentifier: | ||
| 851 | + m_Material: {fileID: 0} | ||
| 852 | + m_Color: {r: .705882311, g: .705882311, b: .705882311, a: 1} | ||
| 853 | + m_FontData: | ||
| 854 | + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} | ||
| 855 | + m_FontSize: 17 | ||
| 856 | + m_FontStyle: 0 | ||
| 857 | + m_BestFit: 0 | ||
| 858 | + m_MinSize: 10 | ||
| 859 | + m_MaxSize: 40 | ||
| 860 | + m_Alignment: 4 | ||
| 861 | + m_RichText: 0 | ||
| 862 | + m_HorizontalOverflow: 0 | ||
| 863 | + m_VerticalOverflow: 0 | ||
| 864 | + m_LineSpacing: 1 | ||
| 865 | + m_Text: PRESS | ||
| 866 | +--- !u!222 &2093629389 | ||
| 867 | +CanvasRenderer: | ||
| 868 | + m_ObjectHideFlags: 0 | ||
| 869 | + m_PrefabParentObject: {fileID: 0} | ||
| 870 | + m_PrefabInternal: {fileID: 0} | ||
| 871 | + m_GameObject: {fileID: 2093629386} |
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!29 &1 | ||
| 4 | +SceneSettings: | ||
| 5 | + m_ObjectHideFlags: 0 | ||
| 6 | + m_PVSData: | ||
| 7 | + m_PVSObjectsArray: [] | ||
| 8 | + m_PVSPortalsArray: [] | ||
| 9 | + m_OcclusionBakeSettings: | ||
| 10 | + smallestOccluder: 5 | ||
| 11 | + smallestHole: .25 | ||
| 12 | + backfaceThreshold: 100 | ||
| 13 | +--- !u!104 &2 | ||
| 14 | +RenderSettings: | ||
| 15 | + m_Fog: 0 | ||
| 16 | + m_FogColor: {r: .5, g: .5, b: .5, a: 1} | ||
| 17 | + m_FogMode: 3 | ||
| 18 | + m_FogDensity: .00999999978 | ||
| 19 | + m_LinearFogStart: 0 | ||
| 20 | + m_LinearFogEnd: 300 | ||
| 21 | + m_AmbientLight: {r: .200000003, g: .200000003, b: .200000003, a: 1} | ||
| 22 | + m_SkyboxMaterial: {fileID: 0} | ||
| 23 | + m_HaloStrength: .5 | ||
| 24 | + m_FlareStrength: 1 | ||
| 25 | + m_FlareFadeSpeed: 3 | ||
| 26 | + m_HaloTexture: {fileID: 0} | ||
| 27 | + m_SpotCookie: {fileID: 0} | ||
| 28 | + m_ObjectHideFlags: 0 | ||
| 29 | +--- !u!127 &3 | ||
| 30 | +LevelGameManager: | ||
| 31 | + m_ObjectHideFlags: 0 | ||
| 32 | +--- !u!157 &4 | ||
| 33 | +LightmapSettings: | ||
| 34 | + m_ObjectHideFlags: 0 | ||
| 35 | + m_LightProbes: {fileID: 0} | ||
| 36 | + m_Lightmaps: [] | ||
| 37 | + m_LightmapsMode: 1 | ||
| 38 | + m_BakedColorSpace: 0 | ||
| 39 | + m_UseDualLightmapsInForward: 0 | ||
| 40 | + m_LightmapEditorSettings: | ||
| 41 | + m_Resolution: 50 | ||
| 42 | + m_LastUsedResolution: 0 | ||
| 43 | + m_TextureWidth: 1024 | ||
| 44 | + m_TextureHeight: 1024 | ||
| 45 | + m_BounceBoost: 1 | ||
| 46 | + m_BounceIntensity: 1 | ||
| 47 | + m_SkyLightColor: {r: .860000014, g: .930000007, b: 1, a: 1} | ||
| 48 | + m_SkyLightIntensity: 0 | ||
| 49 | + m_Quality: 0 | ||
| 50 | + m_Bounces: 1 | ||
| 51 | + m_FinalGatherRays: 1000 | ||
| 52 | + m_FinalGatherContrastThreshold: .0500000007 | ||
| 53 | + m_FinalGatherGradientThreshold: 0 | ||
| 54 | + m_FinalGatherInterpolationPoints: 15 | ||
| 55 | + m_AOAmount: 0 | ||
| 56 | + m_AOMaxDistance: .100000001 | ||
| 57 | + m_AOContrast: 1 | ||
| 58 | + m_LODSurfaceMappingDistance: 1 | ||
| 59 | + m_Padding: 0 | ||
| 60 | + m_TextureCompression: 0 | ||
| 61 | + m_LockAtlas: 0 | ||
| 62 | +--- !u!1 &5 | ||
| 63 | +GameObject: | ||
| 64 | + m_ObjectHideFlags: 0 | ||
| 65 | + m_PrefabParentObject: {fileID: 0} | ||
| 66 | + m_PrefabInternal: {fileID: 0} | ||
| 67 | + serializedVersion: 4 | ||
| 68 | + m_Component: | ||
| 69 | + - 4: {fileID: 6} | ||
| 70 | + - 20: {fileID: 7} | ||
| 71 | + - 92: {fileID: 8} | ||
| 72 | + - 81: {fileID: 9} | ||
| 73 | + m_Layer: 0 | ||
| 74 | + m_Name: Main Camera | ||
| 75 | + m_TagString: MainCamera | ||
| 76 | + m_Icon: {fileID: 0} | ||
| 77 | + m_NavMeshLayer: 0 | ||
| 78 | + m_StaticEditorFlags: 0 | ||
| 79 | + m_IsActive: 1 | ||
| 80 | +--- !u!4 &6 | ||
| 81 | +Transform: | ||
| 82 | + m_ObjectHideFlags: 0 | ||
| 83 | + m_PrefabParentObject: {fileID: 0} | ||
| 84 | + m_PrefabInternal: {fileID: 0} | ||
| 85 | + m_GameObject: {fileID: 5} | ||
| 86 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 87 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 88 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 89 | + m_Children: [] | ||
| 90 | + m_Father: {fileID: 0} | ||
| 91 | + m_RootOrder: 1 | ||
| 92 | +--- !u!20 &7 | ||
| 93 | +Camera: | ||
| 94 | + m_ObjectHideFlags: 0 | ||
| 95 | + m_PrefabParentObject: {fileID: 0} | ||
| 96 | + m_PrefabInternal: {fileID: 0} | ||
| 97 | + m_GameObject: {fileID: 5} | ||
| 98 | + m_Enabled: 1 | ||
| 99 | + serializedVersion: 2 | ||
| 100 | + m_ClearFlags: 2 | ||
| 101 | + m_BackGroundColor: {r: .20588237, g: .20588237, b: .20588237, a: .0196078438} | ||
| 102 | + m_NormalizedViewPortRect: | ||
| 103 | + serializedVersion: 2 | ||
| 104 | + x: 0 | ||
| 105 | + y: 0 | ||
| 106 | + width: 1 | ||
| 107 | + height: 1 | ||
| 108 | + near clip plane: .300000012 | ||
| 109 | + far clip plane: 1000 | ||
| 110 | + field of view: 60 | ||
| 111 | + orthographic: 0 | ||
| 112 | + orthographic size: 100 | ||
| 113 | + m_Depth: 0 | ||
| 114 | + m_CullingMask: | ||
| 115 | + serializedVersion: 2 | ||
| 116 | + m_Bits: 4294967295 | ||
| 117 | + m_RenderingPath: -1 | ||
| 118 | + m_TargetTexture: {fileID: 0} | ||
| 119 | + m_TargetDisplay: 0 | ||
| 120 | + m_HDR: 0 | ||
| 121 | + m_OcclusionCulling: 0 | ||
| 122 | + m_StereoConvergence: 10 | ||
| 123 | + m_StereoSeparation: .0219999999 | ||
| 124 | +--- !u!92 &8 | ||
| 125 | +Behaviour: | ||
| 126 | + m_ObjectHideFlags: 0 | ||
| 127 | + m_PrefabParentObject: {fileID: 0} | ||
| 128 | + m_PrefabInternal: {fileID: 0} | ||
| 129 | + m_GameObject: {fileID: 5} | ||
| 130 | + m_Enabled: 1 | ||
| 131 | +--- !u!81 &9 | ||
| 132 | +AudioListener: | ||
| 133 | + m_ObjectHideFlags: 0 | ||
| 134 | + m_PrefabParentObject: {fileID: 0} | ||
| 135 | + m_PrefabInternal: {fileID: 0} | ||
| 136 | + m_GameObject: {fileID: 5} | ||
| 137 | + m_Enabled: 1 | ||
| 138 | +--- !u!196 &11 | ||
| 139 | +NavMeshSettings: | ||
| 140 | + m_ObjectHideFlags: 0 | ||
| 141 | + m_BuildSettings: | ||
| 142 | + agentRadius: .5 | ||
| 143 | + agentHeight: 2 | ||
| 144 | + agentSlope: 45 | ||
| 145 | + agentClimb: .400000006 | ||
| 146 | + ledgeDropHeight: 0 | ||
| 147 | + maxJumpAcrossDistance: 0 | ||
| 148 | + accuratePlacement: 0 | ||
| 149 | + minRegionArea: 2 | ||
| 150 | + widthInaccuracy: 16.666666 | ||
| 151 | + heightInaccuracy: 10 | ||
| 152 | + m_NavMesh: {fileID: 0} | ||
| 153 | +--- !u!1 &114226494 | ||
| 154 | +GameObject: | ||
| 155 | + m_ObjectHideFlags: 0 | ||
| 156 | + m_PrefabParentObject: {fileID: 0} | ||
| 157 | + m_PrefabInternal: {fileID: 0} | ||
| 158 | + serializedVersion: 4 | ||
| 159 | + m_Component: | ||
| 160 | + - 224: {fileID: 114226495} | ||
| 161 | + m_Layer: 5 | ||
| 162 | + m_Name: VideoControls | ||
| 163 | + m_TagString: Untagged | ||
| 164 | + m_Icon: {fileID: 0} | ||
| 165 | + m_NavMeshLayer: 0 | ||
| 166 | + m_StaticEditorFlags: 0 | ||
| 167 | + m_IsActive: 1 | ||
| 168 | +--- !u!224 &114226495 | ||
| 169 | +RectTransform: | ||
| 170 | + m_ObjectHideFlags: 0 | ||
| 171 | + m_PrefabParentObject: {fileID: 0} | ||
| 172 | + m_PrefabInternal: {fileID: 0} | ||
| 173 | + m_GameObject: {fileID: 114226494} | ||
| 174 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 175 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 176 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 177 | + m_Children: | ||
| 178 | + - {fileID: 1319426321} | ||
| 179 | + - {fileID: 693349447} | ||
| 180 | + - {fileID: 390821442} | ||
| 181 | + - {fileID: 1389429106} | ||
| 182 | + m_Father: {fileID: 985689638} | ||
| 183 | + m_RootOrder: 1 | ||
| 184 | + m_AnchorMin: {x: .5, y: .5} | ||
| 185 | + m_AnchorMax: {x: .5, y: .5} | ||
| 186 | + m_AnchoredPosition: {x: 0, y: 0} | ||
| 187 | + m_SizeDelta: {x: 100, y: 100} | ||
| 188 | + m_Pivot: {x: .5, y: .5} | ||
| 189 | +--- !u!1 &197270682 | ||
| 190 | +GameObject: | ||
| 191 | + m_ObjectHideFlags: 0 | ||
| 192 | + m_PrefabParentObject: {fileID: 0} | ||
| 193 | + m_PrefabInternal: {fileID: 0} | ||
| 194 | + serializedVersion: 4 | ||
| 195 | + m_Component: | ||
| 196 | + - 224: {fileID: 197270683} | ||
| 197 | + - 222: {fileID: 197270685} | ||
| 198 | + - 114: {fileID: 197270684} | ||
| 199 | + m_Layer: 5 | ||
| 200 | + m_Name: Background | ||
| 201 | + m_TagString: Untagged | ||
| 202 | + m_Icon: {fileID: 0} | ||
| 203 | + m_NavMeshLayer: 0 | ||
| 204 | + m_StaticEditorFlags: 0 | ||
| 205 | + m_IsActive: 1 | ||
| 206 | +--- !u!224 &197270683 | ||
| 207 | +RectTransform: | ||
| 208 | + m_ObjectHideFlags: 0 | ||
| 209 | + m_PrefabParentObject: {fileID: 0} | ||
| 210 | + m_PrefabInternal: {fileID: 0} | ||
| 211 | + m_GameObject: {fileID: 197270682} | ||
| 212 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 213 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 214 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 215 | + m_Children: [] | ||
| 216 | + m_Father: {fileID: 1319426321} | ||
| 217 | + m_RootOrder: 0 | ||
| 218 | + m_AnchorMin: {x: 0, y: .25} | ||
| 219 | + m_AnchorMax: {x: 1, y: .75} | ||
| 220 | + m_AnchoredPosition: {x: 0, y: 0} | ||
| 221 | + m_SizeDelta: {x: 0, y: 0} | ||
| 222 | + m_Pivot: {x: .5, y: .5} | ||
| 223 | +--- !u!114 &197270684 | ||
| 224 | +MonoBehaviour: | ||
| 225 | + m_ObjectHideFlags: 0 | ||
| 226 | + m_PrefabParentObject: {fileID: 0} | ||
| 227 | + m_PrefabInternal: {fileID: 0} | ||
| 228 | + m_GameObject: {fileID: 197270682} | ||
| 229 | + m_Enabled: 1 | ||
| 230 | + m_EditorHideFlags: 0 | ||
| 231 | + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 232 | + m_Name: | ||
| 233 | + m_EditorClassIdentifier: | ||
| 234 | + m_Material: {fileID: 0} | ||
| 235 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 236 | + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} | ||
| 237 | + m_Type: 1 | ||
| 238 | + m_PreserveAspect: 0 | ||
| 239 | + m_FillCenter: 1 | ||
| 240 | + m_FillMethod: 4 | ||
| 241 | + m_FillAmount: 1 | ||
| 242 | + m_FillClockwise: 1 | ||
| 243 | + m_FillOrigin: 0 | ||
| 244 | +--- !u!222 &197270685 | ||
| 245 | +CanvasRenderer: | ||
| 246 | + m_ObjectHideFlags: 0 | ||
| 247 | + m_PrefabParentObject: {fileID: 0} | ||
| 248 | + m_PrefabInternal: {fileID: 0} | ||
| 249 | + m_GameObject: {fileID: 197270682} | ||
| 250 | +--- !u!1 &220210433 | ||
| 251 | +GameObject: | ||
| 252 | + m_ObjectHideFlags: 0 | ||
| 253 | + m_PrefabParentObject: {fileID: 0} | ||
| 254 | + m_PrefabInternal: {fileID: 0} | ||
| 255 | + serializedVersion: 4 | ||
| 256 | + m_Component: | ||
| 257 | + - 4: {fileID: 220210434} | ||
| 258 | + - 114: {fileID: 220210435} | ||
| 259 | + m_Layer: 0 | ||
| 260 | + m_Name: VCR | ||
| 261 | + m_TagString: Untagged | ||
| 262 | + m_Icon: {fileID: 0} | ||
| 263 | + m_NavMeshLayer: 0 | ||
| 264 | + m_StaticEditorFlags: 0 | ||
| 265 | + m_IsActive: 1 | ||
| 266 | +--- !u!4 &220210434 | ||
| 267 | +Transform: | ||
| 268 | + m_ObjectHideFlags: 0 | ||
| 269 | + m_PrefabParentObject: {fileID: 0} | ||
| 270 | + m_PrefabInternal: {fileID: 0} | ||
| 271 | + m_GameObject: {fileID: 220210433} | ||
| 272 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 273 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 274 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 275 | + m_Children: [] | ||
| 276 | + m_Father: {fileID: 0} | ||
| 277 | + m_RootOrder: 6 | ||
| 278 | +--- !u!114 &220210435 | ||
| 279 | +MonoBehaviour: | ||
| 280 | + m_ObjectHideFlags: 0 | ||
| 281 | + m_PrefabParentObject: {fileID: 0} | ||
| 282 | + m_PrefabInternal: {fileID: 0} | ||
| 283 | + m_GameObject: {fileID: 220210433} | ||
| 284 | + m_Enabled: 1 | ||
| 285 | + m_EditorHideFlags: 0 | ||
| 286 | + m_Script: {fileID: 11500000, guid: 547a41a42d7bbed469c140ab1f457fe5, type: 3} | ||
| 287 | + m_Name: | ||
| 288 | + m_EditorClassIdentifier: | ||
| 289 | + _movie: {fileID: 1853078888} | ||
| 290 | + _videoSeekSlider: {fileID: 1319426320} | ||
| 291 | + _audioVolumeSlider: {fileID: 845229886} | ||
| 292 | +--- !u!1 &280793101 | ||
| 293 | +GameObject: | ||
| 294 | + m_ObjectHideFlags: 0 | ||
| 295 | + m_PrefabParentObject: {fileID: 0} | ||
| 296 | + m_PrefabInternal: {fileID: 0} | ||
| 297 | + serializedVersion: 4 | ||
| 298 | + m_Component: | ||
| 299 | + - 224: {fileID: 280793102} | ||
| 300 | + - 222: {fileID: 280793104} | ||
| 301 | + - 114: {fileID: 280793103} | ||
| 302 | + m_Layer: 5 | ||
| 303 | + m_Name: Text | ||
| 304 | + m_TagString: Untagged | ||
| 305 | + m_Icon: {fileID: 0} | ||
| 306 | + m_NavMeshLayer: 0 | ||
| 307 | + m_StaticEditorFlags: 0 | ||
| 308 | + m_IsActive: 1 | ||
| 309 | +--- !u!224 &280793102 | ||
| 310 | +RectTransform: | ||
| 311 | + m_ObjectHideFlags: 0 | ||
| 312 | + m_PrefabParentObject: {fileID: 0} | ||
| 313 | + m_PrefabInternal: {fileID: 0} | ||
| 314 | + m_GameObject: {fileID: 280793101} | ||
| 315 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 316 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 317 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 318 | + m_Children: [] | ||
| 319 | + m_Father: {fileID: 1389429106} | ||
| 320 | + m_RootOrder: 0 | ||
| 321 | + m_AnchorMin: {x: 0, y: 0} | ||
| 322 | + m_AnchorMax: {x: 1, y: 1} | ||
| 323 | + m_AnchoredPosition: {x: 0, y: 0} | ||
| 324 | + m_SizeDelta: {x: 0, y: 0} | ||
| 325 | + m_Pivot: {x: .5, y: .5} | ||
| 326 | +--- !u!114 &280793103 | ||
| 327 | +MonoBehaviour: | ||
| 328 | + m_ObjectHideFlags: 0 | ||
| 329 | + m_PrefabParentObject: {fileID: 0} | ||
| 330 | + m_PrefabInternal: {fileID: 0} | ||
| 331 | + m_GameObject: {fileID: 280793101} | ||
| 332 | + m_Enabled: 1 | ||
| 333 | + m_EditorHideFlags: 0 | ||
| 334 | + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 335 | + m_Name: | ||
| 336 | + m_EditorClassIdentifier: | ||
| 337 | + m_Material: {fileID: 0} | ||
| 338 | + m_Color: {r: .196078435, g: .196078435, b: .196078435, a: 1} | ||
| 339 | + m_FontData: | ||
| 340 | + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} | ||
| 341 | + m_FontSize: 20 | ||
| 342 | + m_FontStyle: 0 | ||
| 343 | + m_BestFit: 0 | ||
| 344 | + m_MinSize: 10 | ||
| 345 | + m_MaxSize: 40 | ||
| 346 | + m_Alignment: 4 | ||
| 347 | + m_RichText: 1 | ||
| 348 | + m_HorizontalOverflow: 0 | ||
| 349 | + m_VerticalOverflow: 0 | ||
| 350 | + m_LineSpacing: 1 | ||
| 351 | + m_Text: REWIND | ||
| 352 | +--- !u!222 &280793104 | ||
| 353 | +CanvasRenderer: | ||
| 354 | + m_ObjectHideFlags: 0 | ||
| 355 | + m_PrefabParentObject: {fileID: 0} | ||
| 356 | + m_PrefabInternal: {fileID: 0} | ||
| 357 | + m_GameObject: {fileID: 280793101} | ||
| 358 | +--- !u!1 &390821441 | ||
| 359 | +GameObject: | ||
| 360 | + m_ObjectHideFlags: 0 | ||
| 361 | + m_PrefabParentObject: {fileID: 0} | ||
| 362 | + m_PrefabInternal: {fileID: 0} | ||
| 363 | + serializedVersion: 4 | ||
| 364 | + m_Component: | ||
| 365 | + - 224: {fileID: 390821442} | ||
| 366 | + - 222: {fileID: 390821445} | ||
| 367 | + - 114: {fileID: 390821444} | ||
| 368 | + - 114: {fileID: 390821443} | ||
| 369 | + m_Layer: 5 | ||
| 370 | + m_Name: PauseButton | ||
| 371 | + m_TagString: Untagged | ||
| 372 | + m_Icon: {fileID: 0} | ||
| 373 | + m_NavMeshLayer: 0 | ||
| 374 | + m_StaticEditorFlags: 0 | ||
| 375 | + m_IsActive: 1 | ||
| 376 | +--- !u!224 &390821442 | ||
| 377 | +RectTransform: | ||
| 378 | + m_ObjectHideFlags: 0 | ||
| 379 | + m_PrefabParentObject: {fileID: 0} | ||
| 380 | + m_PrefabInternal: {fileID: 0} | ||
| 381 | + m_GameObject: {fileID: 390821441} | ||
| 382 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 383 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 384 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 385 | + m_Children: | ||
| 386 | + - {fileID: 502462487} | ||
| 387 | + m_Father: {fileID: 114226495} | ||
| 388 | + m_RootOrder: 2 | ||
| 389 | + m_AnchorMin: {x: .5, y: .5} | ||
| 390 | + m_AnchorMax: {x: .5, y: .5} | ||
| 391 | + m_AnchoredPosition: {x: -785, y: -480} | ||
| 392 | + m_SizeDelta: {x: 160, y: 40} | ||
| 393 | + m_Pivot: {x: .5, y: .5} | ||
| 394 | +--- !u!114 &390821443 | ||
| 395 | +MonoBehaviour: | ||
| 396 | + m_ObjectHideFlags: 0 | ||
| 397 | + m_PrefabParentObject: {fileID: 0} | ||
| 398 | + m_PrefabInternal: {fileID: 0} | ||
| 399 | + m_GameObject: {fileID: 390821441} | ||
| 400 | + m_Enabled: 1 | ||
| 401 | + m_EditorHideFlags: 0 | ||
| 402 | + m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 403 | + m_Name: | ||
| 404 | + m_EditorClassIdentifier: | ||
| 405 | + m_Navigation: | ||
| 406 | + m_Mode: 3 | ||
| 407 | + m_SelectOnUp: {fileID: 0} | ||
| 408 | + m_SelectOnDown: {fileID: 0} | ||
| 409 | + m_SelectOnLeft: {fileID: 0} | ||
| 410 | + m_SelectOnRight: {fileID: 0} | ||
| 411 | + m_Transition: 1 | ||
| 412 | + m_Colors: | ||
| 413 | + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 414 | + m_HighlightedColor: {r: .960784316, g: .960784316, b: .960784316, a: 1} | ||
| 415 | + m_PressedColor: {r: .784313738, g: .784313738, b: .784313738, a: 1} | ||
| 416 | + m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814} | ||
| 417 | + m_ColorMultiplier: 1 | ||
| 418 | + m_FadeDuration: .100000001 | ||
| 419 | + m_SpriteState: | ||
| 420 | + m_HighlightedSprite: {fileID: 0} | ||
| 421 | + m_PressedSprite: {fileID: 0} | ||
| 422 | + m_DisabledSprite: {fileID: 0} | ||
| 423 | + m_AnimationTriggers: | ||
| 424 | + m_NormalTrigger: Normal | ||
| 425 | + m_HighlightedTrigger: Highlighted | ||
| 426 | + m_PressedTrigger: Pressed | ||
| 427 | + m_DisabledTrigger: Disabled | ||
| 428 | + m_Interactable: 1 | ||
| 429 | + m_TargetGraphic: {fileID: 390821444} | ||
| 430 | + m_OnClick: | ||
| 431 | + m_PersistentCalls: | ||
| 432 | + m_Calls: | ||
| 433 | + - m_Target: {fileID: 220210435} | ||
| 434 | + m_MethodName: OnPauseButton | ||
| 435 | + m_Mode: 1 | ||
| 436 | + m_Arguments: | ||
| 437 | + m_ObjectArgument: {fileID: 0} | ||
| 438 | + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine, Version=0.0.0.0, | ||
| 439 | + Culture=neutral, PublicKeyToken=null | ||
| 440 | + m_IntArgument: 0 | ||
| 441 | + m_FloatArgument: 0 | ||
| 442 | + m_StringArgument: | ||
| 443 | + m_BoolArgument: 0 | ||
| 444 | + m_CallState: 2 | ||
| 445 | + m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, | ||
| 446 | + Culture=neutral, PublicKeyToken=null | ||
| 447 | +--- !u!114 &390821444 | ||
| 448 | +MonoBehaviour: | ||
| 449 | + m_ObjectHideFlags: 0 | ||
| 450 | + m_PrefabParentObject: {fileID: 0} | ||
| 451 | + m_PrefabInternal: {fileID: 0} | ||
| 452 | + m_GameObject: {fileID: 390821441} | ||
| 453 | + m_Enabled: 1 | ||
| 454 | + m_EditorHideFlags: 0 | ||
| 455 | + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 456 | + m_Name: | ||
| 457 | + m_EditorClassIdentifier: | ||
| 458 | + m_Material: {fileID: 0} | ||
| 459 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 460 | + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} | ||
| 461 | + m_Type: 1 | ||
| 462 | + m_PreserveAspect: 0 | ||
| 463 | + m_FillCenter: 1 | ||
| 464 | + m_FillMethod: 4 | ||
| 465 | + m_FillAmount: 1 | ||
| 466 | + m_FillClockwise: 1 | ||
| 467 | + m_FillOrigin: 0 | ||
| 468 | +--- !u!222 &390821445 | ||
| 469 | +CanvasRenderer: | ||
| 470 | + m_ObjectHideFlags: 0 | ||
| 471 | + m_PrefabParentObject: {fileID: 0} | ||
| 472 | + m_PrefabInternal: {fileID: 0} | ||
| 473 | + m_GameObject: {fileID: 390821441} | ||
| 474 | +--- !u!1 &494079921 | ||
| 475 | +GameObject: | ||
| 476 | + m_ObjectHideFlags: 0 | ||
| 477 | + m_PrefabParentObject: {fileID: 0} | ||
| 478 | + m_PrefabInternal: {fileID: 0} | ||
| 479 | + serializedVersion: 4 | ||
| 480 | + m_Component: | ||
| 481 | + - 224: {fileID: 494079922} | ||
| 482 | + - 222: {fileID: 494079924} | ||
| 483 | + - 114: {fileID: 494079923} | ||
| 484 | + m_Layer: 5 | ||
| 485 | + m_Name: Fill | ||
| 486 | + m_TagString: Untagged | ||
| 487 | + m_Icon: {fileID: 0} | ||
| 488 | + m_NavMeshLayer: 0 | ||
| 489 | + m_StaticEditorFlags: 0 | ||
| 490 | + m_IsActive: 1 | ||
| 491 | +--- !u!224 &494079922 | ||
| 492 | +RectTransform: | ||
| 493 | + m_ObjectHideFlags: 0 | ||
| 494 | + m_PrefabParentObject: {fileID: 0} | ||
| 495 | + m_PrefabInternal: {fileID: 0} | ||
| 496 | + m_GameObject: {fileID: 494079921} | ||
| 497 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 498 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 499 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 500 | + m_Children: [] | ||
| 501 | + m_Father: {fileID: 993020892} | ||
| 502 | + m_RootOrder: 0 | ||
| 503 | + m_AnchorMin: {x: 0, y: 0} | ||
| 504 | + m_AnchorMax: {x: 0, y: 0} | ||
| 505 | + m_AnchoredPosition: {x: 0, y: 0} | ||
| 506 | + m_SizeDelta: {x: 10, y: 0} | ||
| 507 | + m_Pivot: {x: .5, y: .5} | ||
| 508 | +--- !u!114 &494079923 | ||
| 509 | +MonoBehaviour: | ||
| 510 | + m_ObjectHideFlags: 0 | ||
| 511 | + m_PrefabParentObject: {fileID: 0} | ||
| 512 | + m_PrefabInternal: {fileID: 0} | ||
| 513 | + m_GameObject: {fileID: 494079921} | ||
| 514 | + m_Enabled: 1 | ||
| 515 | + m_EditorHideFlags: 0 | ||
| 516 | + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 517 | + m_Name: | ||
| 518 | + m_EditorClassIdentifier: | ||
| 519 | + m_Material: {fileID: 0} | ||
| 520 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 521 | + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} | ||
| 522 | + m_Type: 1 | ||
| 523 | + m_PreserveAspect: 0 | ||
| 524 | + m_FillCenter: 1 | ||
| 525 | + m_FillMethod: 4 | ||
| 526 | + m_FillAmount: 1 | ||
| 527 | + m_FillClockwise: 1 | ||
| 528 | + m_FillOrigin: 0 | ||
| 529 | +--- !u!222 &494079924 | ||
| 530 | +CanvasRenderer: | ||
| 531 | + m_ObjectHideFlags: 0 | ||
| 532 | + m_PrefabParentObject: {fileID: 0} | ||
| 533 | + m_PrefabInternal: {fileID: 0} | ||
| 534 | + m_GameObject: {fileID: 494079921} | ||
| 535 | +--- !u!1 &502462486 | ||
| 536 | +GameObject: | ||
| 537 | + m_ObjectHideFlags: 0 | ||
| 538 | + m_PrefabParentObject: {fileID: 0} | ||
| 539 | + m_PrefabInternal: {fileID: 0} | ||
| 540 | + serializedVersion: 4 | ||
| 541 | + m_Component: | ||
| 542 | + - 224: {fileID: 502462487} | ||
| 543 | + - 222: {fileID: 502462489} | ||
| 544 | + - 114: {fileID: 502462488} | ||
| 545 | + m_Layer: 5 | ||
| 546 | + m_Name: Text | ||
| 547 | + m_TagString: Untagged | ||
| 548 | + m_Icon: {fileID: 0} | ||
| 549 | + m_NavMeshLayer: 0 | ||
| 550 | + m_StaticEditorFlags: 0 | ||
| 551 | + m_IsActive: 1 | ||
| 552 | +--- !u!224 &502462487 | ||
| 553 | +RectTransform: | ||
| 554 | + m_ObjectHideFlags: 0 | ||
| 555 | + m_PrefabParentObject: {fileID: 0} | ||
| 556 | + m_PrefabInternal: {fileID: 0} | ||
| 557 | + m_GameObject: {fileID: 502462486} | ||
| 558 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 559 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 560 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 561 | + m_Children: [] | ||
| 562 | + m_Father: {fileID: 390821442} | ||
| 563 | + m_RootOrder: 0 | ||
| 564 | + m_AnchorMin: {x: 0, y: 0} | ||
| 565 | + m_AnchorMax: {x: 1, y: 1} | ||
| 566 | + m_AnchoredPosition: {x: 0, y: 0} | ||
| 567 | + m_SizeDelta: {x: 0, y: 0} | ||
| 568 | + m_Pivot: {x: .5, y: .5} | ||
| 569 | +--- !u!114 &502462488 | ||
| 570 | +MonoBehaviour: | ||
| 571 | + m_ObjectHideFlags: 0 | ||
| 572 | + m_PrefabParentObject: {fileID: 0} | ||
| 573 | + m_PrefabInternal: {fileID: 0} | ||
| 574 | + m_GameObject: {fileID: 502462486} | ||
| 575 | + m_Enabled: 1 | ||
| 576 | + m_EditorHideFlags: 0 | ||
| 577 | + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 578 | + m_Name: | ||
| 579 | + m_EditorClassIdentifier: | ||
| 580 | + m_Material: {fileID: 0} | ||
| 581 | + m_Color: {r: .196078435, g: .196078435, b: .196078435, a: 1} | ||
| 582 | + m_FontData: | ||
| 583 | + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} | ||
| 584 | + m_FontSize: 20 | ||
| 585 | + m_FontStyle: 0 | ||
| 586 | + m_BestFit: 0 | ||
| 587 | + m_MinSize: 10 | ||
| 588 | + m_MaxSize: 40 | ||
| 589 | + m_Alignment: 4 | ||
| 590 | + m_RichText: 1 | ||
| 591 | + m_HorizontalOverflow: 0 | ||
| 592 | + m_VerticalOverflow: 0 | ||
| 593 | + m_LineSpacing: 1 | ||
| 594 | + m_Text: PAUSE | ||
| 595 | +--- !u!222 &502462489 | ||
| 596 | +CanvasRenderer: | ||
| 597 | + m_ObjectHideFlags: 0 | ||
| 598 | + m_PrefabParentObject: {fileID: 0} | ||
| 599 | + m_PrefabInternal: {fileID: 0} | ||
| 600 | + m_GameObject: {fileID: 502462486} | ||
| 601 | +--- !u!1 &543886307 | ||
| 602 | +GameObject: | ||
| 603 | + m_ObjectHideFlags: 0 | ||
| 604 | + m_PrefabParentObject: {fileID: 0} | ||
| 605 | + m_PrefabInternal: {fileID: 0} | ||
| 606 | + serializedVersion: 4 | ||
| 607 | + m_Component: | ||
| 608 | + - 224: {fileID: 543886308} | ||
| 609 | + m_Layer: 5 | ||
| 610 | + m_Name: Handle Slide Area | ||
| 611 | + m_TagString: Untagged | ||
| 612 | + m_Icon: {fileID: 0} | ||
| 613 | + m_NavMeshLayer: 0 | ||
| 614 | + m_StaticEditorFlags: 0 | ||
| 615 | + m_IsActive: 1 | ||
| 616 | +--- !u!224 &543886308 | ||
| 617 | +RectTransform: | ||
| 618 | + m_ObjectHideFlags: 0 | ||
| 619 | + m_PrefabParentObject: {fileID: 0} | ||
| 620 | + m_PrefabInternal: {fileID: 0} | ||
| 621 | + m_GameObject: {fileID: 543886307} | ||
| 622 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 623 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 624 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 625 | + m_Children: | ||
| 626 | + - {fileID: 1943265733} | ||
| 627 | + m_Father: {fileID: 845229885} | ||
| 628 | + m_RootOrder: 2 | ||
| 629 | + m_AnchorMin: {x: 0, y: 0} | ||
| 630 | + m_AnchorMax: {x: 1, y: 1} | ||
| 631 | + m_AnchoredPosition: {x: 0, y: 0} | ||
| 632 | + m_SizeDelta: {x: 0, y: -20} | ||
| 633 | + m_Pivot: {x: .5, y: .5} | ||
| 634 | +--- !u!1 &672463244 | ||
| 635 | +GameObject: | ||
| 636 | + m_ObjectHideFlags: 0 | ||
| 637 | + m_PrefabParentObject: {fileID: 0} | ||
| 638 | + m_PrefabInternal: {fileID: 0} | ||
| 639 | + serializedVersion: 4 | ||
| 640 | + m_Component: | ||
| 641 | + - 224: {fileID: 672463245} | ||
| 642 | + - 222: {fileID: 672463247} | ||
| 643 | + - 114: {fileID: 672463246} | ||
| 644 | + m_Layer: 5 | ||
| 645 | + m_Name: Handle | ||
| 646 | + m_TagString: Untagged | ||
| 647 | + m_Icon: {fileID: 0} | ||
| 648 | + m_NavMeshLayer: 0 | ||
| 649 | + m_StaticEditorFlags: 0 | ||
| 650 | + m_IsActive: 1 | ||
| 651 | +--- !u!224 &672463245 | ||
| 652 | +RectTransform: | ||
| 653 | + m_ObjectHideFlags: 0 | ||
| 654 | + m_PrefabParentObject: {fileID: 0} | ||
| 655 | + m_PrefabInternal: {fileID: 0} | ||
| 656 | + m_GameObject: {fileID: 672463244} | ||
| 657 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 658 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 659 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 660 | + m_Children: [] | ||
| 661 | + m_Father: {fileID: 1177150221} | ||
| 662 | + m_RootOrder: 0 | ||
| 663 | + m_AnchorMin: {x: 0, y: 0} | ||
| 664 | + m_AnchorMax: {x: 0, y: 0} | ||
| 665 | + m_AnchoredPosition: {x: 0, y: 0} | ||
| 666 | + m_SizeDelta: {x: 80, y: 0} | ||
| 667 | + m_Pivot: {x: .5, y: .5} | ||
| 668 | +--- !u!114 &672463246 | ||
| 669 | +MonoBehaviour: | ||
| 670 | + m_ObjectHideFlags: 0 | ||
| 671 | + m_PrefabParentObject: {fileID: 0} | ||
| 672 | + m_PrefabInternal: {fileID: 0} | ||
| 673 | + m_GameObject: {fileID: 672463244} | ||
| 674 | + m_Enabled: 1 | ||
| 675 | + m_EditorHideFlags: 0 | ||
| 676 | + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 677 | + m_Name: | ||
| 678 | + m_EditorClassIdentifier: | ||
| 679 | + m_Material: {fileID: 0} | ||
| 680 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 681 | + m_Sprite: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0} | ||
| 682 | + m_Type: 0 | ||
| 683 | + m_PreserveAspect: 0 | ||
| 684 | + m_FillCenter: 1 | ||
| 685 | + m_FillMethod: 4 | ||
| 686 | + m_FillAmount: 1 | ||
| 687 | + m_FillClockwise: 1 | ||
| 688 | + m_FillOrigin: 0 | ||
| 689 | +--- !u!222 &672463247 | ||
| 690 | +CanvasRenderer: | ||
| 691 | + m_ObjectHideFlags: 0 | ||
| 692 | + m_PrefabParentObject: {fileID: 0} | ||
| 693 | + m_PrefabInternal: {fileID: 0} | ||
| 694 | + m_GameObject: {fileID: 672463244} | ||
| 695 | +--- !u!1 &693349446 | ||
| 696 | +GameObject: | ||
| 697 | + m_ObjectHideFlags: 0 | ||
| 698 | + m_PrefabParentObject: {fileID: 0} | ||
| 699 | + m_PrefabInternal: {fileID: 0} | ||
| 700 | + serializedVersion: 4 | ||
| 701 | + m_Component: | ||
| 702 | + - 224: {fileID: 693349447} | ||
| 703 | + - 222: {fileID: 693349450} | ||
| 704 | + - 114: {fileID: 693349449} | ||
| 705 | + - 114: {fileID: 693349448} | ||
| 706 | + m_Layer: 5 | ||
| 707 | + m_Name: PlayButton | ||
| 708 | + m_TagString: Untagged | ||
| 709 | + m_Icon: {fileID: 0} | ||
| 710 | + m_NavMeshLayer: 0 | ||
| 711 | + m_StaticEditorFlags: 0 | ||
| 712 | + m_IsActive: 1 | ||
| 713 | +--- !u!224 &693349447 | ||
| 714 | +RectTransform: | ||
| 715 | + m_ObjectHideFlags: 0 | ||
| 716 | + m_PrefabParentObject: {fileID: 0} | ||
| 717 | + m_PrefabInternal: {fileID: 0} | ||
| 718 | + m_GameObject: {fileID: 693349446} | ||
| 719 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 720 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 721 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 722 | + m_Children: | ||
| 723 | + - {fileID: 1726309505} | ||
| 724 | + m_Father: {fileID: 114226495} | ||
| 725 | + m_RootOrder: 1 | ||
| 726 | + m_AnchorMin: {x: .5, y: .5} | ||
| 727 | + m_AnchorMax: {x: .5, y: .5} | ||
| 728 | + m_AnchoredPosition: {x: -785, y: -428} | ||
| 729 | + m_SizeDelta: {x: 160, y: 40} | ||
| 730 | + m_Pivot: {x: .5, y: .5} | ||
| 731 | +--- !u!114 &693349448 | ||
| 732 | +MonoBehaviour: | ||
| 733 | + m_ObjectHideFlags: 0 | ||
| 734 | + m_PrefabParentObject: {fileID: 0} | ||
| 735 | + m_PrefabInternal: {fileID: 0} | ||
| 736 | + m_GameObject: {fileID: 693349446} | ||
| 737 | + m_Enabled: 1 | ||
| 738 | + m_EditorHideFlags: 0 | ||
| 739 | + m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 740 | + m_Name: | ||
| 741 | + m_EditorClassIdentifier: | ||
| 742 | + m_Navigation: | ||
| 743 | + m_Mode: 3 | ||
| 744 | + m_SelectOnUp: {fileID: 0} | ||
| 745 | + m_SelectOnDown: {fileID: 0} | ||
| 746 | + m_SelectOnLeft: {fileID: 0} | ||
| 747 | + m_SelectOnRight: {fileID: 0} | ||
| 748 | + m_Transition: 1 | ||
| 749 | + m_Colors: | ||
| 750 | + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 751 | + m_HighlightedColor: {r: .960784316, g: .960784316, b: .960784316, a: 1} | ||
| 752 | + m_PressedColor: {r: .784313738, g: .784313738, b: .784313738, a: 1} | ||
| 753 | + m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814} | ||
| 754 | + m_ColorMultiplier: 1 | ||
| 755 | + m_FadeDuration: .100000001 | ||
| 756 | + m_SpriteState: | ||
| 757 | + m_HighlightedSprite: {fileID: 0} | ||
| 758 | + m_PressedSprite: {fileID: 0} | ||
| 759 | + m_DisabledSprite: {fileID: 0} | ||
| 760 | + m_AnimationTriggers: | ||
| 761 | + m_NormalTrigger: Normal | ||
| 762 | + m_HighlightedTrigger: Highlighted | ||
| 763 | + m_PressedTrigger: Pressed | ||
| 764 | + m_DisabledTrigger: Disabled | ||
| 765 | + m_Interactable: 1 | ||
| 766 | + m_TargetGraphic: {fileID: 693349449} | ||
| 767 | + m_OnClick: | ||
| 768 | + m_PersistentCalls: | ||
| 769 | + m_Calls: | ||
| 770 | + - m_Target: {fileID: 220210435} | ||
| 771 | + m_MethodName: OnPlayButton | ||
| 772 | + m_Mode: 1 | ||
| 773 | + m_Arguments: | ||
| 774 | + m_ObjectArgument: {fileID: 0} | ||
| 775 | + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine, Version=0.0.0.0, | ||
| 776 | + Culture=neutral, PublicKeyToken=null | ||
| 777 | + m_IntArgument: 0 | ||
| 778 | + m_FloatArgument: 0 | ||
| 779 | + m_StringArgument: | ||
| 780 | + m_BoolArgument: 0 | ||
| 781 | + m_CallState: 2 | ||
| 782 | + m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, | ||
| 783 | + Culture=neutral, PublicKeyToken=null | ||
| 784 | +--- !u!114 &693349449 | ||
| 785 | +MonoBehaviour: | ||
| 786 | + m_ObjectHideFlags: 0 | ||
| 787 | + m_PrefabParentObject: {fileID: 0} | ||
| 788 | + m_PrefabInternal: {fileID: 0} | ||
| 789 | + m_GameObject: {fileID: 693349446} | ||
| 790 | + m_Enabled: 1 | ||
| 791 | + m_EditorHideFlags: 0 | ||
| 792 | + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 793 | + m_Name: | ||
| 794 | + m_EditorClassIdentifier: | ||
| 795 | + m_Material: {fileID: 0} | ||
| 796 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 797 | + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} | ||
| 798 | + m_Type: 1 | ||
| 799 | + m_PreserveAspect: 0 | ||
| 800 | + m_FillCenter: 1 | ||
| 801 | + m_FillMethod: 4 | ||
| 802 | + m_FillAmount: 1 | ||
| 803 | + m_FillClockwise: 1 | ||
| 804 | + m_FillOrigin: 0 | ||
| 805 | +--- !u!222 &693349450 | ||
| 806 | +CanvasRenderer: | ||
| 807 | + m_ObjectHideFlags: 0 | ||
| 808 | + m_PrefabParentObject: {fileID: 0} | ||
| 809 | + m_PrefabInternal: {fileID: 0} | ||
| 810 | + m_GameObject: {fileID: 693349446} | ||
| 811 | +--- !u!1 &782348078 | ||
| 812 | +GameObject: | ||
| 813 | + m_ObjectHideFlags: 0 | ||
| 814 | + m_PrefabParentObject: {fileID: 0} | ||
| 815 | + m_PrefabInternal: {fileID: 0} | ||
| 816 | + serializedVersion: 4 | ||
| 817 | + m_Component: | ||
| 818 | + - 4: {fileID: 782348080} | ||
| 819 | + - 114: {fileID: 782348079} | ||
| 820 | + m_Layer: 0 | ||
| 821 | + m_Name: MovieManager | ||
| 822 | + m_TagString: Untagged | ||
| 823 | + m_Icon: {fileID: 0} | ||
| 824 | + m_NavMeshLayer: 0 | ||
| 825 | + m_StaticEditorFlags: 0 | ||
| 826 | + m_IsActive: 1 | ||
| 827 | +--- !u!114 &782348079 | ||
| 828 | +MonoBehaviour: | ||
| 829 | + m_ObjectHideFlags: 0 | ||
| 830 | + m_PrefabParentObject: {fileID: 0} | ||
| 831 | + m_PrefabInternal: {fileID: 0} | ||
| 832 | + m_GameObject: {fileID: 782348078} | ||
| 833 | + m_Enabled: 1 | ||
| 834 | + m_EditorHideFlags: 0 | ||
| 835 | + m_Script: {fileID: 11500000, guid: e97ef6d0bfd7238498bb990e58ae4ca2, type: 3} | ||
| 836 | + m_Name: | ||
| 837 | + m_EditorClassIdentifier: | ||
| 838 | + _logVideoLoads: 1 | ||
| 839 | + _useExternalTextures: 0 | ||
| 840 | +--- !u!4 &782348080 | ||
| 841 | +Transform: | ||
| 842 | + m_ObjectHideFlags: 0 | ||
| 843 | + m_PrefabParentObject: {fileID: 0} | ||
| 844 | + m_PrefabInternal: {fileID: 0} | ||
| 845 | + m_GameObject: {fileID: 782348078} | ||
| 846 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 847 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 848 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 849 | + m_Children: [] | ||
| 850 | + m_Father: {fileID: 0} | ||
| 851 | + m_RootOrder: 3 | ||
| 852 | +--- !u!1 &845229884 | ||
| 853 | +GameObject: | ||
| 854 | + m_ObjectHideFlags: 0 | ||
| 855 | + m_PrefabParentObject: {fileID: 0} | ||
| 856 | + m_PrefabInternal: {fileID: 0} | ||
| 857 | + serializedVersion: 4 | ||
| 858 | + m_Component: | ||
| 859 | + - 224: {fileID: 845229885} | ||
| 860 | + - 114: {fileID: 845229886} | ||
| 861 | + m_Layer: 5 | ||
| 862 | + m_Name: VolumeSlider | ||
| 863 | + m_TagString: Untagged | ||
| 864 | + m_Icon: {fileID: 0} | ||
| 865 | + m_NavMeshLayer: 0 | ||
| 866 | + m_StaticEditorFlags: 0 | ||
| 867 | + m_IsActive: 1 | ||
| 868 | +--- !u!224 &845229885 | ||
| 869 | +RectTransform: | ||
| 870 | + m_ObjectHideFlags: 0 | ||
| 871 | + m_PrefabParentObject: {fileID: 0} | ||
| 872 | + m_PrefabInternal: {fileID: 0} | ||
| 873 | + m_GameObject: {fileID: 845229884} | ||
| 874 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 875 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 876 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 877 | + m_Children: | ||
| 878 | + - {fileID: 1595864419} | ||
| 879 | + - {fileID: 2012858226} | ||
| 880 | + - {fileID: 543886308} | ||
| 881 | + m_Father: {fileID: 1544096948} | ||
| 882 | + m_RootOrder: 0 | ||
| 883 | + m_AnchorMin: {x: .5, y: .5} | ||
| 884 | + m_AnchorMax: {x: .5, y: .5} | ||
| 885 | + m_AnchoredPosition: {x: 842.700012, y: 183} | ||
| 886 | + m_SizeDelta: {x: 43, y: 259.179993} | ||
| 887 | + m_Pivot: {x: .5, y: .5} | ||
| 888 | +--- !u!114 &845229886 | ||
| 889 | +MonoBehaviour: | ||
| 890 | + m_ObjectHideFlags: 0 | ||
| 891 | + m_PrefabParentObject: {fileID: 0} | ||
| 892 | + m_PrefabInternal: {fileID: 0} | ||
| 893 | + m_GameObject: {fileID: 845229884} | ||
| 894 | + m_Enabled: 1 | ||
| 895 | + m_EditorHideFlags: 0 | ||
| 896 | + m_Script: {fileID: -113659843, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 897 | + m_Name: | ||
| 898 | + m_EditorClassIdentifier: | ||
| 899 | + m_Navigation: | ||
| 900 | + m_Mode: 3 | ||
| 901 | + m_SelectOnUp: {fileID: 0} | ||
| 902 | + m_SelectOnDown: {fileID: 0} | ||
| 903 | + m_SelectOnLeft: {fileID: 0} | ||
| 904 | + m_SelectOnRight: {fileID: 0} | ||
| 905 | + m_Transition: 1 | ||
| 906 | + m_Colors: | ||
| 907 | + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 908 | + m_HighlightedColor: {r: .960784316, g: .960784316, b: .960784316, a: 1} | ||
| 909 | + m_PressedColor: {r: .784313738, g: .784313738, b: .784313738, a: 1} | ||
| 910 | + m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814} | ||
| 911 | + m_ColorMultiplier: 1 | ||
| 912 | + m_FadeDuration: .100000001 | ||
| 913 | + m_SpriteState: | ||
| 914 | + m_HighlightedSprite: {fileID: 0} | ||
| 915 | + m_PressedSprite: {fileID: 0} | ||
| 916 | + m_DisabledSprite: {fileID: 0} | ||
| 917 | + m_AnimationTriggers: | ||
| 918 | + m_NormalTrigger: Normal | ||
| 919 | + m_HighlightedTrigger: Highlighted | ||
| 920 | + m_PressedTrigger: Pressed | ||
| 921 | + m_DisabledTrigger: Disabled | ||
| 922 | + m_Interactable: 1 | ||
| 923 | + m_TargetGraphic: {fileID: 1943265734} | ||
| 924 | + m_FillRect: {fileID: 1858741578} | ||
| 925 | + m_HandleRect: {fileID: 1943265733} | ||
| 926 | + m_Direction: 2 | ||
| 927 | + m_MinValue: 0 | ||
| 928 | + m_MaxValue: 1 | ||
| 929 | + m_WholeNumbers: 0 | ||
| 930 | + m_Value: 1 | ||
| 931 | + m_OnValueChanged: | ||
| 932 | + m_PersistentCalls: | ||
| 933 | + m_Calls: | ||
| 934 | + - m_Target: {fileID: 220210435} | ||
| 935 | + m_MethodName: OnAudioVolumeSlider | ||
| 936 | + m_Mode: 1 | ||
| 937 | + m_Arguments: | ||
| 938 | + m_ObjectArgument: {fileID: 0} | ||
| 939 | + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine, Version=0.0.0.0, | ||
| 940 | + Culture=neutral, PublicKeyToken=null | ||
| 941 | + m_IntArgument: 0 | ||
| 942 | + m_FloatArgument: 0 | ||
| 943 | + m_StringArgument: | ||
| 944 | + m_BoolArgument: 0 | ||
| 945 | + m_CallState: 2 | ||
| 946 | + m_TypeName: UnityEngine.UI.Slider+SliderEvent, UnityEngine.UI, Version=1.0.0.0, | ||
| 947 | + Culture=neutral, PublicKeyToken=null | ||
| 948 | +--- !u!1 &985689634 | ||
| 949 | +GameObject: | ||
| 950 | + m_ObjectHideFlags: 0 | ||
| 951 | + m_PrefabParentObject: {fileID: 0} | ||
| 952 | + m_PrefabInternal: {fileID: 0} | ||
| 953 | + serializedVersion: 4 | ||
| 954 | + m_Component: | ||
| 955 | + - 224: {fileID: 985689638} | ||
| 956 | + - 223: {fileID: 985689637} | ||
| 957 | + - 114: {fileID: 985689636} | ||
| 958 | + - 114: {fileID: 985689635} | ||
| 959 | + m_Layer: 5 | ||
| 960 | + m_Name: Canvas | ||
| 961 | + m_TagString: Untagged | ||
| 962 | + m_Icon: {fileID: 0} | ||
| 963 | + m_NavMeshLayer: 0 | ||
| 964 | + m_StaticEditorFlags: 0 | ||
| 965 | + m_IsActive: 1 | ||
| 966 | +--- !u!114 &985689635 | ||
| 967 | +MonoBehaviour: | ||
| 968 | + m_ObjectHideFlags: 0 | ||
| 969 | + m_PrefabParentObject: {fileID: 0} | ||
| 970 | + m_PrefabInternal: {fileID: 0} | ||
| 971 | + m_GameObject: {fileID: 985689634} | ||
| 972 | + m_Enabled: 1 | ||
| 973 | + m_EditorHideFlags: 0 | ||
| 974 | + m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 975 | + m_Name: | ||
| 976 | + m_EditorClassIdentifier: | ||
| 977 | + ignoreReversedGraphics: 1 | ||
| 978 | + blockingObjects: 0 | ||
| 979 | + m_BlockingMask: | ||
| 980 | + serializedVersion: 2 | ||
| 981 | + m_Bits: 4294967295 | ||
| 982 | +--- !u!114 &985689636 | ||
| 983 | +MonoBehaviour: | ||
| 984 | + m_ObjectHideFlags: 0 | ||
| 985 | + m_PrefabParentObject: {fileID: 0} | ||
| 986 | + m_PrefabInternal: {fileID: 0} | ||
| 987 | + m_GameObject: {fileID: 985689634} | ||
| 988 | + m_Enabled: 1 | ||
| 989 | + m_EditorHideFlags: 0 | ||
| 990 | + m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 991 | + m_Name: | ||
| 992 | + m_EditorClassIdentifier: | ||
| 993 | + m_UiScaleMode: 1 | ||
| 994 | + m_ReferencePixelsPerUnit: 100 | ||
| 995 | + m_ScaleFactor: 1 | ||
| 996 | + m_ReferenceResolution: {x: 1920, y: 1080} | ||
| 997 | + m_ScreenMatchMode: 0 | ||
| 998 | + m_MatchWidthOrHeight: 0 | ||
| 999 | + m_PhysicalUnit: 3 | ||
| 1000 | + m_FallbackScreenDPI: 96 | ||
| 1001 | + m_DefaultSpriteDPI: 96 | ||
| 1002 | + m_DynamicPixelsPerUnit: 1 | ||
| 1003 | +--- !u!223 &985689637 | ||
| 1004 | +Canvas: | ||
| 1005 | + m_ObjectHideFlags: 0 | ||
| 1006 | + m_PrefabParentObject: {fileID: 0} | ||
| 1007 | + m_PrefabInternal: {fileID: 0} | ||
| 1008 | + m_GameObject: {fileID: 985689634} | ||
| 1009 | + m_Enabled: 1 | ||
| 1010 | + serializedVersion: 2 | ||
| 1011 | + m_RenderMode: 1 | ||
| 1012 | + m_Camera: {fileID: 7} | ||
| 1013 | + m_PlaneDistance: 100 | ||
| 1014 | + m_PixelPerfect: 0 | ||
| 1015 | + m_ReceivesEvents: 1 | ||
| 1016 | + m_OverrideSorting: 0 | ||
| 1017 | + m_OverridePixelPerfect: 0 | ||
| 1018 | + m_SortingLayerID: 0 | ||
| 1019 | + m_SortingOrder: 0 | ||
| 1020 | +--- !u!224 &985689638 | ||
| 1021 | +RectTransform: | ||
| 1022 | + m_ObjectHideFlags: 0 | ||
| 1023 | + m_PrefabParentObject: {fileID: 0} | ||
| 1024 | + m_PrefabInternal: {fileID: 0} | ||
| 1025 | + m_GameObject: {fileID: 985689634} | ||
| 1026 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 1027 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 1028 | + m_LocalScale: {x: 0, y: 0, z: 0} | ||
| 1029 | + m_Children: | ||
| 1030 | + - {fileID: 1365554726} | ||
| 1031 | + - {fileID: 114226495} | ||
| 1032 | + - {fileID: 1544096948} | ||
| 1033 | + m_Father: {fileID: 0} | ||
| 1034 | + m_RootOrder: 4 | ||
| 1035 | + m_AnchorMin: {x: 0, y: 0} | ||
| 1036 | + m_AnchorMax: {x: 0, y: 0} | ||
| 1037 | + m_AnchoredPosition: {x: 0, y: 0} | ||
| 1038 | + m_SizeDelta: {x: 0, y: 0} | ||
| 1039 | + m_Pivot: {x: 0, y: 0} | ||
| 1040 | +--- !u!1 &993020891 | ||
| 1041 | +GameObject: | ||
| 1042 | + m_ObjectHideFlags: 0 | ||
| 1043 | + m_PrefabParentObject: {fileID: 0} | ||
| 1044 | + m_PrefabInternal: {fileID: 0} | ||
| 1045 | + serializedVersion: 4 | ||
| 1046 | + m_Component: | ||
| 1047 | + - 224: {fileID: 993020892} | ||
| 1048 | + m_Layer: 5 | ||
| 1049 | + m_Name: Fill Area | ||
| 1050 | + m_TagString: Untagged | ||
| 1051 | + m_Icon: {fileID: 0} | ||
| 1052 | + m_NavMeshLayer: 0 | ||
| 1053 | + m_StaticEditorFlags: 0 | ||
| 1054 | + m_IsActive: 1 | ||
| 1055 | +--- !u!224 &993020892 | ||
| 1056 | +RectTransform: | ||
| 1057 | + m_ObjectHideFlags: 0 | ||
| 1058 | + m_PrefabParentObject: {fileID: 0} | ||
| 1059 | + m_PrefabInternal: {fileID: 0} | ||
| 1060 | + m_GameObject: {fileID: 993020891} | ||
| 1061 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 1062 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 1063 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 1064 | + m_Children: | ||
| 1065 | + - {fileID: 494079922} | ||
| 1066 | + m_Father: {fileID: 1319426321} | ||
| 1067 | + m_RootOrder: 1 | ||
| 1068 | + m_AnchorMin: {x: 0, y: .25} | ||
| 1069 | + m_AnchorMax: {x: 1, y: .75} | ||
| 1070 | + m_AnchoredPosition: {x: -5, y: 0} | ||
| 1071 | + m_SizeDelta: {x: -20, y: 0} | ||
| 1072 | + m_Pivot: {x: .5, y: .5} | ||
| 1073 | +--- !u!1 &1177150220 | ||
| 1074 | +GameObject: | ||
| 1075 | + m_ObjectHideFlags: 0 | ||
| 1076 | + m_PrefabParentObject: {fileID: 0} | ||
| 1077 | + m_PrefabInternal: {fileID: 0} | ||
| 1078 | + serializedVersion: 4 | ||
| 1079 | + m_Component: | ||
| 1080 | + - 224: {fileID: 1177150221} | ||
| 1081 | + m_Layer: 5 | ||
| 1082 | + m_Name: Handle Slide Area | ||
| 1083 | + m_TagString: Untagged | ||
| 1084 | + m_Icon: {fileID: 0} | ||
| 1085 | + m_NavMeshLayer: 0 | ||
| 1086 | + m_StaticEditorFlags: 0 | ||
| 1087 | + m_IsActive: 1 | ||
| 1088 | +--- !u!224 &1177150221 | ||
| 1089 | +RectTransform: | ||
| 1090 | + m_ObjectHideFlags: 0 | ||
| 1091 | + m_PrefabParentObject: {fileID: 0} | ||
| 1092 | + m_PrefabInternal: {fileID: 0} | ||
| 1093 | + m_GameObject: {fileID: 1177150220} | ||
| 1094 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 1095 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 1096 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 1097 | + m_Children: | ||
| 1098 | + - {fileID: 672463245} | ||
| 1099 | + m_Father: {fileID: 1319426321} | ||
| 1100 | + m_RootOrder: 2 | ||
| 1101 | + m_AnchorMin: {x: 0, y: 0} | ||
| 1102 | + m_AnchorMax: {x: 1, y: 1} | ||
| 1103 | + m_AnchoredPosition: {x: 0, y: 0} | ||
| 1104 | + m_SizeDelta: {x: -20, y: 0} | ||
| 1105 | + m_Pivot: {x: .5, y: .5} | ||
| 1106 | +--- !u!1 &1319426319 | ||
| 1107 | +GameObject: | ||
| 1108 | + m_ObjectHideFlags: 0 | ||
| 1109 | + m_PrefabParentObject: {fileID: 0} | ||
| 1110 | + m_PrefabInternal: {fileID: 0} | ||
| 1111 | + serializedVersion: 4 | ||
| 1112 | + m_Component: | ||
| 1113 | + - 224: {fileID: 1319426321} | ||
| 1114 | + - 114: {fileID: 1319426320} | ||
| 1115 | + - 114: {fileID: 1319426322} | ||
| 1116 | + m_Layer: 5 | ||
| 1117 | + m_Name: Slider | ||
| 1118 | + m_TagString: Untagged | ||
| 1119 | + m_Icon: {fileID: 0} | ||
| 1120 | + m_NavMeshLayer: 0 | ||
| 1121 | + m_StaticEditorFlags: 0 | ||
| 1122 | + m_IsActive: 1 | ||
| 1123 | +--- !u!114 &1319426320 | ||
| 1124 | +MonoBehaviour: | ||
| 1125 | + m_ObjectHideFlags: 0 | ||
| 1126 | + m_PrefabParentObject: {fileID: 0} | ||
| 1127 | + m_PrefabInternal: {fileID: 0} | ||
| 1128 | + m_GameObject: {fileID: 1319426319} | ||
| 1129 | + m_Enabled: 1 | ||
| 1130 | + m_EditorHideFlags: 0 | ||
| 1131 | + m_Script: {fileID: -113659843, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 1132 | + m_Name: | ||
| 1133 | + m_EditorClassIdentifier: | ||
| 1134 | + m_Navigation: | ||
| 1135 | + m_Mode: 3 | ||
| 1136 | + m_SelectOnUp: {fileID: 0} | ||
| 1137 | + m_SelectOnDown: {fileID: 0} | ||
| 1138 | + m_SelectOnLeft: {fileID: 0} | ||
| 1139 | + m_SelectOnRight: {fileID: 0} | ||
| 1140 | + m_Transition: 1 | ||
| 1141 | + m_Colors: | ||
| 1142 | + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 1143 | + m_HighlightedColor: {r: .960784316, g: .960784316, b: .960784316, a: 1} | ||
| 1144 | + m_PressedColor: {r: .784313738, g: .784313738, b: .784313738, a: 1} | ||
| 1145 | + m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814} | ||
| 1146 | + m_ColorMultiplier: 1 | ||
| 1147 | + m_FadeDuration: .100000001 | ||
| 1148 | + m_SpriteState: | ||
| 1149 | + m_HighlightedSprite: {fileID: 0} | ||
| 1150 | + m_PressedSprite: {fileID: 0} | ||
| 1151 | + m_DisabledSprite: {fileID: 0} | ||
| 1152 | + m_AnimationTriggers: | ||
| 1153 | + m_NormalTrigger: Normal | ||
| 1154 | + m_HighlightedTrigger: Highlighted | ||
| 1155 | + m_PressedTrigger: Pressed | ||
| 1156 | + m_DisabledTrigger: Disabled | ||
| 1157 | + m_Interactable: 1 | ||
| 1158 | + m_TargetGraphic: {fileID: 672463246} | ||
| 1159 | + m_FillRect: {fileID: 494079922} | ||
| 1160 | + m_HandleRect: {fileID: 672463245} | ||
| 1161 | + m_Direction: 0 | ||
| 1162 | + m_MinValue: 0 | ||
| 1163 | + m_MaxValue: 1 | ||
| 1164 | + m_WholeNumbers: 0 | ||
| 1165 | + m_Value: 1 | ||
| 1166 | + m_OnValueChanged: | ||
| 1167 | + m_PersistentCalls: | ||
| 1168 | + m_Calls: | ||
| 1169 | + - m_Target: {fileID: 220210435} | ||
| 1170 | + m_MethodName: OnVideoSeekSlider | ||
| 1171 | + m_Mode: 1 | ||
| 1172 | + m_Arguments: | ||
| 1173 | + m_ObjectArgument: {fileID: 0} | ||
| 1174 | + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine, Version=0.0.0.0, | ||
| 1175 | + Culture=neutral, PublicKeyToken=null | ||
| 1176 | + m_IntArgument: 0 | ||
| 1177 | + m_FloatArgument: 0 | ||
| 1178 | + m_StringArgument: | ||
| 1179 | + m_BoolArgument: 0 | ||
| 1180 | + m_CallState: 2 | ||
| 1181 | + m_TypeName: UnityEngine.UI.Slider+SliderEvent, UnityEngine.UI, Version=1.0.0.0, | ||
| 1182 | + Culture=neutral, PublicKeyToken=null | ||
| 1183 | +--- !u!224 &1319426321 | ||
| 1184 | +RectTransform: | ||
| 1185 | + m_ObjectHideFlags: 0 | ||
| 1186 | + m_PrefabParentObject: {fileID: 0} | ||
| 1187 | + m_PrefabInternal: {fileID: 0} | ||
| 1188 | + m_GameObject: {fileID: 1319426319} | ||
| 1189 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 1190 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 1191 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 1192 | + m_Children: | ||
| 1193 | + - {fileID: 197270683} | ||
| 1194 | + - {fileID: 993020892} | ||
| 1195 | + - {fileID: 1177150221} | ||
| 1196 | + m_Father: {fileID: 114226495} | ||
| 1197 | + m_RootOrder: 0 | ||
| 1198 | + m_AnchorMin: {x: .5, y: .5} | ||
| 1199 | + m_AnchorMax: {x: .5, y: .5} | ||
| 1200 | + m_AnchoredPosition: {x: 0, y: -428} | ||
| 1201 | + m_SizeDelta: {x: 1346, y: 80} | ||
| 1202 | + m_Pivot: {x: .5, y: .5} | ||
| 1203 | +--- !u!114 &1319426322 | ||
| 1204 | +MonoBehaviour: | ||
| 1205 | + m_ObjectHideFlags: 0 | ||
| 1206 | + m_PrefabParentObject: {fileID: 0} | ||
| 1207 | + m_PrefabInternal: {fileID: 0} | ||
| 1208 | + m_GameObject: {fileID: 1319426319} | ||
| 1209 | + m_Enabled: 1 | ||
| 1210 | + m_EditorHideFlags: 0 | ||
| 1211 | + m_Script: {fileID: -1862395651, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 1212 | + m_Name: | ||
| 1213 | + m_EditorClassIdentifier: | ||
| 1214 | + delegates: | ||
| 1215 | + - eventID: 13 | ||
| 1216 | + callback: | ||
| 1217 | + m_PersistentCalls: | ||
| 1218 | + m_Calls: | ||
| 1219 | + - m_Target: {fileID: 220210435} | ||
| 1220 | + m_MethodName: OnVideoSliderDown | ||
| 1221 | + m_Mode: 1 | ||
| 1222 | + m_Arguments: | ||
| 1223 | + m_ObjectArgument: {fileID: 0} | ||
| 1224 | + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine, Version=0.0.0.0, | ||
| 1225 | + Culture=neutral, PublicKeyToken=null | ||
| 1226 | + m_IntArgument: 0 | ||
| 1227 | + m_FloatArgument: 0 | ||
| 1228 | + m_StringArgument: | ||
| 1229 | + m_BoolArgument: 0 | ||
| 1230 | + m_CallState: 2 | ||
| 1231 | + m_TypeName: UnityEngine.EventSystems.EventTrigger+TriggerEvent, UnityEngine.UI, | ||
| 1232 | + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null | ||
| 1233 | + - eventID: 14 | ||
| 1234 | + callback: | ||
| 1235 | + m_PersistentCalls: | ||
| 1236 | + m_Calls: | ||
| 1237 | + - m_Target: {fileID: 220210435} | ||
| 1238 | + m_MethodName: OnVideoSliderUp | ||
| 1239 | + m_Mode: 1 | ||
| 1240 | + m_Arguments: | ||
| 1241 | + m_ObjectArgument: {fileID: 0} | ||
| 1242 | + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine, Version=0.0.0.0, | ||
| 1243 | + Culture=neutral, PublicKeyToken=null | ||
| 1244 | + m_IntArgument: 0 | ||
| 1245 | + m_FloatArgument: 0 | ||
| 1246 | + m_StringArgument: | ||
| 1247 | + m_BoolArgument: 0 | ||
| 1248 | + m_CallState: 2 | ||
| 1249 | + m_TypeName: UnityEngine.EventSystems.EventTrigger+TriggerEvent, UnityEngine.UI, | ||
| 1250 | + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null | ||
| 1251 | +--- !u!1 &1365554725 | ||
| 1252 | +GameObject: | ||
| 1253 | + m_ObjectHideFlags: 0 | ||
| 1254 | + m_PrefabParentObject: {fileID: 0} | ||
| 1255 | + m_PrefabInternal: {fileID: 0} | ||
| 1256 | + serializedVersion: 4 | ||
| 1257 | + m_Component: | ||
| 1258 | + - 224: {fileID: 1365554726} | ||
| 1259 | + - 222: {fileID: 1365554728} | ||
| 1260 | + - 114: {fileID: 1365554727} | ||
| 1261 | + m_Layer: 0 | ||
| 1262 | + m_Name: Video Display | ||
| 1263 | + m_TagString: Untagged | ||
| 1264 | + m_Icon: {fileID: 0} | ||
| 1265 | + m_NavMeshLayer: 0 | ||
| 1266 | + m_StaticEditorFlags: 0 | ||
| 1267 | + m_IsActive: 1 | ||
| 1268 | +--- !u!224 &1365554726 | ||
| 1269 | +RectTransform: | ||
| 1270 | + m_ObjectHideFlags: 0 | ||
| 1271 | + m_PrefabParentObject: {fileID: 0} | ||
| 1272 | + m_PrefabInternal: {fileID: 0} | ||
| 1273 | + m_GameObject: {fileID: 1365554725} | ||
| 1274 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 1275 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 1276 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 1277 | + m_Children: | ||
| 1278 | + - {fileID: 1926268769} | ||
| 1279 | + m_Father: {fileID: 985689638} | ||
| 1280 | + m_RootOrder: 0 | ||
| 1281 | + m_AnchorMin: {x: .5, y: .5} | ||
| 1282 | + m_AnchorMax: {x: .5, y: .5} | ||
| 1283 | + m_AnchoredPosition: {x: -18.9999008, y: 80.0001221} | ||
| 1284 | + m_SizeDelta: {x: 1530, y: 803} | ||
| 1285 | + m_Pivot: {x: .5, y: .5} | ||
| 1286 | +--- !u!114 &1365554727 | ||
| 1287 | +MonoBehaviour: | ||
| 1288 | + m_ObjectHideFlags: 0 | ||
| 1289 | + m_PrefabParentObject: {fileID: 0} | ||
| 1290 | + m_PrefabInternal: {fileID: 0} | ||
| 1291 | + m_GameObject: {fileID: 1365554725} | ||
| 1292 | + m_Enabled: 1 | ||
| 1293 | + m_EditorHideFlags: 0 | ||
| 1294 | + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 1295 | + m_Name: | ||
| 1296 | + m_EditorClassIdentifier: | ||
| 1297 | + m_Material: {fileID: 0} | ||
| 1298 | + m_Color: {r: .529411793, g: .529411793, b: .529411793, a: 1} | ||
| 1299 | + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} | ||
| 1300 | + m_Type: 1 | ||
| 1301 | + m_PreserveAspect: 0 | ||
| 1302 | + m_FillCenter: 1 | ||
| 1303 | + m_FillMethod: 4 | ||
| 1304 | + m_FillAmount: 1 | ||
| 1305 | + m_FillClockwise: 1 | ||
| 1306 | + m_FillOrigin: 0 | ||
| 1307 | +--- !u!222 &1365554728 | ||
| 1308 | +CanvasRenderer: | ||
| 1309 | + m_ObjectHideFlags: 0 | ||
| 1310 | + m_PrefabParentObject: {fileID: 0} | ||
| 1311 | + m_PrefabInternal: {fileID: 0} | ||
| 1312 | + m_GameObject: {fileID: 1365554725} | ||
| 1313 | +--- !u!1 &1389429105 | ||
| 1314 | +GameObject: | ||
| 1315 | + m_ObjectHideFlags: 0 | ||
| 1316 | + m_PrefabParentObject: {fileID: 0} | ||
| 1317 | + m_PrefabInternal: {fileID: 0} | ||
| 1318 | + serializedVersion: 4 | ||
| 1319 | + m_Component: | ||
| 1320 | + - 224: {fileID: 1389429106} | ||
| 1321 | + - 222: {fileID: 1389429109} | ||
| 1322 | + - 114: {fileID: 1389429108} | ||
| 1323 | + - 114: {fileID: 1389429107} | ||
| 1324 | + m_Layer: 5 | ||
| 1325 | + m_Name: RewindButton | ||
| 1326 | + m_TagString: Untagged | ||
| 1327 | + m_Icon: {fileID: 0} | ||
| 1328 | + m_NavMeshLayer: 0 | ||
| 1329 | + m_StaticEditorFlags: 0 | ||
| 1330 | + m_IsActive: 1 | ||
| 1331 | +--- !u!224 &1389429106 | ||
| 1332 | +RectTransform: | ||
| 1333 | + m_ObjectHideFlags: 0 | ||
| 1334 | + m_PrefabParentObject: {fileID: 0} | ||
| 1335 | + m_PrefabInternal: {fileID: 0} | ||
| 1336 | + m_GameObject: {fileID: 1389429105} | ||
| 1337 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 1338 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 1339 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 1340 | + m_Children: | ||
| 1341 | + - {fileID: 280793102} | ||
| 1342 | + m_Father: {fileID: 114226495} | ||
| 1343 | + m_RootOrder: 3 | ||
| 1344 | + m_AnchorMin: {x: .5, y: .5} | ||
| 1345 | + m_AnchorMax: {x: .5, y: .5} | ||
| 1346 | + m_AnchoredPosition: {x: 842, y: -428} | ||
| 1347 | + m_SizeDelta: {x: 160, y: 40} | ||
| 1348 | + m_Pivot: {x: .5, y: .5} | ||
| 1349 | +--- !u!114 &1389429107 | ||
| 1350 | +MonoBehaviour: | ||
| 1351 | + m_ObjectHideFlags: 0 | ||
| 1352 | + m_PrefabParentObject: {fileID: 0} | ||
| 1353 | + m_PrefabInternal: {fileID: 0} | ||
| 1354 | + m_GameObject: {fileID: 1389429105} | ||
| 1355 | + m_Enabled: 1 | ||
| 1356 | + m_EditorHideFlags: 0 | ||
| 1357 | + m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 1358 | + m_Name: | ||
| 1359 | + m_EditorClassIdentifier: | ||
| 1360 | + m_Navigation: | ||
| 1361 | + m_Mode: 3 | ||
| 1362 | + m_SelectOnUp: {fileID: 0} | ||
| 1363 | + m_SelectOnDown: {fileID: 0} | ||
| 1364 | + m_SelectOnLeft: {fileID: 0} | ||
| 1365 | + m_SelectOnRight: {fileID: 0} | ||
| 1366 | + m_Transition: 1 | ||
| 1367 | + m_Colors: | ||
| 1368 | + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} | ||
| 1369 | + m_HighlightedColor: {r: .960784316, g: .960784316, b: .960784316, a: 1} | ||
| 1370 | + m_PressedColor: {r: .784313738, g: .784313738, b: .784313738, a: 1} | ||
| 1371 | + m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814} | ||
| 1372 | + m_ColorMultiplier: 1 | ||
| 1373 | + m_FadeDuration: .100000001 | ||
| 1374 | + m_SpriteState: | ||
| 1375 | + m_HighlightedSprite: {fileID: 0} | ||
| 1376 | + m_PressedSprite: {fileID: 0} | ||
| 1377 | + m_DisabledSprite: {fileID: 0} | ||
| 1378 | + m_AnimationTriggers: | ||
| 1379 | + m_NormalTrigger: Normal | ||
| 1380 | + m_HighlightedTrigger: Highlighted | ||
| 1381 | + m_PressedTrigger: Pressed | ||
| 1382 | + m_DisabledTrigger: Disabled | ||
| 1383 | + m_Interactable: 1 | ||
| 1384 | + m_TargetGraphic: {fileID: 1389429108} | ||
| 1385 | + m_OnClick: | ||
| 1386 | + m_PersistentCalls: | ||
| 1387 | + m_Calls: | ||
| 1388 | + - m_Target: {fileID: 220210435} | ||
| 1389 | + m_MethodName: OnRewindButton | ||
| 1390 | + m_Mode: 1 | ||
| 1391 | + m_Arguments: | ||
| 1392 | + m_ObjectArgument: {fileID: 0} | ||
| 1393 | + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine, Version=0.0.0.0, | ||
| 1394 | + Culture=neutral, PublicKeyToken=null | ||
| 1395 | + m_IntArgument: 0 | ||
| 1396 | + m_FloatArgument: 0 | ||
| 1397 | + m_StringArgument: | ||
| 1398 | + m_BoolArgument: 0 | ||
| 1399 | + m_CallState: 2 | ||
| 1400 | + m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, | ||
| 1401 | + Culture=neutral, PublicKeyToken=null | ||
| 1402 | +--- !u!114 &1389429108 | ||
| 1403 | +MonoBehaviour: | ||
| 1404 | + m_ObjectHideFlags: 0 | ||
| 1405 | + m_PrefabParentObject: {fileID: 0} | ||
| 1406 | + m_PrefabInternal: {fileID: 0} | ||
| 1407 | + m_GameObject: {fileID: 1389429105} | ||
| 1408 | + m_Enabled: 1 | ||
| 1409 | + m_EditorHideFlags: 0 | ||
| 1410 | + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 1411 | + m_Name: | ||
| 1412 | + m_EditorClassIdentifier: | ||
| 1413 | + m_Material: {fileID: 0} | ||
| 1414 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 1415 | + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} | ||
| 1416 | + m_Type: 1 | ||
| 1417 | + m_PreserveAspect: 0 | ||
| 1418 | + m_FillCenter: 1 | ||
| 1419 | + m_FillMethod: 4 | ||
| 1420 | + m_FillAmount: 1 | ||
| 1421 | + m_FillClockwise: 1 | ||
| 1422 | + m_FillOrigin: 0 | ||
| 1423 | +--- !u!222 &1389429109 | ||
| 1424 | +CanvasRenderer: | ||
| 1425 | + m_ObjectHideFlags: 0 | ||
| 1426 | + m_PrefabParentObject: {fileID: 0} | ||
| 1427 | + m_PrefabInternal: {fileID: 0} | ||
| 1428 | + m_GameObject: {fileID: 1389429105} | ||
| 1429 | +--- !u!1 &1544096947 | ||
| 1430 | +GameObject: | ||
| 1431 | + m_ObjectHideFlags: 0 | ||
| 1432 | + m_PrefabParentObject: {fileID: 0} | ||
| 1433 | + m_PrefabInternal: {fileID: 0} | ||
| 1434 | + serializedVersion: 4 | ||
| 1435 | + m_Component: | ||
| 1436 | + - 224: {fileID: 1544096948} | ||
| 1437 | + m_Layer: 5 | ||
| 1438 | + m_Name: AudioControls | ||
| 1439 | + m_TagString: Untagged | ||
| 1440 | + m_Icon: {fileID: 0} | ||
| 1441 | + m_NavMeshLayer: 0 | ||
| 1442 | + m_StaticEditorFlags: 0 | ||
| 1443 | + m_IsActive: 1 | ||
| 1444 | +--- !u!224 &1544096948 | ||
| 1445 | +RectTransform: | ||
| 1446 | + m_ObjectHideFlags: 0 | ||
| 1447 | + m_PrefabParentObject: {fileID: 0} | ||
| 1448 | + m_PrefabInternal: {fileID: 0} | ||
| 1449 | + m_GameObject: {fileID: 1544096947} | ||
| 1450 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 1451 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 1452 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 1453 | + m_Children: | ||
| 1454 | + - {fileID: 845229885} | ||
| 1455 | + m_Father: {fileID: 985689638} | ||
| 1456 | + m_RootOrder: 2 | ||
| 1457 | + m_AnchorMin: {x: .5, y: .5} | ||
| 1458 | + m_AnchorMax: {x: .5, y: .5} | ||
| 1459 | + m_AnchoredPosition: {x: 0, y: 0} | ||
| 1460 | + m_SizeDelta: {x: 100, y: 100} | ||
| 1461 | + m_Pivot: {x: .5, y: .5} | ||
| 1462 | +--- !u!1 &1595864418 | ||
| 1463 | +GameObject: | ||
| 1464 | + m_ObjectHideFlags: 0 | ||
| 1465 | + m_PrefabParentObject: {fileID: 0} | ||
| 1466 | + m_PrefabInternal: {fileID: 0} | ||
| 1467 | + serializedVersion: 4 | ||
| 1468 | + m_Component: | ||
| 1469 | + - 224: {fileID: 1595864419} | ||
| 1470 | + - 222: {fileID: 1595864421} | ||
| 1471 | + - 114: {fileID: 1595864420} | ||
| 1472 | + m_Layer: 5 | ||
| 1473 | + m_Name: Background | ||
| 1474 | + m_TagString: Untagged | ||
| 1475 | + m_Icon: {fileID: 0} | ||
| 1476 | + m_NavMeshLayer: 0 | ||
| 1477 | + m_StaticEditorFlags: 0 | ||
| 1478 | + m_IsActive: 1 | ||
| 1479 | +--- !u!224 &1595864419 | ||
| 1480 | +RectTransform: | ||
| 1481 | + m_ObjectHideFlags: 0 | ||
| 1482 | + m_PrefabParentObject: {fileID: 0} | ||
| 1483 | + m_PrefabInternal: {fileID: 0} | ||
| 1484 | + m_GameObject: {fileID: 1595864418} | ||
| 1485 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 1486 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 1487 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 1488 | + m_Children: [] | ||
| 1489 | + m_Father: {fileID: 845229885} | ||
| 1490 | + m_RootOrder: 0 | ||
| 1491 | + m_AnchorMin: {x: .25, y: 0} | ||
| 1492 | + m_AnchorMax: {x: .75, y: 1} | ||
| 1493 | + m_AnchoredPosition: {x: 0, y: 0} | ||
| 1494 | + m_SizeDelta: {x: 0, y: 0} | ||
| 1495 | + m_Pivot: {x: .5, y: .5} | ||
| 1496 | +--- !u!114 &1595864420 | ||
| 1497 | +MonoBehaviour: | ||
| 1498 | + m_ObjectHideFlags: 0 | ||
| 1499 | + m_PrefabParentObject: {fileID: 0} | ||
| 1500 | + m_PrefabInternal: {fileID: 0} | ||
| 1501 | + m_GameObject: {fileID: 1595864418} | ||
| 1502 | + m_Enabled: 1 | ||
| 1503 | + m_EditorHideFlags: 0 | ||
| 1504 | + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 1505 | + m_Name: | ||
| 1506 | + m_EditorClassIdentifier: | ||
| 1507 | + m_Material: {fileID: 0} | ||
| 1508 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 1509 | + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} | ||
| 1510 | + m_Type: 1 | ||
| 1511 | + m_PreserveAspect: 0 | ||
| 1512 | + m_FillCenter: 1 | ||
| 1513 | + m_FillMethod: 4 | ||
| 1514 | + m_FillAmount: 1 | ||
| 1515 | + m_FillClockwise: 1 | ||
| 1516 | + m_FillOrigin: 0 | ||
| 1517 | +--- !u!222 &1595864421 | ||
| 1518 | +CanvasRenderer: | ||
| 1519 | + m_ObjectHideFlags: 0 | ||
| 1520 | + m_PrefabParentObject: {fileID: 0} | ||
| 1521 | + m_PrefabInternal: {fileID: 0} | ||
| 1522 | + m_GameObject: {fileID: 1595864418} | ||
| 1523 | +--- !u!1 &1635340283 | ||
| 1524 | +GameObject: | ||
| 1525 | + m_ObjectHideFlags: 0 | ||
| 1526 | + m_PrefabParentObject: {fileID: 0} | ||
| 1527 | + m_PrefabInternal: {fileID: 0} | ||
| 1528 | + serializedVersion: 4 | ||
| 1529 | + m_Component: | ||
| 1530 | + - 4: {fileID: 1635340287} | ||
| 1531 | + - 114: {fileID: 1635340286} | ||
| 1532 | + - 114: {fileID: 1635340285} | ||
| 1533 | + - 114: {fileID: 1635340284} | ||
| 1534 | + m_Layer: 0 | ||
| 1535 | + m_Name: EventSystem | ||
| 1536 | + m_TagString: Untagged | ||
| 1537 | + m_Icon: {fileID: 0} | ||
| 1538 | + m_NavMeshLayer: 0 | ||
| 1539 | + m_StaticEditorFlags: 0 | ||
| 1540 | + m_IsActive: 1 | ||
| 1541 | +--- !u!114 &1635340284 | ||
| 1542 | +MonoBehaviour: | ||
| 1543 | + m_ObjectHideFlags: 0 | ||
| 1544 | + m_PrefabParentObject: {fileID: 0} | ||
| 1545 | + m_PrefabInternal: {fileID: 0} | ||
| 1546 | + m_GameObject: {fileID: 1635340283} | ||
| 1547 | + m_Enabled: 1 | ||
| 1548 | + m_EditorHideFlags: 0 | ||
| 1549 | + m_Script: {fileID: 1997211142, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 1550 | + m_Name: | ||
| 1551 | + m_EditorClassIdentifier: | ||
| 1552 | + m_AllowActivationOnStandalone: 0 | ||
| 1553 | +--- !u!114 &1635340285 | ||
| 1554 | +MonoBehaviour: | ||
| 1555 | + m_ObjectHideFlags: 0 | ||
| 1556 | + m_PrefabParentObject: {fileID: 0} | ||
| 1557 | + m_PrefabInternal: {fileID: 0} | ||
| 1558 | + m_GameObject: {fileID: 1635340283} | ||
| 1559 | + m_Enabled: 1 | ||
| 1560 | + m_EditorHideFlags: 0 | ||
| 1561 | + m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 1562 | + m_Name: | ||
| 1563 | + m_EditorClassIdentifier: | ||
| 1564 | + m_HorizontalAxis: Horizontal | ||
| 1565 | + m_VerticalAxis: Vertical | ||
| 1566 | + m_SubmitButton: Submit | ||
| 1567 | + m_CancelButton: Cancel | ||
| 1568 | + m_InputActionsPerSecond: 10 | ||
| 1569 | + m_AllowActivationOnMobileDevice: 0 | ||
| 1570 | +--- !u!114 &1635340286 | ||
| 1571 | +MonoBehaviour: | ||
| 1572 | + m_ObjectHideFlags: 0 | ||
| 1573 | + m_PrefabParentObject: {fileID: 0} | ||
| 1574 | + m_PrefabInternal: {fileID: 0} | ||
| 1575 | + m_GameObject: {fileID: 1635340283} | ||
| 1576 | + m_Enabled: 1 | ||
| 1577 | + m_EditorHideFlags: 0 | ||
| 1578 | + m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 1579 | + m_Name: | ||
| 1580 | + m_EditorClassIdentifier: | ||
| 1581 | + m_FirstSelected: {fileID: 0} | ||
| 1582 | + m_sendNavigationEvents: 1 | ||
| 1583 | + m_DragThreshold: 5 | ||
| 1584 | +--- !u!4 &1635340287 | ||
| 1585 | +Transform: | ||
| 1586 | + m_ObjectHideFlags: 0 | ||
| 1587 | + m_PrefabParentObject: {fileID: 0} | ||
| 1588 | + m_PrefabInternal: {fileID: 0} | ||
| 1589 | + m_GameObject: {fileID: 1635340283} | ||
| 1590 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 1591 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 1592 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 1593 | + m_Children: [] | ||
| 1594 | + m_Father: {fileID: 0} | ||
| 1595 | + m_RootOrder: 5 | ||
| 1596 | +--- !u!1 &1726309504 | ||
| 1597 | +GameObject: | ||
| 1598 | + m_ObjectHideFlags: 0 | ||
| 1599 | + m_PrefabParentObject: {fileID: 0} | ||
| 1600 | + m_PrefabInternal: {fileID: 0} | ||
| 1601 | + serializedVersion: 4 | ||
| 1602 | + m_Component: | ||
| 1603 | + - 224: {fileID: 1726309505} | ||
| 1604 | + - 222: {fileID: 1726309507} | ||
| 1605 | + - 114: {fileID: 1726309506} | ||
| 1606 | + m_Layer: 5 | ||
| 1607 | + m_Name: Text | ||
| 1608 | + m_TagString: Untagged | ||
| 1609 | + m_Icon: {fileID: 0} | ||
| 1610 | + m_NavMeshLayer: 0 | ||
| 1611 | + m_StaticEditorFlags: 0 | ||
| 1612 | + m_IsActive: 1 | ||
| 1613 | +--- !u!224 &1726309505 | ||
| 1614 | +RectTransform: | ||
| 1615 | + m_ObjectHideFlags: 0 | ||
| 1616 | + m_PrefabParentObject: {fileID: 0} | ||
| 1617 | + m_PrefabInternal: {fileID: 0} | ||
| 1618 | + m_GameObject: {fileID: 1726309504} | ||
| 1619 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 1620 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 1621 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 1622 | + m_Children: [] | ||
| 1623 | + m_Father: {fileID: 693349447} | ||
| 1624 | + m_RootOrder: 0 | ||
| 1625 | + m_AnchorMin: {x: 0, y: 0} | ||
| 1626 | + m_AnchorMax: {x: 1, y: 1} | ||
| 1627 | + m_AnchoredPosition: {x: 0, y: 0} | ||
| 1628 | + m_SizeDelta: {x: 0, y: 0} | ||
| 1629 | + m_Pivot: {x: .5, y: .5} | ||
| 1630 | +--- !u!114 &1726309506 | ||
| 1631 | +MonoBehaviour: | ||
| 1632 | + m_ObjectHideFlags: 0 | ||
| 1633 | + m_PrefabParentObject: {fileID: 0} | ||
| 1634 | + m_PrefabInternal: {fileID: 0} | ||
| 1635 | + m_GameObject: {fileID: 1726309504} | ||
| 1636 | + m_Enabled: 1 | ||
| 1637 | + m_EditorHideFlags: 0 | ||
| 1638 | + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 1639 | + m_Name: | ||
| 1640 | + m_EditorClassIdentifier: | ||
| 1641 | + m_Material: {fileID: 0} | ||
| 1642 | + m_Color: {r: .196078435, g: .196078435, b: .196078435, a: 1} | ||
| 1643 | + m_FontData: | ||
| 1644 | + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} | ||
| 1645 | + m_FontSize: 20 | ||
| 1646 | + m_FontStyle: 0 | ||
| 1647 | + m_BestFit: 0 | ||
| 1648 | + m_MinSize: 10 | ||
| 1649 | + m_MaxSize: 40 | ||
| 1650 | + m_Alignment: 4 | ||
| 1651 | + m_RichText: 1 | ||
| 1652 | + m_HorizontalOverflow: 0 | ||
| 1653 | + m_VerticalOverflow: 0 | ||
| 1654 | + m_LineSpacing: 1 | ||
| 1655 | + m_Text: PLAY | ||
| 1656 | +--- !u!222 &1726309507 | ||
| 1657 | +CanvasRenderer: | ||
| 1658 | + m_ObjectHideFlags: 0 | ||
| 1659 | + m_PrefabParentObject: {fileID: 0} | ||
| 1660 | + m_PrefabInternal: {fileID: 0} | ||
| 1661 | + m_GameObject: {fileID: 1726309504} | ||
| 1662 | +--- !u!1 &1848005465 | ||
| 1663 | +GameObject: | ||
| 1664 | + m_ObjectHideFlags: 0 | ||
| 1665 | + m_PrefabParentObject: {fileID: 0} | ||
| 1666 | + m_PrefabInternal: {fileID: 0} | ||
| 1667 | + serializedVersion: 4 | ||
| 1668 | + m_Component: | ||
| 1669 | + - 4: {fileID: 1848005466} | ||
| 1670 | + - 114: {fileID: 1848005467} | ||
| 1671 | + m_Layer: 0 | ||
| 1672 | + m_Name: DemoInfo | ||
| 1673 | + m_TagString: Untagged | ||
| 1674 | + m_Icon: {fileID: 0} | ||
| 1675 | + m_NavMeshLayer: 0 | ||
| 1676 | + m_StaticEditorFlags: 0 | ||
| 1677 | + m_IsActive: 1 | ||
| 1678 | +--- !u!4 &1848005466 | ||
| 1679 | +Transform: | ||
| 1680 | + m_ObjectHideFlags: 0 | ||
| 1681 | + m_PrefabParentObject: {fileID: 0} | ||
| 1682 | + m_PrefabInternal: {fileID: 0} | ||
| 1683 | + m_GameObject: {fileID: 1848005465} | ||
| 1684 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 1685 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 1686 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 1687 | + m_Children: [] | ||
| 1688 | + m_Father: {fileID: 0} | ||
| 1689 | + m_RootOrder: 0 | ||
| 1690 | +--- !u!114 &1848005467 | ||
| 1691 | +MonoBehaviour: | ||
| 1692 | + m_ObjectHideFlags: 0 | ||
| 1693 | + m_PrefabParentObject: {fileID: 0} | ||
| 1694 | + m_PrefabInternal: {fileID: 0} | ||
| 1695 | + m_GameObject: {fileID: 1848005465} | ||
| 1696 | + m_Enabled: 1 | ||
| 1697 | + m_EditorHideFlags: 0 | ||
| 1698 | + m_Script: {fileID: 11500000, guid: 10fa3ce0e1c037e449490a4f9ca3bf99, type: 3} | ||
| 1699 | + m_Name: | ||
| 1700 | + m_EditorClassIdentifier: | ||
| 1701 | + _title: uGUI | ||
| 1702 | + _description: This demo uses the uGUI component to integrate vidoe playback into | ||
| 1703 | + the Unity GUI system and shows how to create a basic media player interface. | ||
| 1704 | +--- !u!1 &1853078886 | ||
| 1705 | +GameObject: | ||
| 1706 | + m_ObjectHideFlags: 0 | ||
| 1707 | + m_PrefabParentObject: {fileID: 0} | ||
| 1708 | + m_PrefabInternal: {fileID: 0} | ||
| 1709 | + serializedVersion: 4 | ||
| 1710 | + m_Component: | ||
| 1711 | + - 4: {fileID: 1853078887} | ||
| 1712 | + - 114: {fileID: 1853078888} | ||
| 1713 | + - 114: {fileID: 1853078889} | ||
| 1714 | + m_Layer: 0 | ||
| 1715 | + m_Name: Movie | ||
| 1716 | + m_TagString: Untagged | ||
| 1717 | + m_Icon: {fileID: 0} | ||
| 1718 | + m_NavMeshLayer: 0 | ||
| 1719 | + m_StaticEditorFlags: 0 | ||
| 1720 | + m_IsActive: 1 | ||
| 1721 | +--- !u!4 &1853078887 | ||
| 1722 | +Transform: | ||
| 1723 | + m_ObjectHideFlags: 0 | ||
| 1724 | + m_PrefabParentObject: {fileID: 0} | ||
| 1725 | + m_PrefabInternal: {fileID: 0} | ||
| 1726 | + m_GameObject: {fileID: 1853078886} | ||
| 1727 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 1728 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 1729 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 1730 | + m_Children: [] | ||
| 1731 | + m_Father: {fileID: 0} | ||
| 1732 | + m_RootOrder: 2 | ||
| 1733 | +--- !u!114 &1853078888 | ||
| 1734 | +MonoBehaviour: | ||
| 1735 | + m_ObjectHideFlags: 0 | ||
| 1736 | + m_PrefabParentObject: {fileID: 0} | ||
| 1737 | + m_PrefabInternal: {fileID: 0} | ||
| 1738 | + m_GameObject: {fileID: 1853078886} | ||
| 1739 | + m_Enabled: 1 | ||
| 1740 | + m_EditorHideFlags: 0 | ||
| 1741 | + m_Script: {fileID: 11500000, guid: 8225388bc511e1f40be2e753ddefe282, type: 3} | ||
| 1742 | + m_Name: | ||
| 1743 | + m_EditorClassIdentifier: | ||
| 1744 | + _folder: | ||
| 1745 | + _filename: sample-1920x1024-divx.avi | ||
| 1746 | + _useStreamingAssetsPath: 1 | ||
| 1747 | + _loop: 1 | ||
| 1748 | + _colourFormat: 2 | ||
| 1749 | + _allowAudio: 1 | ||
| 1750 | + _useAudioDelay: 0 | ||
| 1751 | + _useAudioMixer: 0 | ||
| 1752 | + _useDisplaySync: 0 | ||
| 1753 | + _loadOnStart: 1 | ||
| 1754 | + _playOnStart: 1 | ||
| 1755 | + _editorPreview: 1 | ||
| 1756 | + _ignoreFlips: 1 | ||
| 1757 | + _volume: .5 | ||
| 1758 | + _audioBalance: 0 | ||
| 1759 | + _textureFilterMode: 1 | ||
| 1760 | + _textureWrapMode: 1 | ||
| 1761 | + _clips: [] | ||
| 1762 | +--- !u!114 &1853078889 | ||
| 1763 | +MonoBehaviour: | ||
| 1764 | + m_ObjectHideFlags: 0 | ||
| 1765 | + m_PrefabParentObject: {fileID: 0} | ||
| 1766 | + m_PrefabInternal: {fileID: 0} | ||
| 1767 | + m_GameObject: {fileID: 1853078886} | ||
| 1768 | + m_Enabled: 1 | ||
| 1769 | + m_EditorHideFlags: 0 | ||
| 1770 | + m_Script: {fileID: 11500000, guid: 72fc29f9cbb939141bc513bfa454dbaa, type: 3} | ||
| 1771 | + m_Name: | ||
| 1772 | + m_EditorClassIdentifier: | ||
| 1773 | + _mesh: {fileID: 0} | ||
| 1774 | + _movie: {fileID: 1853078888} | ||
| 1775 | + _defaultTexture: {fileID: 0} | ||
| 1776 | +--- !u!1 &1858741577 | ||
| 1777 | +GameObject: | ||
| 1778 | + m_ObjectHideFlags: 0 | ||
| 1779 | + m_PrefabParentObject: {fileID: 0} | ||
| 1780 | + m_PrefabInternal: {fileID: 0} | ||
| 1781 | + serializedVersion: 4 | ||
| 1782 | + m_Component: | ||
| 1783 | + - 224: {fileID: 1858741578} | ||
| 1784 | + - 222: {fileID: 1858741580} | ||
| 1785 | + - 114: {fileID: 1858741579} | ||
| 1786 | + m_Layer: 5 | ||
| 1787 | + m_Name: Fill | ||
| 1788 | + m_TagString: Untagged | ||
| 1789 | + m_Icon: {fileID: 0} | ||
| 1790 | + m_NavMeshLayer: 0 | ||
| 1791 | + m_StaticEditorFlags: 0 | ||
| 1792 | + m_IsActive: 1 | ||
| 1793 | +--- !u!224 &1858741578 | ||
| 1794 | +RectTransform: | ||
| 1795 | + m_ObjectHideFlags: 0 | ||
| 1796 | + m_PrefabParentObject: {fileID: 0} | ||
| 1797 | + m_PrefabInternal: {fileID: 0} | ||
| 1798 | + m_GameObject: {fileID: 1858741577} | ||
| 1799 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 1800 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 1801 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 1802 | + m_Children: [] | ||
| 1803 | + m_Father: {fileID: 2012858226} | ||
| 1804 | + m_RootOrder: 0 | ||
| 1805 | + m_AnchorMin: {x: 0, y: 0} | ||
| 1806 | + m_AnchorMax: {x: 0, y: 0} | ||
| 1807 | + m_AnchoredPosition: {x: 0, y: 0} | ||
| 1808 | + m_SizeDelta: {x: 0, y: 10} | ||
| 1809 | + m_Pivot: {x: .5, y: .5} | ||
| 1810 | +--- !u!114 &1858741579 | ||
| 1811 | +MonoBehaviour: | ||
| 1812 | + m_ObjectHideFlags: 0 | ||
| 1813 | + m_PrefabParentObject: {fileID: 0} | ||
| 1814 | + m_PrefabInternal: {fileID: 0} | ||
| 1815 | + m_GameObject: {fileID: 1858741577} | ||
| 1816 | + m_Enabled: 1 | ||
| 1817 | + m_EditorHideFlags: 0 | ||
| 1818 | + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 1819 | + m_Name: | ||
| 1820 | + m_EditorClassIdentifier: | ||
| 1821 | + m_Material: {fileID: 0} | ||
| 1822 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 1823 | + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} | ||
| 1824 | + m_Type: 1 | ||
| 1825 | + m_PreserveAspect: 0 | ||
| 1826 | + m_FillCenter: 1 | ||
| 1827 | + m_FillMethod: 4 | ||
| 1828 | + m_FillAmount: 1 | ||
| 1829 | + m_FillClockwise: 1 | ||
| 1830 | + m_FillOrigin: 0 | ||
| 1831 | +--- !u!222 &1858741580 | ||
| 1832 | +CanvasRenderer: | ||
| 1833 | + m_ObjectHideFlags: 0 | ||
| 1834 | + m_PrefabParentObject: {fileID: 0} | ||
| 1835 | + m_PrefabInternal: {fileID: 0} | ||
| 1836 | + m_GameObject: {fileID: 1858741577} | ||
| 1837 | +--- !u!1 &1926268768 | ||
| 1838 | +GameObject: | ||
| 1839 | + m_ObjectHideFlags: 0 | ||
| 1840 | + m_PrefabParentObject: {fileID: 0} | ||
| 1841 | + m_PrefabInternal: {fileID: 0} | ||
| 1842 | + serializedVersion: 4 | ||
| 1843 | + m_Component: | ||
| 1844 | + - 224: {fileID: 1926268769} | ||
| 1845 | + - 222: {fileID: 1926268771} | ||
| 1846 | + - 114: {fileID: 1926268770} | ||
| 1847 | + m_Layer: 0 | ||
| 1848 | + m_Name: Video Display | ||
| 1849 | + m_TagString: Untagged | ||
| 1850 | + m_Icon: {fileID: 0} | ||
| 1851 | + m_NavMeshLayer: 0 | ||
| 1852 | + m_StaticEditorFlags: 0 | ||
| 1853 | + m_IsActive: 1 | ||
| 1854 | +--- !u!224 &1926268769 | ||
| 1855 | +RectTransform: | ||
| 1856 | + m_ObjectHideFlags: 0 | ||
| 1857 | + m_PrefabParentObject: {fileID: 0} | ||
| 1858 | + m_PrefabInternal: {fileID: 0} | ||
| 1859 | + m_GameObject: {fileID: 1926268768} | ||
| 1860 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 1861 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 1862 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 1863 | + m_Children: [] | ||
| 1864 | + m_Father: {fileID: 1365554726} | ||
| 1865 | + m_RootOrder: 0 | ||
| 1866 | + m_AnchorMin: {x: .5, y: .5} | ||
| 1867 | + m_AnchorMax: {x: .5, y: .5} | ||
| 1868 | + m_AnchoredPosition: {x: -.00012588501, y: -.000122070312} | ||
| 1869 | + m_SizeDelta: {x: 1530, y: 803} | ||
| 1870 | + m_Pivot: {x: .5, y: .5} | ||
| 1871 | +--- !u!114 &1926268770 | ||
| 1872 | +MonoBehaviour: | ||
| 1873 | + m_ObjectHideFlags: 0 | ||
| 1874 | + m_PrefabParentObject: {fileID: 0} | ||
| 1875 | + m_PrefabInternal: {fileID: 0} | ||
| 1876 | + m_GameObject: {fileID: 1926268768} | ||
| 1877 | + m_Enabled: 1 | ||
| 1878 | + m_EditorHideFlags: 0 | ||
| 1879 | + m_Script: {fileID: 11500000, guid: 07aadce18b641e34f8f52d6bb445c956, type: 3} | ||
| 1880 | + m_Name: | ||
| 1881 | + m_EditorClassIdentifier: | ||
| 1882 | + m_Material: {fileID: 0} | ||
| 1883 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 1884 | + m_movie: {fileID: 1853078888} | ||
| 1885 | + m_UVRect: | ||
| 1886 | + serializedVersion: 2 | ||
| 1887 | + x: 0 | ||
| 1888 | + y: 0 | ||
| 1889 | + width: 1 | ||
| 1890 | + height: 1 | ||
| 1891 | + _setNativeSize: 0 | ||
| 1892 | + _keepAspectRatio: 1 | ||
| 1893 | + _noDefaultDisplay: 1 | ||
| 1894 | + _defaultTexture: {fileID: 0} | ||
| 1895 | +--- !u!222 &1926268771 | ||
| 1896 | +CanvasRenderer: | ||
| 1897 | + m_ObjectHideFlags: 0 | ||
| 1898 | + m_PrefabParentObject: {fileID: 0} | ||
| 1899 | + m_PrefabInternal: {fileID: 0} | ||
| 1900 | + m_GameObject: {fileID: 1926268768} | ||
| 1901 | +--- !u!1 &1943265732 | ||
| 1902 | +GameObject: | ||
| 1903 | + m_ObjectHideFlags: 0 | ||
| 1904 | + m_PrefabParentObject: {fileID: 0} | ||
| 1905 | + m_PrefabInternal: {fileID: 0} | ||
| 1906 | + serializedVersion: 4 | ||
| 1907 | + m_Component: | ||
| 1908 | + - 224: {fileID: 1943265733} | ||
| 1909 | + - 222: {fileID: 1943265735} | ||
| 1910 | + - 114: {fileID: 1943265734} | ||
| 1911 | + m_Layer: 5 | ||
| 1912 | + m_Name: Handle | ||
| 1913 | + m_TagString: Untagged | ||
| 1914 | + m_Icon: {fileID: 0} | ||
| 1915 | + m_NavMeshLayer: 0 | ||
| 1916 | + m_StaticEditorFlags: 0 | ||
| 1917 | + m_IsActive: 1 | ||
| 1918 | +--- !u!224 &1943265733 | ||
| 1919 | +RectTransform: | ||
| 1920 | + m_ObjectHideFlags: 0 | ||
| 1921 | + m_PrefabParentObject: {fileID: 0} | ||
| 1922 | + m_PrefabInternal: {fileID: 0} | ||
| 1923 | + m_GameObject: {fileID: 1943265732} | ||
| 1924 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 1925 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 1926 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 1927 | + m_Children: [] | ||
| 1928 | + m_Father: {fileID: 543886308} | ||
| 1929 | + m_RootOrder: 0 | ||
| 1930 | + m_AnchorMin: {x: 0, y: 0} | ||
| 1931 | + m_AnchorMax: {x: 0, y: 0} | ||
| 1932 | + m_AnchoredPosition: {x: 0, y: 0} | ||
| 1933 | + m_SizeDelta: {x: 0, y: 43} | ||
| 1934 | + m_Pivot: {x: .5, y: .5} | ||
| 1935 | +--- !u!114 &1943265734 | ||
| 1936 | +MonoBehaviour: | ||
| 1937 | + m_ObjectHideFlags: 0 | ||
| 1938 | + m_PrefabParentObject: {fileID: 0} | ||
| 1939 | + m_PrefabInternal: {fileID: 0} | ||
| 1940 | + m_GameObject: {fileID: 1943265732} | ||
| 1941 | + m_Enabled: 1 | ||
| 1942 | + m_EditorHideFlags: 0 | ||
| 1943 | + m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} | ||
| 1944 | + m_Name: | ||
| 1945 | + m_EditorClassIdentifier: | ||
| 1946 | + m_Material: {fileID: 0} | ||
| 1947 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
| 1948 | + m_Sprite: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0} | ||
| 1949 | + m_Type: 0 | ||
| 1950 | + m_PreserveAspect: 0 | ||
| 1951 | + m_FillCenter: 1 | ||
| 1952 | + m_FillMethod: 4 | ||
| 1953 | + m_FillAmount: 1 | ||
| 1954 | + m_FillClockwise: 1 | ||
| 1955 | + m_FillOrigin: 0 | ||
| 1956 | +--- !u!222 &1943265735 | ||
| 1957 | +CanvasRenderer: | ||
| 1958 | + m_ObjectHideFlags: 0 | ||
| 1959 | + m_PrefabParentObject: {fileID: 0} | ||
| 1960 | + m_PrefabInternal: {fileID: 0} | ||
| 1961 | + m_GameObject: {fileID: 1943265732} | ||
| 1962 | +--- !u!1 &2012858225 | ||
| 1963 | +GameObject: | ||
| 1964 | + m_ObjectHideFlags: 0 | ||
| 1965 | + m_PrefabParentObject: {fileID: 0} | ||
| 1966 | + m_PrefabInternal: {fileID: 0} | ||
| 1967 | + serializedVersion: 4 | ||
| 1968 | + m_Component: | ||
| 1969 | + - 224: {fileID: 2012858226} | ||
| 1970 | + m_Layer: 5 | ||
| 1971 | + m_Name: Fill Area | ||
| 1972 | + m_TagString: Untagged | ||
| 1973 | + m_Icon: {fileID: 0} | ||
| 1974 | + m_NavMeshLayer: 0 | ||
| 1975 | + m_StaticEditorFlags: 0 | ||
| 1976 | + m_IsActive: 1 | ||
| 1977 | +--- !u!224 &2012858226 | ||
| 1978 | +RectTransform: | ||
| 1979 | + m_ObjectHideFlags: 0 | ||
| 1980 | + m_PrefabParentObject: {fileID: 0} | ||
| 1981 | + m_PrefabInternal: {fileID: 0} | ||
| 1982 | + m_GameObject: {fileID: 2012858225} | ||
| 1983 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 1984 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 1985 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 1986 | + m_Children: | ||
| 1987 | + - {fileID: 1858741578} | ||
| 1988 | + m_Father: {fileID: 845229885} | ||
| 1989 | + m_RootOrder: 1 | ||
| 1990 | + m_AnchorMin: {x: .25, y: 0} | ||
| 1991 | + m_AnchorMax: {x: .75, y: 1} | ||
| 1992 | + m_AnchoredPosition: {x: 0, y: -5} | ||
| 1993 | + m_SizeDelta: {x: 0, y: -20} | ||
| 1994 | + m_Pivot: {x: .5, y: .5} |
| 1 | +// Support for Editor.RequiresConstantRepaint() | ||
| 2 | +#if UNITY_4_5 || UNITY_4_6 || UNITY_4_7 || UNITY_4_8 || UNITY_5 | ||
| 3 | + #define AVPROWINDOWSMEDIA_UNITYFEATURE_EDITORAUTOREFRESH | ||
| 4 | +#endif | ||
| 5 | + | ||
| 6 | +using UnityEngine; | ||
| 7 | +using UnityEditor; | ||
| 8 | +using System.Collections; | ||
| 9 | +using System.Collections.Generic; | ||
| 10 | + | ||
| 11 | +//----------------------------------------------------------------------------- | ||
| 12 | +// Copyright 2012-2016 RenderHeads Ltd. All rights reserved. | ||
| 13 | +//----------------------------------------------------------------------------- | ||
| 14 | + | ||
| 15 | +[CustomEditor(typeof(AVProWindowsMediaManager))] | ||
| 16 | +public class AVProWindowsMediaManagerEditor : Editor | ||
| 17 | +{ | ||
| 18 | + private AVProWindowsMediaManager _manager; | ||
| 19 | + private AVProWindowsMediaMovie[] _movies; | ||
| 20 | + | ||
| 21 | + private void UpdateMovies() | ||
| 22 | + { | ||
| 23 | + _movies = (AVProWindowsMediaMovie[])FindObjectsOfType(typeof(AVProWindowsMediaMovie)); | ||
| 24 | + } | ||
| 25 | + | ||
| 26 | +#if AVPROWINDOWSMEDIA_UNITYFEATURE_EDITORAUTOREFRESH | ||
| 27 | + public override bool RequiresConstantRepaint () | ||
| 28 | + { | ||
| 29 | + return (_movies != null); | ||
| 30 | + } | ||
| 31 | +#endif | ||
| 32 | + | ||
| 33 | + public override void OnInspectorGUI() | ||
| 34 | + { | ||
| 35 | + _manager = (this.target) as AVProWindowsMediaManager; | ||
| 36 | + | ||
| 37 | + if (!Application.isPlaying) | ||
| 38 | + { | ||
| 39 | + this.DrawDefaultInspector(); | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + /*if (!Application.isPlaying) | ||
| 43 | + { | ||
| 44 | + _manager._useExternalTextures = GUILayout.Toggle(_manager._useExternalTextures, "Use External Textures (beta)"); | ||
| 45 | + }*/ | ||
| 46 | + | ||
| 47 | + if (GUILayout.Button ("Update")) | ||
| 48 | + { | ||
| 49 | + UpdateMovies(); | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + if (_movies != null && _movies.Length > 0) | ||
| 53 | + { | ||
| 54 | + for (int i = 0; i < _movies.Length; i++) | ||
| 55 | + { | ||
| 56 | + GUILayout.BeginHorizontal(); | ||
| 57 | + | ||
| 58 | + GUI.color = Color.white; | ||
| 59 | + if (!_movies[i].enabled || !_movies[i].gameObject.activeInHierarchy) | ||
| 60 | + GUI.color = Color.grey; | ||
| 61 | + | ||
| 62 | + AVProWindowsMedia media = _movies[i].MovieInstance; | ||
| 63 | + if (media != null) | ||
| 64 | + { | ||
| 65 | + GUI.color = Color.yellow; | ||
| 66 | + if (media.IsPlaying) | ||
| 67 | + GUI.color = Color.green; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + if (GUILayout.Button("S")) | ||
| 71 | + { | ||
| 72 | + Selection.activeObject = _movies[i]; | ||
| 73 | + } | ||
| 74 | + GUILayout.Label(i.ToString("D2") + " " + _movies[i].name, GUILayout.MinWidth(128f)); | ||
| 75 | + //GUILayout.FlexibleSpace(); | ||
| 76 | + if (media != null) | ||
| 77 | + { | ||
| 78 | + GUILayout.Label(media.Width + "x" + media.Height); | ||
| 79 | + GUILayout.FlexibleSpace(); | ||
| 80 | + GUILayout.Label(string.Format("{0:00.0}", media.DisplayFPS) + " FPS"); | ||
| 81 | + //GUILayout.FlexibleSpace(); | ||
| 82 | + } | ||
| 83 | + else | ||
| 84 | + { | ||
| 85 | + GUILayout.FlexibleSpace(); | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + | ||
| 89 | + | ||
| 90 | + GUILayout.EndHorizontal(); | ||
| 91 | + | ||
| 92 | + if (media != null) | ||
| 93 | + { | ||
| 94 | + GUILayout.HorizontalSlider(media.PositionSeconds, 0f, media.DurationSeconds, GUILayout.MinWidth(128f), GUILayout.ExpandWidth(true)); | ||
| 95 | + } | ||
| 96 | + } | ||
| 97 | + } | ||
| 98 | + else | ||
| 99 | + { | ||
| 100 | + if (Event.current.type.Equals(EventType.Repaint)) | ||
| 101 | + { | ||
| 102 | + UpdateMovies(); | ||
| 103 | + } | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + if (GUI.changed) | ||
| 107 | + { | ||
| 108 | + EditorUtility.SetDirty(_manager); | ||
| 109 | + } | ||
| 110 | + } | ||
| 111 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +// Support for Editor.RequiresConstantRepaint() | ||
| 2 | +#if UNITY_4_5 || UNITY_4_6 || UNITY_4_7 || UNITY_4_8 || UNITY_5 | ||
| 3 | + #define AVPROWINDOWSMEDIA_UNITYFEATURE_EDITORAUTOREFRESH | ||
| 4 | +#endif | ||
| 5 | +using UnityEngine; | ||
| 6 | +using UnityEditor; | ||
| 7 | +using System.Collections; | ||
| 8 | +using System.IO; | ||
| 9 | + | ||
| 10 | +//----------------------------------------------------------------------------- | ||
| 11 | +// Copyright 2012-2016 RenderHeads Ltd. All rights reserved. | ||
| 12 | +//----------------------------------------------------------------------------- | ||
| 13 | + | ||
| 14 | +[CustomEditor(typeof(AVProWindowsMediaMovie))] | ||
| 15 | +public class AVProWindowsMediaMovieEditor : Editor | ||
| 16 | +{ | ||
| 17 | + private AVProWindowsMediaMovie _movie; | ||
| 18 | + private bool _showAlpha; | ||
| 19 | + | ||
| 20 | + #if AVPROWINDOWSMEDIA_UNITYFEATURE_EDITORAUTOREFRESH | ||
| 21 | + public override bool RequiresConstantRepaint() | ||
| 22 | + { | ||
| 23 | + return (_movie != null && _movie._editorPreview && _movie.MovieInstance != null); | ||
| 24 | + } | ||
| 25 | + #endif | ||
| 26 | + | ||
| 27 | +#if UNITY_EDITOR_WIN | ||
| 28 | + private static void ShowInExplorer(string itemPath) | ||
| 29 | + { | ||
| 30 | + itemPath = System.IO.Path.GetFullPath(itemPath.Replace(@"/", @"\")); // explorer doesn't like front slashes | ||
| 31 | + if (System.IO.File.Exists(itemPath)) | ||
| 32 | + { | ||
| 33 | + System.Diagnostics.Process.Start("explorer.exe", "/select," + itemPath); | ||
| 34 | + } | ||
| 35 | + } | ||
| 36 | +#endif | ||
| 37 | + | ||
| 38 | + private static bool Browse(string startPath, ref string filename, ref string folder, ref bool isStreamingAsset) | ||
| 39 | + { | ||
| 40 | + bool result = false; | ||
| 41 | + string path = UnityEditor.EditorUtility.OpenFilePanel("Browse video file", startPath, "*"); | ||
| 42 | + if (!string.IsNullOrEmpty(path) && !path.EndsWith(".meta")) | ||
| 43 | + { | ||
| 44 | + string projectRoot = System.IO.Path.GetFullPath(System.IO.Path.Combine(Application.dataPath, "..")); | ||
| 45 | + projectRoot = projectRoot.Replace('\\', '/'); | ||
| 46 | + | ||
| 47 | + if (path.StartsWith(projectRoot)) | ||
| 48 | + { | ||
| 49 | + if (path.StartsWith(Application.streamingAssetsPath)) | ||
| 50 | + { | ||
| 51 | + // Must be StreamingAssets relative path | ||
| 52 | + path = path.Remove(0, Application.streamingAssetsPath.Length); | ||
| 53 | + filename = System.IO.Path.GetFileName(path); | ||
| 54 | + path = System.IO.Path.GetDirectoryName(path); | ||
| 55 | + if (path.StartsWith(System.IO.Path.DirectorySeparatorChar.ToString()) || path.StartsWith(System.IO.Path.AltDirectorySeparatorChar.ToString())) | ||
| 56 | + { | ||
| 57 | + path = path.Remove(0, 1); | ||
| 58 | + } | ||
| 59 | + folder = path; | ||
| 60 | + isStreamingAsset = true; | ||
| 61 | + } | ||
| 62 | + else | ||
| 63 | + { | ||
| 64 | + // Must be project relative path | ||
| 65 | + path = path.Remove(0, projectRoot.Length); | ||
| 66 | + filename = System.IO.Path.GetFileName(path); | ||
| 67 | + path = System.IO.Path.GetDirectoryName(path); | ||
| 68 | + if (path.StartsWith(System.IO.Path.DirectorySeparatorChar.ToString()) || path.StartsWith(System.IO.Path.AltDirectorySeparatorChar.ToString())) | ||
| 69 | + { | ||
| 70 | + path = path.Remove(0, 1); | ||
| 71 | + } | ||
| 72 | + folder = path; | ||
| 73 | + isStreamingAsset = false; | ||
| 74 | + } | ||
| 75 | + } | ||
| 76 | + else | ||
| 77 | + { | ||
| 78 | + // Must be absolute path | ||
| 79 | + filename = System.IO.Path.GetFileName(path); | ||
| 80 | + folder = System.IO.Path.GetDirectoryName(path); | ||
| 81 | + isStreamingAsset = false; | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + result = true; | ||
| 85 | + } | ||
| 86 | + return result; | ||
| 87 | + } | ||
| 88 | + | ||
| 89 | + public override void OnInspectorGUI() | ||
| 90 | + { | ||
| 91 | + _movie = (this.target) as AVProWindowsMediaMovie; | ||
| 92 | + | ||
| 93 | + EditorGUILayout.Separator(); | ||
| 94 | + GUILayout.Label("File Location", EditorStyles.boldLabel); | ||
| 95 | + //DrawDefaultInspector(); | ||
| 96 | + | ||
| 97 | + _movie._useStreamingAssetsPath = EditorGUILayout.Toggle("Use StreamingAssets", _movie._useStreamingAssetsPath); | ||
| 98 | + _movie._folder = EditorGUILayout.TextField("Folder", _movie._folder); | ||
| 99 | + _movie._filename = EditorGUILayout.TextField("Filename", _movie._filename); | ||
| 100 | + | ||
| 101 | + GUILayout.BeginHorizontal(); | ||
| 102 | + GUI.enabled = System.IO.File.Exists(_movie.GetFilePath()); | ||
| 103 | + | ||
| 104 | +#if UNITY_EDITOR_WIN | ||
| 105 | + if (GUILayout.Button("Show")) | ||
| 106 | + { | ||
| 107 | + ShowInExplorer(_movie.GetFilePath()); | ||
| 108 | + } | ||
| 109 | +#endif | ||
| 110 | + GUI.enabled &= _movie._useStreamingAssetsPath; | ||
| 111 | + | ||
| 112 | + if (GUILayout.Button("Select")) | ||
| 113 | + { | ||
| 114 | + string projectRoot = System.IO.Path.GetFullPath(System.IO.Path.Combine(Application.dataPath, "..")); | ||
| 115 | + projectRoot = projectRoot.Replace('\\', '/'); | ||
| 116 | + | ||
| 117 | + string path = _movie.GetFilePath(); | ||
| 118 | + path = path.Remove(0, projectRoot.Length + 1); | ||
| 119 | + | ||
| 120 | + Selection.activeObject = AssetDatabase.LoadMainAssetAtPath(path); | ||
| 121 | + } | ||
| 122 | + GUILayout.EndHorizontal(); | ||
| 123 | + GUI.enabled = true; | ||
| 124 | + | ||
| 125 | + GUI.color = Color.green; | ||
| 126 | + if (GUILayout.Button("BROWSE")) | ||
| 127 | + { | ||
| 128 | + Browse(Application.streamingAssetsPath, ref _movie._filename, ref _movie._folder, ref _movie._useStreamingAssetsPath); | ||
| 129 | + } | ||
| 130 | + GUI.color = Color.white; | ||
| 131 | + | ||
| 132 | + if (string.IsNullOrEmpty(_movie.GetFilePath())) | ||
| 133 | + { | ||
| 134 | + if (_movie._loadOnStart) | ||
| 135 | + { | ||
| 136 | + GUI.color = Color.red; | ||
| 137 | + GUILayout.TextArea("Error: No file specfied"); | ||
| 138 | + GUI.color = Color.white; | ||
| 139 | + } | ||
| 140 | + else | ||
| 141 | + { | ||
| 142 | + GUI.color = Color.yellow; | ||
| 143 | + GUILayout.TextArea("Warning: No file specfied"); | ||
| 144 | + GUI.color = Color.white; | ||
| 145 | + } | ||
| 146 | + } | ||
| 147 | + else if (!System.IO.File.Exists(_movie.GetFilePath())) | ||
| 148 | + { | ||
| 149 | + GUI.color = Color.red; | ||
| 150 | + GUILayout.TextArea("Error: File not found"); | ||
| 151 | + GUI.color = Color.white; | ||
| 152 | + } | ||
| 153 | + else | ||
| 154 | + { | ||
| 155 | + if (!_movie._useStreamingAssetsPath) | ||
| 156 | + { | ||
| 157 | + GUI.color = Color.yellow; | ||
| 158 | + GUILayout.TextArea("Warning: Files not in StreamingAssets will require manual copying for builds"); | ||
| 159 | + GUI.color = Color.white; | ||
| 160 | + } | ||
| 161 | + } | ||
| 162 | + if (System.IO.Path.IsPathRooted(_movie._folder)) | ||
| 163 | + { | ||
| 164 | + GUI.color = Color.yellow; | ||
| 165 | + GUILayout.TextArea("Warning: Absolute path is not ideal. Better to use files relative to the project root"); | ||
| 166 | + GUI.color = Color.white; | ||
| 167 | + } | ||
| 168 | + | ||
| 169 | + GUILayout.Space(10f); | ||
| 170 | + | ||
| 171 | + EditorGUILayout.Separator(); | ||
| 172 | + GUILayout.Label("Load Options", EditorStyles.boldLabel); | ||
| 173 | + | ||
| 174 | + EditorGUILayout.BeginHorizontal(); | ||
| 175 | + EditorGUILayout.PrefixLabel("Colour Format"); | ||
| 176 | + _movie._colourFormat = (AVProWindowsMediaMovie.ColourFormat)EditorGUILayout.EnumPopup(_movie._colourFormat); | ||
| 177 | + EditorGUILayout.EndHorizontal(); | ||
| 178 | + _movie._useDisplaySync = EditorGUILayout.Toggle("Use Display Sync", _movie._useDisplaySync); | ||
| 179 | + | ||
| 180 | + if (_movie._useDisplaySync) | ||
| 181 | + { | ||
| 182 | + if ( | ||
| 183 | +#if UNITY_5 | ||
| 184 | + PlayerSettings.d3d11FullscreenMode != D3D11FullscreenMode.ExclusiveMode || | ||
| 185 | +#endif | ||
| 186 | + PlayerSettings.d3d9FullscreenMode != D3D9FullscreenMode.ExclusiveMode) | ||
| 187 | + { | ||
| 188 | + GUI.color = Color.cyan; | ||
| 189 | + GUILayout.TextArea("Perf: For display sync fullscreen mode should be set to EXCLUSIVE in Player Settings"); | ||
| 190 | + GUI.color = Color.white; | ||
| 191 | + } | ||
| 192 | + if (QualitySettings.vSyncCount != 1 && QualitySettings.vSyncCount != 2) | ||
| 193 | + { | ||
| 194 | + GUI.color = Color.cyan; | ||
| 195 | + GUILayout.TextArea("Perf: For display sync vsync must be set to 1 or 2 in Quality Settings"); | ||
| 196 | + GUI.color = Color.white; | ||
| 197 | + } | ||
| 198 | + } | ||
| 199 | + | ||
| 200 | + _movie._allowAudio = EditorGUILayout.Toggle("Allow Audio", _movie._allowAudio); | ||
| 201 | + GUI.enabled = _movie._allowAudio; | ||
| 202 | + { | ||
| 203 | + _movie._useAudioDelay = EditorGUILayout.Toggle("Use Audio Delay", _movie._useAudioDelay); | ||
| 204 | + _movie._useAudioMixer = EditorGUILayout.Toggle("Use Audio Mixer", _movie._useAudioMixer); | ||
| 205 | + } | ||
| 206 | + GUI.enabled = true; | ||
| 207 | + | ||
| 208 | + EditorGUILayout.BeginHorizontal(); | ||
| 209 | + EditorGUILayout.PrefixLabel("Texture Filter"); | ||
| 210 | + _movie._textureFilterMode = (FilterMode)EditorGUILayout.EnumPopup(_movie._textureFilterMode); | ||
| 211 | + EditorGUILayout.EndHorizontal(); | ||
| 212 | + EditorGUILayout.BeginHorizontal(); | ||
| 213 | + EditorGUILayout.PrefixLabel("Texture Wrap"); | ||
| 214 | + _movie._textureWrapMode = (TextureWrapMode)EditorGUILayout.EnumPopup(_movie._textureWrapMode); | ||
| 215 | + EditorGUILayout.EndHorizontal(); | ||
| 216 | + | ||
| 217 | + EditorGUILayout.Separator(); | ||
| 218 | + EditorGUILayout.Separator(); | ||
| 219 | + EditorGUILayout.LabelField("Start Options", EditorStyles.boldLabel); | ||
| 220 | + _movie._loadOnStart = EditorGUILayout.Toggle("Load On Start", _movie._loadOnStart); | ||
| 221 | + GUI.enabled = _movie._loadOnStart; | ||
| 222 | + if (!_movie._loadOnStart) | ||
| 223 | + _movie._playOnStart = false; | ||
| 224 | + _movie._playOnStart = EditorGUILayout.Toggle("Play On Start", _movie._playOnStart); | ||
| 225 | + GUI.enabled = true; | ||
| 226 | + EditorGUILayout.Separator(); | ||
| 227 | + EditorGUILayout.Separator(); | ||
| 228 | + | ||
| 229 | + EditorGUILayout.Separator(); | ||
| 230 | + EditorGUILayout.Separator(); | ||
| 231 | + EditorGUILayout.LabelField("Performance", EditorStyles.boldLabel); | ||
| 232 | + _movie._ignoreFlips = EditorGUILayout.Toggle("Ignore Flips", _movie._ignoreFlips); | ||
| 233 | + EditorGUILayout.Separator(); | ||
| 234 | + EditorGUILayout.Separator(); | ||
| 235 | + | ||
| 236 | + EditorGUILayout.Separator(); | ||
| 237 | + GUILayout.Label("Playback", EditorStyles.boldLabel); | ||
| 238 | + | ||
| 239 | + _movie._loop = EditorGUILayout.Toggle("Loop", _movie._loop); | ||
| 240 | + //_movie._editorPreview = EditorGUILayout.Toggle("Editor Preview", _movie._editorPreview); | ||
| 241 | + | ||
| 242 | + GUI.enabled = _movie._allowAudio; | ||
| 243 | + { | ||
| 244 | + EditorGUILayout.BeginHorizontal(); | ||
| 245 | + EditorGUILayout.PrefixLabel("Audio Volume"); | ||
| 246 | + _movie._volume = EditorGUILayout.Slider(_movie._volume, 0.0f, 1.0f); | ||
| 247 | + EditorGUILayout.EndHorizontal(); | ||
| 248 | + | ||
| 249 | + | ||
| 250 | + EditorGUILayout.BeginHorizontal(); | ||
| 251 | + EditorGUILayout.PrefixLabel("Audio Balance"); | ||
| 252 | + _movie._audioBalance = EditorGUILayout.Slider(_movie._audioBalance, -1.0f, 1.0f); | ||
| 253 | + EditorGUILayout.EndHorizontal(); | ||
| 254 | + } | ||
| 255 | + GUI.enabled = true; | ||
| 256 | + | ||
| 257 | + GUILayout.Space(8.0f); | ||
| 258 | + | ||
| 259 | + SerializedProperty tps = serializedObject.FindProperty("_clips"); | ||
| 260 | + EditorGUI.BeginChangeCheck(); | ||
| 261 | + EditorGUILayout.PropertyField(tps, new GUIContent("Clips"), true); | ||
| 262 | + if (EditorGUI.EndChangeCheck()) | ||
| 263 | + { | ||
| 264 | + serializedObject.ApplyModifiedProperties(); | ||
| 265 | + } | ||
| 266 | + | ||
| 267 | + GUILayout.Space(8.0f); | ||
| 268 | + | ||
| 269 | + if (!Application.isPlaying) | ||
| 270 | + { | ||
| 271 | + EditorGUILayout.BeginHorizontal(); | ||
| 272 | + if (GUILayout.Button("Load")) | ||
| 273 | + { | ||
| 274 | + if (AVProWindowsMediaManager.Instance != null) | ||
| 275 | + { | ||
| 276 | + _movie.LoadMovie(_movie._playOnStart); | ||
| 277 | + } | ||
| 278 | + } | ||
| 279 | + | ||
| 280 | +#if UNITY_5 && !UNITY_5_0 && !UNITY_5_1 && !UNITY_5_2 && !UNITY_5_3 | ||
| 281 | + using (var scope = new EditorGUI.DisabledScope(_movie.MovieInstance == null)) | ||
| 282 | +#else | ||
| 283 | + EditorGUI.BeginDisabledGroup(_movie.MovieInstance == null); | ||
| 284 | +#endif | ||
| 285 | + { | ||
| 286 | + if (GUILayout.Button("Unload")) | ||
| 287 | + { | ||
| 288 | + _movie.UnloadMovie(); | ||
| 289 | + } | ||
| 290 | + } | ||
| 291 | +#if UNITY_5 && !UNITY_5_0 && !UNITY_5_1 && !UNITY_5_2 && !UNITY_5_3 | ||
| 292 | +#else | ||
| 293 | + EditorGUI.EndDisabledGroup(); | ||
| 294 | +#endif | ||
| 295 | + | ||
| 296 | + EditorGUILayout.EndHorizontal(); | ||
| 297 | + } | ||
| 298 | + | ||
| 299 | + AVProWindowsMedia media = _movie.MovieInstance; | ||
| 300 | + if (media != null) | ||
| 301 | + { | ||
| 302 | + GUI.enabled = (_movie != null && _movie.MovieInstance != null); | ||
| 303 | + _movie._editorPreview = EditorGUILayout.Foldout(_movie._editorPreview, "Video Preview"); | ||
| 304 | + GUI.enabled = true; | ||
| 305 | + | ||
| 306 | + if (_movie._editorPreview && _movie.MovieInstance != null) | ||
| 307 | + { | ||
| 308 | + { | ||
| 309 | + Texture texture = _movie.OutputTexture; | ||
| 310 | + if (texture == null) | ||
| 311 | + texture = EditorGUIUtility.whiteTexture; | ||
| 312 | + | ||
| 313 | + float ratio = (float)texture.width / (float)texture.height; | ||
| 314 | + | ||
| 315 | + | ||
| 316 | + GUILayout.BeginHorizontal(); | ||
| 317 | + GUILayout.FlexibleSpace(); | ||
| 318 | + Rect textureRect = GUILayoutUtility.GetRect(Screen.width/2, Screen.width/2, (Screen.width / 2) / ratio, (Screen.width / 2) / ratio); | ||
| 319 | + GUILayout.FlexibleSpace(); | ||
| 320 | + GUILayout.EndHorizontal(); | ||
| 321 | + | ||
| 322 | + GUILayout.BeginHorizontal(); | ||
| 323 | + GUILayout.FlexibleSpace(); | ||
| 324 | + _showAlpha = GUILayout.Toggle(_showAlpha, "Show Alpha Channel"); | ||
| 325 | + GUILayout.FlexibleSpace(); | ||
| 326 | + GUILayout.EndHorizontal(); | ||
| 327 | + | ||
| 328 | + Matrix4x4 prevMatrix = GUI.matrix; | ||
| 329 | + if (_movie.MovieInstance.RequiresFlipY) | ||
| 330 | + { | ||
| 331 | + GUIUtility.ScaleAroundPivot(new Vector2(1f, -1f), new Vector2(0, textureRect.y + (textureRect.height / 2))); | ||
| 332 | + } | ||
| 333 | + | ||
| 334 | + if (!_showAlpha) | ||
| 335 | + GUI.DrawTexture(textureRect, texture, ScaleMode.ScaleToFit); | ||
| 336 | + else | ||
| 337 | + EditorGUI.DrawTextureAlpha(textureRect, texture, ScaleMode.ScaleToFit); | ||
| 338 | + | ||
| 339 | + GUI.matrix = prevMatrix; | ||
| 340 | + | ||
| 341 | + GUILayout.BeginHorizontal(GUILayout.ExpandWidth(true)); | ||
| 342 | + GUILayout.FlexibleSpace(); | ||
| 343 | + if (GUILayout.Button("Select Texture", GUILayout.ExpandWidth(false))) | ||
| 344 | + { | ||
| 345 | + Selection.activeObject = texture; | ||
| 346 | + } | ||
| 347 | + GUILayout.FlexibleSpace(); | ||
| 348 | + GUILayout.EndHorizontal(); | ||
| 349 | + | ||
| 350 | + GUILayout.BeginHorizontal(); | ||
| 351 | + GUILayout.FlexibleSpace(); | ||
| 352 | + GUILayout.Label(string.Format("{0}x{1} @ {2}fps {3} secs", media.Width, media.Height, media.FrameRate.ToString("F2"), media.DurationSeconds.ToString("F2"))); | ||
| 353 | + GUILayout.FlexibleSpace(); | ||
| 354 | + GUILayout.EndHorizontal(); | ||
| 355 | + | ||
| 356 | + GUILayout.BeginHorizontal(); | ||
| 357 | + GUILayout.FlexibleSpace(); | ||
| 358 | + if (media.FramesTotal > 30) | ||
| 359 | + { | ||
| 360 | + GUILayout.Label("Displaying at " + media.DisplayFPS.ToString("F1") + " fps"); | ||
| 361 | + } | ||
| 362 | + else | ||
| 363 | + { | ||
| 364 | + GUILayout.Label("Displaying at ... fps"); | ||
| 365 | + } | ||
| 366 | + GUILayout.FlexibleSpace(); | ||
| 367 | + GUILayout.EndHorizontal(); | ||
| 368 | + } | ||
| 369 | + | ||
| 370 | + if (_movie.enabled) | ||
| 371 | + { | ||
| 372 | + GUILayout.Space(8.0f); | ||
| 373 | + | ||
| 374 | + EditorGUILayout.LabelField("Frame:"); | ||
| 375 | + EditorGUILayout.BeginHorizontal(); | ||
| 376 | + if (GUILayout.Button("<", GUILayout.ExpandWidth(false))) | ||
| 377 | + { | ||
| 378 | + media.PositionFrames--; | ||
| 379 | + } | ||
| 380 | + uint currentFrame = media.PositionFrames; | ||
| 381 | + if (currentFrame != uint.MaxValue) | ||
| 382 | + { | ||
| 383 | + int newFrame = EditorGUILayout.IntSlider((int)currentFrame, 0, (int)media.LastFrame); | ||
| 384 | + if (newFrame != currentFrame) | ||
| 385 | + { | ||
| 386 | + media.PositionFrames = (uint)newFrame; | ||
| 387 | + } | ||
| 388 | + } | ||
| 389 | + if (GUILayout.Button(">", GUILayout.ExpandWidth(false))) | ||
| 390 | + { | ||
| 391 | + media.PositionFrames++; | ||
| 392 | + } | ||
| 393 | + EditorGUILayout.EndHorizontal(); | ||
| 394 | + | ||
| 395 | + if (_movie.NumClips > 0) | ||
| 396 | + { | ||
| 397 | + EditorGUILayout.Separator(); | ||
| 398 | + EditorGUILayout.LabelField("Clips", EditorStyles.boldLabel); | ||
| 399 | + for (int i = 0; i < _movie.NumClips; i++) | ||
| 400 | + { | ||
| 401 | + GUILayout.BeginHorizontal(); | ||
| 402 | + string clipName = _movie.GetClipName(i); | ||
| 403 | + GUILayout.Label(clipName); | ||
| 404 | + if (GUILayout.Button("Loop")) | ||
| 405 | + { | ||
| 406 | + _movie.PlayClip(clipName, true, false); | ||
| 407 | + } | ||
| 408 | + GUILayout.EndHorizontal(); | ||
| 409 | + } | ||
| 410 | + if (GUILayout.Button("Reset Clip")) | ||
| 411 | + _movie.ResetClip(); | ||
| 412 | + EditorGUILayout.Separator(); | ||
| 413 | + } | ||
| 414 | + | ||
| 415 | + EditorGUILayout.BeginHorizontal(); | ||
| 416 | + if (GUILayout.Button("Rewind")) | ||
| 417 | + { | ||
| 418 | + _movie.MovieInstance.Rewind(); | ||
| 419 | + } | ||
| 420 | + | ||
| 421 | + if (!media.IsPlaying) | ||
| 422 | + { | ||
| 423 | + if (GUILayout.Button("Play")) | ||
| 424 | + { | ||
| 425 | + _movie.Play(); | ||
| 426 | + } | ||
| 427 | + } | ||
| 428 | + else | ||
| 429 | + { | ||
| 430 | + if (GUILayout.Button("Pause")) | ||
| 431 | + { | ||
| 432 | + _movie.Pause(); | ||
| 433 | + } | ||
| 434 | + } | ||
| 435 | + EditorGUILayout.EndHorizontal(); | ||
| 436 | + | ||
| 437 | +#if !AVPROWINDOWSMEDIA_UNITYFEATURE_EDITORAUTOREFRESH | ||
| 438 | + this.Repaint(); | ||
| 439 | +#endif | ||
| 440 | + } | ||
| 441 | + } | ||
| 442 | + } | ||
| 443 | + if (GUI.changed) | ||
| 444 | + { | ||
| 445 | + EditorUtility.SetDirty(_movie); | ||
| 446 | + } | ||
| 447 | + | ||
| 448 | + // If the app isn't running but the media is we may need to manually update it | ||
| 449 | + if (!Application.isPlaying && _movie.MovieInstance != null) | ||
| 450 | + { | ||
| 451 | + _movie.Update(); | ||
| 452 | + AVProWindowsMediaManager.Instance.Update(); | ||
| 453 | + EditorUtility.SetDirty(_movie); | ||
| 454 | + } | ||
| 455 | + } | ||
| 456 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +using UnityEngine; | ||
| 2 | +using UnityEditor; | ||
| 3 | +using System.Collections; | ||
| 4 | +using System.IO; | ||
| 5 | + | ||
| 6 | +//----------------------------------------------------------------------------- | ||
| 7 | +// Copyright 2012-2016 RenderHeads Ltd. All rights reserved. | ||
| 8 | +//----------------------------------------------------------------------------- | ||
| 9 | + | ||
| 10 | +[CustomEditor(typeof(AVProWindowsMediaMovieFromResource))] | ||
| 11 | +public class AVProWindowsMediaMovieFromResourceEditor : AVProWindowsMediaMovieEditor | ||
| 12 | +{ | ||
| 13 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +#if UNITY_4_6 || UNITY_4_7 || UNITY_4_8 || UNITY_5 | ||
| 2 | + #define UNITY_FEATURE_UGUI | ||
| 3 | +#endif | ||
| 4 | + | ||
| 5 | +using UnityEngine; | ||
| 6 | +using UnityEditor; | ||
| 7 | +#if UNITY_FEATURE_UGUI | ||
| 8 | +using UnityEngine.UI; | ||
| 9 | +using UnityEditor.UI; | ||
| 10 | + | ||
| 11 | +//----------------------------------------------------------------------------- | ||
| 12 | +// Copyright 2012-2016 RenderHeads Ltd. All rights reserved. | ||
| 13 | +//----------------------------------------------------------------------------- | ||
| 14 | + | ||
| 15 | +/// <summary> | ||
| 16 | +/// Editor class used to edit UI Images. | ||
| 17 | +/// </summary> | ||
| 18 | +[CustomEditor(typeof(AVProWindowsMediaUGUIComponent), true)] | ||
| 19 | +[CanEditMultipleObjects] | ||
| 20 | +public class AVProWindowsMediaUGUIComponentEditor : GraphicEditor | ||
| 21 | +{ | ||
| 22 | + SerializedProperty m_Movie; | ||
| 23 | + SerializedProperty m_UVRect; | ||
| 24 | + SerializedProperty m_DefaultTexture; | ||
| 25 | + SerializedProperty m_NoDefaultDisplay; | ||
| 26 | + SerializedProperty m_SetNativeSize; | ||
| 27 | + SerializedProperty m_KeepAspectRatio; | ||
| 28 | + GUIContent m_UVRectContent; | ||
| 29 | + | ||
| 30 | + [MenuItem("GameObject/UI/AVPro Windows Media uGUI", false, 0)] | ||
| 31 | + public static void CreateGameObject() | ||
| 32 | + { | ||
| 33 | + GameObject parent = Selection.activeGameObject; | ||
| 34 | + RectTransform parentCanvasRenderer = (parent != null) ? parent.GetComponent<RectTransform>() : null; | ||
| 35 | + if (parentCanvasRenderer) | ||
| 36 | + { | ||
| 37 | + GameObject go = new GameObject("AVPro Windows Media"); | ||
| 38 | + go.transform.SetParent(parent.transform, false); | ||
| 39 | + go.AddComponent<RectTransform>(); | ||
| 40 | + go.AddComponent<CanvasRenderer>(); | ||
| 41 | + go.AddComponent<AVProWindowsMediaUGUIComponent>(); | ||
| 42 | + Selection.activeGameObject = go; | ||
| 43 | + } | ||
| 44 | + else | ||
| 45 | + { | ||
| 46 | + EditorUtility.DisplayDialog("AVPro Windows Media", "You must make the AVPro Windows Media uGUI object as a child of a Canvas.", "Ok"); | ||
| 47 | + } | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public override bool RequiresConstantRepaint() | ||
| 51 | + { | ||
| 52 | + AVProWindowsMediaUGUIComponent rawImage = target as AVProWindowsMediaUGUIComponent; | ||
| 53 | + return (rawImage != null && rawImage.HasValidTexture()); | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + protected override void OnEnable() | ||
| 57 | + { | ||
| 58 | + base.OnEnable(); | ||
| 59 | + | ||
| 60 | + // Note we have precedence for calling rectangle for just rect, even in the Inspector. | ||
| 61 | + // For example in the Camera component's Viewport Rect. | ||
| 62 | + // Hence sticking with Rect here to be consistent with corresponding property in the API. | ||
| 63 | + m_UVRectContent = new GUIContent("UV Rect"); | ||
| 64 | + | ||
| 65 | + m_Movie = serializedObject.FindProperty("m_movie"); | ||
| 66 | + m_UVRect = serializedObject.FindProperty("m_UVRect"); | ||
| 67 | + m_SetNativeSize = serializedObject.FindProperty("_setNativeSize"); | ||
| 68 | + m_KeepAspectRatio = serializedObject.FindProperty("_keepAspectRatio"); | ||
| 69 | + | ||
| 70 | + m_NoDefaultDisplay = serializedObject.FindProperty("_noDefaultDisplay"); | ||
| 71 | + m_DefaultTexture = serializedObject.FindProperty("_defaultTexture"); | ||
| 72 | + | ||
| 73 | + SetShowNativeSize(true); | ||
| 74 | + } | ||
| 75 | + | ||
| 76 | + public override void OnInspectorGUI() | ||
| 77 | + { | ||
| 78 | + serializedObject.Update(); | ||
| 79 | + | ||
| 80 | + EditorGUILayout.PropertyField(m_Movie); | ||
| 81 | + EditorGUILayout.PropertyField(m_DefaultTexture); | ||
| 82 | + EditorGUILayout.PropertyField(m_NoDefaultDisplay); | ||
| 83 | + AppearanceControlsGUI(); | ||
| 84 | + EditorGUILayout.PropertyField(m_UVRect, m_UVRectContent); | ||
| 85 | + | ||
| 86 | + EditorGUILayout.PropertyField(m_SetNativeSize); | ||
| 87 | + EditorGUILayout.PropertyField(m_KeepAspectRatio); | ||
| 88 | + | ||
| 89 | + SetShowNativeSize(false); | ||
| 90 | + NativeSizeButtonGUI(); | ||
| 91 | + | ||
| 92 | + serializedObject.ApplyModifiedProperties(); | ||
| 93 | + | ||
| 94 | + AVProWindowsMediaUGUIComponent component = target as AVProWindowsMediaUGUIComponent; | ||
| 95 | + | ||
| 96 | + if (component.m_movie != null) | ||
| 97 | + { | ||
| 98 | + if (component.m_movie.MovieInstance == null) | ||
| 99 | + { | ||
| 100 | + if (GUILayout.Button("Load")) | ||
| 101 | + { | ||
| 102 | + component.m_movie.LoadMovie(true); | ||
| 103 | + } | ||
| 104 | + } | ||
| 105 | + else | ||
| 106 | + { | ||
| 107 | + EditorUtility.SetDirty(component.m_movie); | ||
| 108 | + if (GUILayout.Button("Unload")) | ||
| 109 | + { | ||
| 110 | + component.m_movie.UnloadMovie(); | ||
| 111 | + } | ||
| 112 | + } | ||
| 113 | + } | ||
| 114 | + } | ||
| 115 | + | ||
| 116 | + void SetShowNativeSize(bool instant) | ||
| 117 | + { | ||
| 118 | + base.SetShowNativeSize(m_Movie.objectReferenceValue != null, instant); | ||
| 119 | + } | ||
| 120 | + | ||
| 121 | + /// <summary> | ||
| 122 | + /// Allow the texture to be previewed. | ||
| 123 | + /// </summary> | ||
| 124 | + | ||
| 125 | + public override bool HasPreviewGUI() | ||
| 126 | + { | ||
| 127 | + AVProWindowsMediaUGUIComponent rawImage = target as AVProWindowsMediaUGUIComponent; | ||
| 128 | + return rawImage != null; | ||
| 129 | + } | ||
| 130 | + | ||
| 131 | + /// <summary> | ||
| 132 | + /// Draw the Image preview. | ||
| 133 | + /// </summary> | ||
| 134 | + | ||
| 135 | + public override void OnPreviewGUI(Rect drawArea, GUIStyle background) | ||
| 136 | + { | ||
| 137 | + AVProWindowsMediaUGUIComponent rawImage = target as AVProWindowsMediaUGUIComponent; | ||
| 138 | + Texture tex = rawImage.mainTexture; | ||
| 139 | + | ||
| 140 | + if (tex == null) | ||
| 141 | + return; | ||
| 142 | + | ||
| 143 | + // Create the texture rectangle that is centered inside rect. | ||
| 144 | + Rect outerRect = drawArea; | ||
| 145 | + | ||
| 146 | + Matrix4x4 m = GUI.matrix; | ||
| 147 | + // Flip the image vertically | ||
| 148 | + if (rawImage.HasValidTexture()) | ||
| 149 | + { | ||
| 150 | + if (rawImage.m_movie.MovieInstance.RequiresFlipY) | ||
| 151 | + { | ||
| 152 | + GUIUtility.ScaleAroundPivot(new Vector2(1f, -1f), new Vector2(0, outerRect.y + (outerRect.height / 2))); | ||
| 153 | + } | ||
| 154 | + } | ||
| 155 | + | ||
| 156 | + EditorGUI.DrawTextureTransparent(outerRect, tex, ScaleMode.ScaleToFit);//, outer.width / outer.height); | ||
| 157 | + //SpriteDrawUtility.DrawSprite(tex, rect, outer, rawImage.uvRect, rawImage.canvasRenderer.GetColor()); | ||
| 158 | + | ||
| 159 | + GUI.matrix = m; | ||
| 160 | + } | ||
| 161 | + | ||
| 162 | + /// <summary> | ||
| 163 | + /// Info String drawn at the bottom of the Preview | ||
| 164 | + /// </summary> | ||
| 165 | + | ||
| 166 | + public override string GetInfoString() | ||
| 167 | + { | ||
| 168 | + AVProWindowsMediaUGUIComponent rawImage = target as AVProWindowsMediaUGUIComponent; | ||
| 169 | + | ||
| 170 | + string text = string.Empty; | ||
| 171 | + if (rawImage.HasValidTexture()) | ||
| 172 | + { | ||
| 173 | + text += string.Format("Video Size: {0}x{1}\n", | ||
| 174 | + Mathf.RoundToInt(Mathf.Abs(rawImage.mainTexture.width)), | ||
| 175 | + Mathf.RoundToInt(Mathf.Abs(rawImage.mainTexture.height))); | ||
| 176 | + } | ||
| 177 | + | ||
| 178 | + // Image size Text | ||
| 179 | + text += string.Format("Display Size: {0}x{1}", | ||
| 180 | + Mathf.RoundToInt(Mathf.Abs(rawImage.rectTransform.rect.width)), | ||
| 181 | + Mathf.RoundToInt(Mathf.Abs(rawImage.rectTransform.rect.height))); | ||
| 182 | + | ||
| 183 | + return text; | ||
| 184 | + } | ||
| 185 | +} | ||
| 186 | +#endif | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +Shader "AVProWindowsMedia/FillBackground" | ||
| 2 | +{ | ||
| 3 | + Properties | ||
| 4 | + { | ||
| 5 | + _MainTex ("Texture", 2D) = "black" {} | ||
| 6 | + } | ||
| 7 | + SubShader | ||
| 8 | + { | ||
| 9 | + Tags { "RenderType"="Opaque" "Queue"="Background" } | ||
| 10 | + LOD 100 | ||
| 11 | + Cull Off | ||
| 12 | + ZWrite Off | ||
| 13 | + ZTest Always | ||
| 14 | + | ||
| 15 | + Pass | ||
| 16 | + { | ||
| 17 | + CGPROGRAM | ||
| 18 | + #pragma vertex vert | ||
| 19 | + #pragma fragment frag | ||
| 20 | + | ||
| 21 | + #include "UnityCG.cginc" | ||
| 22 | + | ||
| 23 | + struct v2f | ||
| 24 | + { | ||
| 25 | + float4 vertex : SV_POSITION; | ||
| 26 | + float2 uv : TEXCOORD0; | ||
| 27 | + }; | ||
| 28 | + | ||
| 29 | + sampler2D _MainTex; | ||
| 30 | + float4 _MainTex_ST; | ||
| 31 | + float4 _MainTex_TexelSize; | ||
| 32 | + | ||
| 33 | + float2 ScaleZoomToFit(float targetWidth, float targetHeight, float sourceWidth, float sourceHeight) | ||
| 34 | + { | ||
| 35 | + float targetAspect = targetHeight / targetWidth; | ||
| 36 | + float sourceAspect = sourceHeight / sourceWidth; | ||
| 37 | + float2 scale = float2(1.0, sourceAspect / targetAspect); | ||
| 38 | + if (targetAspect < sourceAspect) | ||
| 39 | + { | ||
| 40 | + scale = float2(targetAspect / sourceAspect, 1.0); | ||
| 41 | + } | ||
| 42 | + return scale; | ||
| 43 | + } | ||
| 44 | + | ||
| 45 | + v2f vert (appdata_img v) | ||
| 46 | + { | ||
| 47 | + v2f o; | ||
| 48 | + | ||
| 49 | + float2 scale = ScaleZoomToFit(_ScreenParams.x, _ScreenParams.y, _MainTex_TexelSize.z, _MainTex_TexelSize.w); | ||
| 50 | + float2 pos = ((v.vertex.xy - 0.0) * scale * 2.0); | ||
| 51 | + | ||
| 52 | + // we're rendering with upside-down flipped projection, | ||
| 53 | + // so flip the vertical UV coordinate too | ||
| 54 | + if (_ProjectionParams.x < 0) | ||
| 55 | + { | ||
| 56 | + pos.y = (1 - pos.y) - 1; | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + o.vertex = float4(pos, UNITY_NEAR_CLIP_VALUE, 1); | ||
| 60 | + | ||
| 61 | + o.uv = TRANSFORM_TEX(v.texcoord, _MainTex); | ||
| 62 | + | ||
| 63 | + return o; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + fixed4 frag (v2f i) : SV_Target | ||
| 67 | + { | ||
| 68 | + // Sample the texture | ||
| 69 | + fixed4 col = tex2D(_MainTex, i.uv); | ||
| 70 | + return col; | ||
| 71 | + } | ||
| 72 | + ENDCG | ||
| 73 | + } | ||
| 74 | + } | ||
| 75 | +} |
| 1 | +Shader "Unlit/InsideSphere" | ||
| 2 | +{ | ||
| 3 | + Properties | ||
| 4 | + { | ||
| 5 | + // we have removed support for texture tiling/offset, | ||
| 6 | + // so make them not be displayed in material inspector | ||
| 7 | + _MainTex ("Texture", 2D) = "white" {} | ||
| 8 | + } | ||
| 9 | + SubShader | ||
| 10 | + { | ||
| 11 | + Cull Off | ||
| 12 | + | ||
| 13 | + Pass | ||
| 14 | + { | ||
| 15 | + CGPROGRAM | ||
| 16 | + #pragma vertex vert | ||
| 17 | + #pragma fragment frag | ||
| 18 | + #include "UnityCG.cginc" | ||
| 19 | + | ||
| 20 | + struct appdata | ||
| 21 | + { | ||
| 22 | + float4 vertex : POSITION; // vertex position | ||
| 23 | + float2 uv : TEXCOORD0; // texture coordinate | ||
| 24 | + }; | ||
| 25 | + | ||
| 26 | + struct v2f | ||
| 27 | + { | ||
| 28 | + float2 uv : TEXCOORD0; // texture coordinate | ||
| 29 | + float4 vertex : SV_POSITION; // clip space position | ||
| 30 | + }; | ||
| 31 | + | ||
| 32 | + uniform float4 _MainTex_ST; | ||
| 33 | + | ||
| 34 | + v2f vert (appdata v) | ||
| 35 | + { | ||
| 36 | + v2f o; | ||
| 37 | + o.vertex = mul(UNITY_MATRIX_MVP, v.vertex); | ||
| 38 | + o.uv.xy = TRANSFORM_TEX(float2(1-v.uv.x, v.uv.y), _MainTex); | ||
| 39 | + | ||
| 40 | + return o; | ||
| 41 | + } | ||
| 42 | + | ||
| 43 | + sampler2D _MainTex; | ||
| 44 | + | ||
| 45 | + fixed4 frag (v2f i) : SV_Target | ||
| 46 | + { | ||
| 47 | + // sample texture and return it | ||
| 48 | + fixed4 col = tex2D(_MainTex, i.uv); | ||
| 49 | + return col; | ||
| 50 | + } | ||
| 51 | + ENDCG | ||
| 52 | + } | ||
| 53 | + } | ||
| 54 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!1 &188330 | ||
| 4 | +GameObject: | ||
| 5 | + m_ObjectHideFlags: 0 | ||
| 6 | + m_PrefabParentObject: {fileID: 0} | ||
| 7 | + m_PrefabInternal: {fileID: 100100000} | ||
| 8 | + serializedVersion: 4 | ||
| 9 | + m_Component: | ||
| 10 | + - 4: {fileID: 488330} | ||
| 11 | + - 114: {fileID: 11488334} | ||
| 12 | + - 114: {fileID: 11488332} | ||
| 13 | + m_Layer: 0 | ||
| 14 | + m_Name: Video | ||
| 15 | + m_TagString: Untagged | ||
| 16 | + m_Icon: {fileID: 0} | ||
| 17 | + m_NavMeshLayer: 0 | ||
| 18 | + m_StaticEditorFlags: 0 | ||
| 19 | + m_IsActive: 1 | ||
| 20 | +--- !u!1 &188332 | ||
| 21 | +GameObject: | ||
| 22 | + m_ObjectHideFlags: 0 | ||
| 23 | + m_PrefabParentObject: {fileID: 0} | ||
| 24 | + m_PrefabInternal: {fileID: 100100000} | ||
| 25 | + serializedVersion: 4 | ||
| 26 | + m_Component: | ||
| 27 | + - 4: {fileID: 488332} | ||
| 28 | + - 33: {fileID: 3388334} | ||
| 29 | + - 23: {fileID: 2388334} | ||
| 30 | + m_Layer: 0 | ||
| 31 | + m_Name: Sphere | ||
| 32 | + m_TagString: Untagged | ||
| 33 | + m_Icon: {fileID: 0} | ||
| 34 | + m_NavMeshLayer: 0 | ||
| 35 | + m_StaticEditorFlags: 0 | ||
| 36 | + m_IsActive: 1 | ||
| 37 | +--- !u!1 &188334 | ||
| 38 | +GameObject: | ||
| 39 | + m_ObjectHideFlags: 0 | ||
| 40 | + m_PrefabParentObject: {fileID: 0} | ||
| 41 | + m_PrefabInternal: {fileID: 100100000} | ||
| 42 | + serializedVersion: 4 | ||
| 43 | + m_Component: | ||
| 44 | + - 4: {fileID: 488334} | ||
| 45 | + m_Layer: 0 | ||
| 46 | + m_Name: 360SphereVideo | ||
| 47 | + m_TagString: Untagged | ||
| 48 | + m_Icon: {fileID: 0} | ||
| 49 | + m_NavMeshLayer: 0 | ||
| 50 | + m_StaticEditorFlags: 0 | ||
| 51 | + m_IsActive: 1 | ||
| 52 | +--- !u!4 &488330 | ||
| 53 | +Transform: | ||
| 54 | + m_ObjectHideFlags: 1 | ||
| 55 | + m_PrefabParentObject: {fileID: 0} | ||
| 56 | + m_PrefabInternal: {fileID: 100100000} | ||
| 57 | + m_GameObject: {fileID: 188330} | ||
| 58 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 59 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 60 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 61 | + m_Children: [] | ||
| 62 | + m_Father: {fileID: 488334} | ||
| 63 | + m_RootOrder: 0 | ||
| 64 | +--- !u!4 &488332 | ||
| 65 | +Transform: | ||
| 66 | + m_ObjectHideFlags: 1 | ||
| 67 | + m_PrefabParentObject: {fileID: 0} | ||
| 68 | + m_PrefabInternal: {fileID: 100100000} | ||
| 69 | + m_GameObject: {fileID: 188332} | ||
| 70 | + m_LocalRotation: {x: 0, y: 1, z: 0, w: -4.37113883e-08} | ||
| 71 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 72 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 73 | + m_Children: [] | ||
| 74 | + m_Father: {fileID: 488334} | ||
| 75 | + m_RootOrder: 1 | ||
| 76 | +--- !u!4 &488334 | ||
| 77 | +Transform: | ||
| 78 | + m_ObjectHideFlags: 1 | ||
| 79 | + m_PrefabParentObject: {fileID: 0} | ||
| 80 | + m_PrefabInternal: {fileID: 100100000} | ||
| 81 | + m_GameObject: {fileID: 188334} | ||
| 82 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 83 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 84 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 85 | + m_Children: | ||
| 86 | + - {fileID: 488330} | ||
| 87 | + - {fileID: 488332} | ||
| 88 | + m_Father: {fileID: 0} | ||
| 89 | + m_RootOrder: 0 | ||
| 90 | +--- !u!23 &2388334 | ||
| 91 | +Renderer: | ||
| 92 | + m_ObjectHideFlags: 1 | ||
| 93 | + m_PrefabParentObject: {fileID: 0} | ||
| 94 | + m_PrefabInternal: {fileID: 100100000} | ||
| 95 | + m_GameObject: {fileID: 188332} | ||
| 96 | + m_Enabled: 1 | ||
| 97 | + m_CastShadows: 0 | ||
| 98 | + m_ReceiveShadows: 0 | ||
| 99 | + m_LightmapIndex: 255 | ||
| 100 | + m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} | ||
| 101 | + m_Materials: | ||
| 102 | + - {fileID: 2100000, guid: ab72c05bbf469b14b8dc263f3da57a6b, type: 2} | ||
| 103 | + m_SubsetIndices: | ||
| 104 | + m_StaticBatchRoot: {fileID: 0} | ||
| 105 | + m_UseLightProbes: 0 | ||
| 106 | + m_LightProbeAnchor: {fileID: 0} | ||
| 107 | + m_ScaleInLightmap: 1 | ||
| 108 | + m_SortingLayerID: 0 | ||
| 109 | + m_SortingOrder: 0 | ||
| 110 | +--- !u!33 &3388334 | ||
| 111 | +MeshFilter: | ||
| 112 | + m_ObjectHideFlags: 1 | ||
| 113 | + m_PrefabParentObject: {fileID: 0} | ||
| 114 | + m_PrefabInternal: {fileID: 100100000} | ||
| 115 | + m_GameObject: {fileID: 188332} | ||
| 116 | + m_Mesh: {fileID: 4300000, guid: a52e7a3bc245b48dead7ed46dc38ecec, type: 2} | ||
| 117 | +--- !u!114 &11488332 | ||
| 118 | +MonoBehaviour: | ||
| 119 | + m_ObjectHideFlags: 1 | ||
| 120 | + m_PrefabParentObject: {fileID: 0} | ||
| 121 | + m_PrefabInternal: {fileID: 100100000} | ||
| 122 | + m_GameObject: {fileID: 188330} | ||
| 123 | + m_Enabled: 1 | ||
| 124 | + m_EditorHideFlags: 0 | ||
| 125 | + m_Script: {fileID: 11500000, guid: 72fc29f9cbb939141bc513bfa454dbaa, type: 3} | ||
| 126 | + m_Name: | ||
| 127 | + m_EditorClassIdentifier: | ||
| 128 | + _mesh: {fileID: 2388334} | ||
| 129 | + _movie: {fileID: 11488334} | ||
| 130 | + _defaultTexture: {fileID: 0} | ||
| 131 | +--- !u!114 &11488334 | ||
| 132 | +MonoBehaviour: | ||
| 133 | + m_ObjectHideFlags: 1 | ||
| 134 | + m_PrefabParentObject: {fileID: 0} | ||
| 135 | + m_PrefabInternal: {fileID: 100100000} | ||
| 136 | + m_GameObject: {fileID: 188330} | ||
| 137 | + m_Enabled: 1 | ||
| 138 | + m_EditorHideFlags: 0 | ||
| 139 | + m_Script: {fileID: 11500000, guid: 8225388bc511e1f40be2e753ddefe282, type: 3} | ||
| 140 | + m_Name: | ||
| 141 | + m_EditorClassIdentifier: | ||
| 142 | + _folder: | ||
| 143 | + _filename: | ||
| 144 | + _useStreamingAssetsPath: 0 | ||
| 145 | + _loop: 1 | ||
| 146 | + _colourFormat: 2 | ||
| 147 | + _allowAudio: 0 | ||
| 148 | + _useAudioDelay: 0 | ||
| 149 | + _useAudioMixer: 0 | ||
| 150 | + _useDisplaySync: 0 | ||
| 151 | + _loadOnStart: 1 | ||
| 152 | + _playOnStart: 1 | ||
| 153 | + _editorPreview: 0 | ||
| 154 | + _ignoreFlips: 1 | ||
| 155 | + _volume: .5 | ||
| 156 | + _audioBalance: 0 | ||
| 157 | + _textureFilterMode: 1 | ||
| 158 | + _textureWrapMode: 1 | ||
| 159 | + _clips: [] | ||
| 160 | +--- !u!1001 &100100000 | ||
| 161 | +Prefab: | ||
| 162 | + m_ObjectHideFlags: 1 | ||
| 163 | + serializedVersion: 2 | ||
| 164 | + m_Modification: | ||
| 165 | + m_TransformParent: {fileID: 0} | ||
| 166 | + m_Modifications: [] | ||
| 167 | + m_RemovedComponents: [] | ||
| 168 | + m_ParentPrefab: {fileID: 0} | ||
| 169 | + m_RootGameObject: {fileID: 188334} | ||
| 170 | + m_IsPrefabParent: 1 | ||
| 171 | + m_IsExploded: 1 |
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!1 &113646 | ||
| 4 | +GameObject: | ||
| 5 | + m_ObjectHideFlags: 0 | ||
| 6 | + m_PrefabParentObject: {fileID: 0} | ||
| 7 | + m_PrefabInternal: {fileID: 100100000} | ||
| 8 | + serializedVersion: 4 | ||
| 9 | + m_Component: | ||
| 10 | + - 4: {fileID: 413646} | ||
| 11 | + - 114: {fileID: 11413650} | ||
| 12 | + - 114: {fileID: 11413648} | ||
| 13 | + m_Layer: 0 | ||
| 14 | + m_Name: Video | ||
| 15 | + m_TagString: Untagged | ||
| 16 | + m_Icon: {fileID: 0} | ||
| 17 | + m_NavMeshLayer: 0 | ||
| 18 | + m_StaticEditorFlags: 0 | ||
| 19 | + m_IsActive: 1 | ||
| 20 | +--- !u!1 &113648 | ||
| 21 | +GameObject: | ||
| 22 | + m_ObjectHideFlags: 0 | ||
| 23 | + m_PrefabParentObject: {fileID: 0} | ||
| 24 | + m_PrefabInternal: {fileID: 100100000} | ||
| 25 | + serializedVersion: 4 | ||
| 26 | + m_Component: | ||
| 27 | + - 4: {fileID: 413648} | ||
| 28 | + - 33: {fileID: 3313650} | ||
| 29 | + - 23: {fileID: 2313650} | ||
| 30 | + m_Layer: 0 | ||
| 31 | + m_Name: Background | ||
| 32 | + m_TagString: Untagged | ||
| 33 | + m_Icon: {fileID: 0} | ||
| 34 | + m_NavMeshLayer: 0 | ||
| 35 | + m_StaticEditorFlags: 0 | ||
| 36 | + m_IsActive: 1 | ||
| 37 | +--- !u!1 &113650 | ||
| 38 | +GameObject: | ||
| 39 | + m_ObjectHideFlags: 0 | ||
| 40 | + m_PrefabParentObject: {fileID: 0} | ||
| 41 | + m_PrefabInternal: {fileID: 100100000} | ||
| 42 | + serializedVersion: 4 | ||
| 43 | + m_Component: | ||
| 44 | + - 4: {fileID: 413650} | ||
| 45 | + m_Layer: 0 | ||
| 46 | + m_Name: BackgroundVideo | ||
| 47 | + m_TagString: Untagged | ||
| 48 | + m_Icon: {fileID: 0} | ||
| 49 | + m_NavMeshLayer: 0 | ||
| 50 | + m_StaticEditorFlags: 0 | ||
| 51 | + m_IsActive: 1 | ||
| 52 | +--- !u!4 &413646 | ||
| 53 | +Transform: | ||
| 54 | + m_ObjectHideFlags: 1 | ||
| 55 | + m_PrefabParentObject: {fileID: 0} | ||
| 56 | + m_PrefabInternal: {fileID: 100100000} | ||
| 57 | + m_GameObject: {fileID: 113646} | ||
| 58 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 59 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 60 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 61 | + m_Children: [] | ||
| 62 | + m_Father: {fileID: 413650} | ||
| 63 | + m_RootOrder: 0 | ||
| 64 | +--- !u!4 &413648 | ||
| 65 | +Transform: | ||
| 66 | + m_ObjectHideFlags: 1 | ||
| 67 | + m_PrefabParentObject: {fileID: 0} | ||
| 68 | + m_PrefabInternal: {fileID: 100100000} | ||
| 69 | + m_GameObject: {fileID: 113648} | ||
| 70 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 71 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 72 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 73 | + m_Children: [] | ||
| 74 | + m_Father: {fileID: 413650} | ||
| 75 | + m_RootOrder: 1 | ||
| 76 | +--- !u!4 &413650 | ||
| 77 | +Transform: | ||
| 78 | + m_ObjectHideFlags: 1 | ||
| 79 | + m_PrefabParentObject: {fileID: 0} | ||
| 80 | + m_PrefabInternal: {fileID: 100100000} | ||
| 81 | + m_GameObject: {fileID: 113650} | ||
| 82 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 83 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 84 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 85 | + m_Children: | ||
| 86 | + - {fileID: 413646} | ||
| 87 | + - {fileID: 413648} | ||
| 88 | + m_Father: {fileID: 0} | ||
| 89 | + m_RootOrder: 0 | ||
| 90 | +--- !u!23 &2313650 | ||
| 91 | +Renderer: | ||
| 92 | + m_ObjectHideFlags: 1 | ||
| 93 | + m_PrefabParentObject: {fileID: 0} | ||
| 94 | + m_PrefabInternal: {fileID: 100100000} | ||
| 95 | + m_GameObject: {fileID: 113648} | ||
| 96 | + m_Enabled: 1 | ||
| 97 | + m_CastShadows: 0 | ||
| 98 | + m_ReceiveShadows: 0 | ||
| 99 | + m_LightmapIndex: 255 | ||
| 100 | + m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0} | ||
| 101 | + m_Materials: | ||
| 102 | + - {fileID: 2100000, guid: fe6a8b0c4b26eb946a943716f2a75230, type: 2} | ||
| 103 | + m_SubsetIndices: | ||
| 104 | + m_StaticBatchRoot: {fileID: 0} | ||
| 105 | + m_UseLightProbes: 0 | ||
| 106 | + m_LightProbeAnchor: {fileID: 0} | ||
| 107 | + m_ScaleInLightmap: 1 | ||
| 108 | + m_SortingLayerID: 0 | ||
| 109 | + m_SortingOrder: 0 | ||
| 110 | +--- !u!33 &3313650 | ||
| 111 | +MeshFilter: | ||
| 112 | + m_ObjectHideFlags: 1 | ||
| 113 | + m_PrefabParentObject: {fileID: 0} | ||
| 114 | + m_PrefabInternal: {fileID: 100100000} | ||
| 115 | + m_GameObject: {fileID: 113648} | ||
| 116 | + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} | ||
| 117 | +--- !u!114 &11413648 | ||
| 118 | +MonoBehaviour: | ||
| 119 | + m_ObjectHideFlags: 1 | ||
| 120 | + m_PrefabParentObject: {fileID: 0} | ||
| 121 | + m_PrefabInternal: {fileID: 100100000} | ||
| 122 | + m_GameObject: {fileID: 113646} | ||
| 123 | + m_Enabled: 1 | ||
| 124 | + m_EditorHideFlags: 0 | ||
| 125 | + m_Script: {fileID: 11500000, guid: 72fc29f9cbb939141bc513bfa454dbaa, type: 3} | ||
| 126 | + m_Name: | ||
| 127 | + m_EditorClassIdentifier: | ||
| 128 | + _mesh: {fileID: 2313650} | ||
| 129 | + _movie: {fileID: 11413650} | ||
| 130 | + _defaultTexture: {fileID: 0} | ||
| 131 | +--- !u!114 &11413650 | ||
| 132 | +MonoBehaviour: | ||
| 133 | + m_ObjectHideFlags: 1 | ||
| 134 | + m_PrefabParentObject: {fileID: 0} | ||
| 135 | + m_PrefabInternal: {fileID: 100100000} | ||
| 136 | + m_GameObject: {fileID: 113646} | ||
| 137 | + m_Enabled: 1 | ||
| 138 | + m_EditorHideFlags: 0 | ||
| 139 | + m_Script: {fileID: 11500000, guid: 8225388bc511e1f40be2e753ddefe282, type: 3} | ||
| 140 | + m_Name: | ||
| 141 | + m_EditorClassIdentifier: | ||
| 142 | + _folder: | ||
| 143 | + _filename: | ||
| 144 | + _useStreamingAssetsPath: 0 | ||
| 145 | + _loop: 1 | ||
| 146 | + _colourFormat: 2 | ||
| 147 | + _allowAudio: 1 | ||
| 148 | + _useAudioDelay: 0 | ||
| 149 | + _useAudioMixer: 0 | ||
| 150 | + _useDisplaySync: 0 | ||
| 151 | + _loadOnStart: 1 | ||
| 152 | + _playOnStart: 1 | ||
| 153 | + _editorPreview: 0 | ||
| 154 | + _ignoreFlips: 1 | ||
| 155 | + _volume: .5 | ||
| 156 | + _audioBalance: 0 | ||
| 157 | + _textureFilterMode: 1 | ||
| 158 | + _textureWrapMode: 1 | ||
| 159 | + _clips: [] | ||
| 160 | +--- !u!1001 &100100000 | ||
| 161 | +Prefab: | ||
| 162 | + m_ObjectHideFlags: 1 | ||
| 163 | + serializedVersion: 2 | ||
| 164 | + m_Modification: | ||
| 165 | + m_TransformParent: {fileID: 0} | ||
| 166 | + m_Modifications: [] | ||
| 167 | + m_RemovedComponents: [] | ||
| 168 | + m_ParentPrefab: {fileID: 0} | ||
| 169 | + m_RootGameObject: {fileID: 113650} | ||
| 170 | + m_IsPrefabParent: 1 | ||
| 171 | + m_IsExploded: 1 |
| 1 | +%YAML 1.1 | ||
| 2 | +%TAG !u! tag:unity3d.com,2011: | ||
| 3 | +--- !u!1 &148314 | ||
| 4 | +GameObject: | ||
| 5 | + m_ObjectHideFlags: 0 | ||
| 6 | + m_PrefabParentObject: {fileID: 0} | ||
| 7 | + m_PrefabInternal: {fileID: 100100000} | ||
| 8 | + serializedVersion: 4 | ||
| 9 | + m_Component: | ||
| 10 | + - 4: {fileID: 448314} | ||
| 11 | + - 114: {fileID: 11448316} | ||
| 12 | + - 114: {fileID: 11448314} | ||
| 13 | + m_Layer: 0 | ||
| 14 | + m_Name: FullscreenVideo | ||
| 15 | + m_TagString: Untagged | ||
| 16 | + m_Icon: {fileID: 0} | ||
| 17 | + m_NavMeshLayer: 0 | ||
| 18 | + m_StaticEditorFlags: 0 | ||
| 19 | + m_IsActive: 1 | ||
| 20 | +--- !u!4 &448314 | ||
| 21 | +Transform: | ||
| 22 | + m_ObjectHideFlags: 1 | ||
| 23 | + m_PrefabParentObject: {fileID: 0} | ||
| 24 | + m_PrefabInternal: {fileID: 100100000} | ||
| 25 | + m_GameObject: {fileID: 148314} | ||
| 26 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
| 27 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
| 28 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
| 29 | + m_Children: [] | ||
| 30 | + m_Father: {fileID: 0} | ||
| 31 | + m_RootOrder: 0 | ||
| 32 | +--- !u!114 &11448314 | ||
| 33 | +MonoBehaviour: | ||
| 34 | + m_ObjectHideFlags: 1 | ||
| 35 | + m_PrefabParentObject: {fileID: 0} | ||
| 36 | + m_PrefabInternal: {fileID: 100100000} | ||
| 37 | + m_GameObject: {fileID: 148314} | ||
| 38 | + m_Enabled: 1 | ||
| 39 | + m_EditorHideFlags: 0 | ||
| 40 | + m_Script: {fileID: 11500000, guid: 56fbcade19d816c4d916df81e1237475, type: 3} | ||
| 41 | + m_Name: | ||
| 42 | + m_EditorClassIdentifier: | ||
| 43 | + _movie: {fileID: 11448316} | ||
| 44 | + _scaleMode: 2 | ||
| 45 | + _color: {r: 1, g: 1, b: 1, a: 1} | ||
| 46 | + _alphaBlend: 0 | ||
| 47 | + _fullScreen: 1 | ||
| 48 | + _depth: 0 | ||
| 49 | + _x: 0 | ||
| 50 | + _y: 0 | ||
| 51 | + _width: 1 | ||
| 52 | + _height: 1 | ||
| 53 | +--- !u!114 &11448316 | ||
| 54 | +MonoBehaviour: | ||
| 55 | + m_ObjectHideFlags: 1 | ||
| 56 | + m_PrefabParentObject: {fileID: 0} | ||
| 57 | + m_PrefabInternal: {fileID: 100100000} | ||
| 58 | + m_GameObject: {fileID: 148314} | ||
| 59 | + m_Enabled: 1 | ||
| 60 | + m_EditorHideFlags: 0 | ||
| 61 | + m_Script: {fileID: 11500000, guid: 8225388bc511e1f40be2e753ddefe282, type: 3} | ||
| 62 | + m_Name: | ||
| 63 | + m_EditorClassIdentifier: | ||
| 64 | + _folder: | ||
| 65 | + _filename: sample-sphere-1024x512-divx.avi | ||
| 66 | + _useStreamingAssetsPath: 1 | ||
| 67 | + _loop: 1 | ||
| 68 | + _colourFormat: 2 | ||
| 69 | + _allowAudio: 1 | ||
| 70 | + _useAudioDelay: 0 | ||
| 71 | + _useAudioMixer: 0 | ||
| 72 | + _useDisplaySync: 0 | ||
| 73 | + _loadOnStart: 1 | ||
| 74 | + _playOnStart: 1 | ||
| 75 | + _editorPreview: 1 | ||
| 76 | + _ignoreFlips: 1 | ||
| 77 | + _volume: .5 | ||
| 78 | + _audioBalance: 0 | ||
| 79 | + _textureFilterMode: 1 | ||
| 80 | + _textureWrapMode: 1 | ||
| 81 | + _clips: [] | ||
| 82 | +--- !u!1001 &100100000 | ||
| 83 | +Prefab: | ||
| 84 | + m_ObjectHideFlags: 1 | ||
| 85 | + serializedVersion: 2 | ||
| 86 | + m_Modification: | ||
| 87 | + m_TransformParent: {fileID: 0} | ||
| 88 | + m_Modifications: [] | ||
| 89 | + m_RemovedComponents: [] | ||
| 90 | + m_ParentPrefab: {fileID: 0} | ||
| 91 | + m_RootGameObject: {fileID: 148314} | ||
| 92 | + m_IsPrefabParent: 1 | ||
| 93 | + m_IsExploded: 1 |
| 1 | +Shader "Hidden/AVProWindowsMedia/CompositeCopy" | ||
| 2 | +{ | ||
| 3 | + Properties | ||
| 4 | + { | ||
| 5 | + _MainTex ("Base (RGB)", 2D) = "white" {} | ||
| 6 | + } | ||
| 7 | + SubShader | ||
| 8 | + { | ||
| 9 | + Pass | ||
| 10 | + { | ||
| 11 | + ZTest Always Cull Off ZWrite Off | ||
| 12 | + Fog { Mode off } | ||
| 13 | + | ||
| 14 | +CGPROGRAM | ||
| 15 | +#pragma vertex vert | ||
| 16 | +#pragma fragment frag | ||
| 17 | +#pragma exclude_renderers flash xbox360 ps3 gles | ||
| 18 | +//#pragma fragmentoption ARB_precision_hint_fastest | ||
| 19 | +#pragma fragmentoption ARB_precision_hint_nicest | ||
| 20 | +//#pragma multi_compile SWAP_RED_BLUE_ON SWAP_RED_BLUE_OFF | ||
| 21 | +#include "UnityCG.cginc" | ||
| 22 | + | ||
| 23 | +uniform sampler2D _MainTex; | ||
| 24 | +#if UNITY_VERSION >= 530 | ||
| 25 | +uniform float4 _MainTex_ST2; | ||
| 26 | +#else | ||
| 27 | +uniform float4 _MainTex_ST; | ||
| 28 | +#endif | ||
| 29 | +float4 _MainTex_TexelSize; | ||
| 30 | + | ||
| 31 | +struct v2f { | ||
| 32 | + float4 pos : POSITION; | ||
| 33 | + float2 uv : TEXCOORD0; | ||
| 34 | +}; | ||
| 35 | + | ||
| 36 | +v2f vert( appdata_img v ) | ||
| 37 | +{ | ||
| 38 | + v2f o; | ||
| 39 | + o.pos = mul (UNITY_MATRIX_MVP, v.vertex); | ||
| 40 | + | ||
| 41 | +#if UNITY_VERSION >= 530 | ||
| 42 | + o.uv.xy = (v.texcoord.xy * _MainTex_ST2.xy + _MainTex_ST2.zw); | ||
| 43 | +#else | ||
| 44 | + o.uv.xy = TRANSFORM_TEX(v.texcoord, _MainTex); | ||
| 45 | +#endif | ||
| 46 | + | ||
| 47 | + // On D3D when AA is used, the main texture & scene depth texture | ||
| 48 | + // will come out in different vertical orientations. | ||
| 49 | + // So flip sampling of the texture when that is the case (main texture | ||
| 50 | + // texel size will have negative Y). | ||
| 51 | + #if SHADER_API_D3D9 | ||
| 52 | + if (_MainTex_TexelSize.y < 0) | ||
| 53 | + { | ||
| 54 | + o.uv.y = 1-o.uv.y; | ||
| 55 | + } | ||
| 56 | + #endif | ||
| 57 | + | ||
| 58 | + return o; | ||
| 59 | +} | ||
| 60 | + | ||
| 61 | +float4 frag (v2f i) : COLOR | ||
| 62 | +{ | ||
| 63 | + float4 col = tex2D(_MainTex, i.uv); | ||
| 64 | +/*#if defined(SWAP_RED_BLUE_ON) | ||
| 65 | + col = col.bgra; | ||
| 66 | +#endif | ||
| 67 | + */ | ||
| 68 | + return col; | ||
| 69 | +} | ||
| 70 | +ENDCG | ||
| 71 | + } | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + FallBack Off | ||
| 75 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +Shader "Hidden/AVProWindowsMedia/CompositeBGRA_2_RGBA" | ||
| 2 | +{ | ||
| 3 | + Properties | ||
| 4 | + { | ||
| 5 | + _MainTex ("Base (RGB)", 2D) = "white" {} | ||
| 6 | + } | ||
| 7 | + SubShader | ||
| 8 | + { | ||
| 9 | + Pass | ||
| 10 | + { | ||
| 11 | + ZTest Always Cull Off ZWrite Off | ||
| 12 | + Fog { Mode off } | ||
| 13 | + | ||
| 14 | +CGPROGRAM | ||
| 15 | +#pragma vertex vert | ||
| 16 | +#pragma fragment frag | ||
| 17 | +#pragma fragmentoption ARB_precision_hint_fastest | ||
| 18 | +#pragma multi_compile SWAP_RED_BLUE_ON SWAP_RED_BLUE_OFF | ||
| 19 | +#include "UnityCG.cginc" | ||
| 20 | + | ||
| 21 | +uniform sampler2D _MainTex; | ||
| 22 | +#if UNITY_VERSION >= 530 | ||
| 23 | +uniform float4 _MainTex_ST2; | ||
| 24 | +#else | ||
| 25 | +uniform float4 _MainTex_ST; | ||
| 26 | +#endif | ||
| 27 | +float4 _MainTex_TexelSize; | ||
| 28 | + | ||
| 29 | +struct v2f { | ||
| 30 | + float4 pos : POSITION; | ||
| 31 | + float2 uv : TEXCOORD0; | ||
| 32 | +}; | ||
| 33 | + | ||
| 34 | +v2f vert( appdata_img v ) | ||
| 35 | +{ | ||
| 36 | + v2f o; | ||
| 37 | + o.pos = mul (UNITY_MATRIX_MVP, v.vertex); | ||
| 38 | + | ||
| 39 | +#if UNITY_VERSION >= 530 | ||
| 40 | + o.uv.xy = (v.texcoord.xy * _MainTex_ST2.xy + _MainTex_ST2.zw); | ||
| 41 | +#else | ||
| 42 | + o.uv.xy = TRANSFORM_TEX(v.texcoord, _MainTex); | ||
| 43 | +#endif | ||
| 44 | + | ||
| 45 | + // On D3D when AA is used, the main texture & scene depth texture | ||
| 46 | + // will come out in different vertical orientations. | ||
| 47 | + // So flip sampling of the texture when that is the case (main texture | ||
| 48 | + // texel size will have negative Y). | ||
| 49 | + #if SHADER_API_D3D9 | ||
| 50 | + if (_MainTex_TexelSize.y < 0) | ||
| 51 | + { | ||
| 52 | + o.uv.y = 1-o.uv.y; | ||
| 53 | + } | ||
| 54 | + #endif | ||
| 55 | + | ||
| 56 | + | ||
| 57 | + return o; | ||
| 58 | +} | ||
| 59 | + | ||
| 60 | +float4 frag (v2f i) : COLOR | ||
| 61 | +{ | ||
| 62 | + float4 col = tex2D(_MainTex, i.uv); | ||
| 63 | +#if defined(SWAP_RED_BLUE_ON) | ||
| 64 | + col = col.bgra; | ||
| 65 | +#endif | ||
| 66 | + return col; | ||
| 67 | +} | ||
| 68 | +ENDCG | ||
| 69 | + } | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + FallBack Off | ||
| 73 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | + | ||
| 2 | +// BT601 / BT470-2 | ||
| 3 | +float4 | ||
| 4 | +convertYUV(float y, float u, float v) | ||
| 5 | +{ | ||
| 6 | + float rr = saturate(y + 1.402 * (u - 0.5)); | ||
| 7 | + float gg = saturate(y - 0.344 * (v - 0.5) - 0.714 * (u - 0.5)); | ||
| 8 | + float bb = saturate(y + 1.772 * (v - 0.5)); | ||
| 9 | + return float4(rr, gg, bb, 1); | ||
| 10 | +} | ||
| 11 | + | ||
| 12 | +// BT709 | ||
| 13 | +float4 | ||
| 14 | +convertYUV_HD(float y, float u, float v) | ||
| 15 | +{ | ||
| 16 | + float rr = saturate( 1.164 * (y - (16.0 / 255.0)) + 1.793 * (u - 0.5) ); | ||
| 17 | + float gg = saturate( 1.164 * (y - (16.0 / 255.0)) - 0.534 * (u - 0.5) - 0.213 * (v - 0.5) ); | ||
| 18 | + float bb = saturate( 1.164 * (y - (16.0 / 255.0)) + 2.115 * (v - 0.5) ); | ||
| 19 | + return float4(rr, gg, bb, 1); | ||
| 20 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +Shader "Hidden/AVProWindowsMedia/CompositeYCoCg_2_RGB" | ||
| 2 | +{ | ||
| 3 | + Properties | ||
| 4 | + { | ||
| 5 | + _MainTex ("Base (RGB)", 2D) = "white" {} | ||
| 6 | + } | ||
| 7 | + SubShader | ||
| 8 | + { | ||
| 9 | + Pass | ||
| 10 | + { | ||
| 11 | + ZTest Always Cull Off ZWrite Off | ||
| 12 | + Fog { Mode off } | ||
| 13 | + | ||
| 14 | +CGPROGRAM | ||
| 15 | +#pragma vertex vert | ||
| 16 | +#pragma fragment frag | ||
| 17 | +#pragma exclude_renderers flash xbox360 ps3 gles | ||
| 18 | +//#pragma fragmentoption ARB_precision_hint_fastest | ||
| 19 | +#pragma fragmentoption ARB_precision_hint_nicest | ||
| 20 | +#include "UnityCG.cginc" | ||
| 21 | + | ||
| 22 | +uniform sampler2D _MainTex; | ||
| 23 | +#if UNITY_VERSION >= 530 | ||
| 24 | +uniform float4 _MainTex_ST2; | ||
| 25 | +#else | ||
| 26 | +uniform float4 _MainTex_ST; | ||
| 27 | +#endif | ||
| 28 | +float4 _MainTex_TexelSize; | ||
| 29 | + | ||
| 30 | +struct v2f { | ||
| 31 | + float4 pos : POSITION; | ||
| 32 | + float2 uv : TEXCOORD0; | ||
| 33 | +}; | ||
| 34 | + | ||
| 35 | +v2f vert( appdata_img v ) | ||
| 36 | +{ | ||
| 37 | + v2f o; | ||
| 38 | + o.pos = mul (UNITY_MATRIX_MVP, v.vertex); | ||
| 39 | + | ||
| 40 | +#if UNITY_VERSION >= 530 | ||
| 41 | + o.uv.xy = (v.texcoord.xy * _MainTex_ST2.xy + _MainTex_ST2.zw); | ||
| 42 | +#else | ||
| 43 | + o.uv.xy = TRANSFORM_TEX(v.texcoord, _MainTex); | ||
| 44 | +#endif | ||
| 45 | + | ||
| 46 | + // On D3D when AA is used, the main texture & scene depth texture | ||
| 47 | + // will come out in different vertical orientations. | ||
| 48 | + // So flip sampling of the texture when that is the case (main texture | ||
| 49 | + // texel size will have negative Y). | ||
| 50 | + #if SHADER_API_D3D9 | ||
| 51 | + if (_MainTex_TexelSize.y < 0) | ||
| 52 | + { | ||
| 53 | + o.uv.y = 1-o.uv.y; | ||
| 54 | + } | ||
| 55 | + #endif | ||
| 56 | + | ||
| 57 | + return o; | ||
| 58 | +} | ||
| 59 | + | ||
| 60 | + | ||
| 61 | + | ||
| 62 | +float4 frag (v2f i) : COLOR | ||
| 63 | +{ | ||
| 64 | + float4 YCoCg = tex2D(_MainTex, i.uv); | ||
| 65 | + float4 offsets = float4(-0.50196078431373, -0.50196078431373, 0.0, 0.0); | ||
| 66 | + YCoCg += offsets; | ||
| 67 | + | ||
| 68 | + float scale = ( YCoCg.z * ( 255.0 / 8.0 ) ) + 1.0; | ||
| 69 | + | ||
| 70 | + float Co = YCoCg.x / scale; | ||
| 71 | + float Cg = YCoCg.y / scale; | ||
| 72 | + | ||
| 73 | + //float Co = ( YCoCg.x - ( 0.5 * 256.0 / 255.0 ) ) / scale; | ||
| 74 | + //float Cg = ( YCoCg.y - ( 0.5 * 256.0 / 255.0 ) ) / scale; | ||
| 75 | + | ||
| 76 | + float Y = YCoCg.w; | ||
| 77 | + | ||
| 78 | + float4 oCol = float4(Y + Co - Cg, Y + Cg, Y - Co - Cg, 1.0); | ||
| 79 | + //float4 oCol = float4(Co + (Y - ), Y, Y, 1.0); | ||
| 80 | + return oCol; | ||
| 81 | +} | ||
| 82 | +ENDCG | ||
| 83 | + } | ||
| 84 | + } | ||
| 85 | + | ||
| 86 | + FallBack Off | ||
| 87 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +Shader "Hidden/AVProWindowsMedia/CompositeHDYC_2_RGBA" | ||
| 2 | +{ | ||
| 3 | + Properties | ||
| 4 | + { | ||
| 5 | + _MainTex ("Base (RGB)", 2D) = "white" {} | ||
| 6 | + _TextureWidth ("Texure Width", Float) = 256.0 | ||
| 7 | + } | ||
| 8 | + SubShader | ||
| 9 | + { | ||
| 10 | + Pass | ||
| 11 | + { | ||
| 12 | + ZTest Always Cull Off ZWrite Off | ||
| 13 | + Fog { Mode off } | ||
| 14 | + | ||
| 15 | +CGPROGRAM | ||
| 16 | +#pragma vertex vert | ||
| 17 | +#pragma fragment frag | ||
| 18 | +#pragma exclude_renderers flash xbox360 ps3 gles | ||
| 19 | +//#pragma fragmentoption ARB_precision_hint_fastest | ||
| 20 | +#pragma fragmentoption ARB_precision_hint_nicest | ||
| 21 | +#pragma multi_compile SWAP_RED_BLUE_ON SWAP_RED_BLUE_OFF | ||
| 22 | +#include "AVProWindowsMedia_Shared.cginc" | ||
| 23 | +#include "UnityCG.cginc" | ||
| 24 | + | ||
| 25 | +uniform sampler2D _MainTex; | ||
| 26 | +float _TextureWidth; | ||
| 27 | +#if UNITY_VERSION >= 530 | ||
| 28 | +uniform float4 _MainTex_ST2; | ||
| 29 | +#else | ||
| 30 | +uniform float4 _MainTex_ST; | ||
| 31 | +#endif | ||
| 32 | +float4 _MainTex_TexelSize; | ||
| 33 | + | ||
| 34 | +struct v2f { | ||
| 35 | + float4 pos : POSITION; | ||
| 36 | + float3 uv : TEXCOORD0; | ||
| 37 | +}; | ||
| 38 | + | ||
| 39 | +v2f vert( appdata_img v ) | ||
| 40 | +{ | ||
| 41 | + v2f o; | ||
| 42 | + o.pos = mul (UNITY_MATRIX_MVP, v.vertex); | ||
| 43 | + | ||
| 44 | +#if UNITY_VERSION >= 530 | ||
| 45 | + o.uv.xy = (v.texcoord.xy * _MainTex_ST2.xy + _MainTex_ST2.zw); | ||
| 46 | +#else | ||
| 47 | + o.uv.xy = TRANSFORM_TEX(v.texcoord, _MainTex); | ||
| 48 | +#endif | ||
| 49 | + | ||
| 50 | + // On D3D when AA is used, the main texture & scene depth texture | ||
| 51 | + // will come out in different vertical orientations. | ||
| 52 | + // So flip sampling of the texture when that is the case (main texture | ||
| 53 | + // texel size will have negative Y). | ||
| 54 | + #if SHADER_API_D3D9 | ||
| 55 | + if (_MainTex_TexelSize.y < 0) | ||
| 56 | + { | ||
| 57 | + o.uv.y = 1-o.uv.y; | ||
| 58 | + } | ||
| 59 | + #endif | ||
| 60 | + | ||
| 61 | + o.uv.z = v.vertex.x * _TextureWidth * 0.5; | ||
| 62 | + | ||
| 63 | + return o; | ||
| 64 | +} | ||
| 65 | + | ||
| 66 | +float4 frag (v2f i) : COLOR | ||
| 67 | +{ | ||
| 68 | + float4 col = tex2D(_MainTex, i.uv.xy); | ||
| 69 | +#if defined(SWAP_RED_BLUE_ON) | ||
| 70 | + col = col.bgra; | ||
| 71 | +#endif | ||
| 72 | + | ||
| 73 | + //uyvy | ||
| 74 | + float y = col.y; | ||
| 75 | + float u = col.x; | ||
| 76 | + float v = col.z; | ||
| 77 | + | ||
| 78 | + if (frac(i.uv.z) > 0.5 ) | ||
| 79 | + { | ||
| 80 | + // ODD PIXELS | ||
| 81 | + y = col.w; | ||
| 82 | + | ||
| 83 | + /* | ||
| 84 | + float4 col2 = tex2D(_MainTex, uv.xy + float2(_MainTex_TexelSize.x, 0.0)); | ||
| 85 | +#if defined(SWAP_RED_BLUE_ON) | ||
| 86 | + col2 = col2.bgra; | ||
| 87 | +#endif | ||
| 88 | + u = (col.x + col2.x) * 0.5; | ||
| 89 | + v = (col.z + col2.z) * 0.5;*/ | ||
| 90 | + } | ||
| 91 | + | ||
| 92 | + float4 oCol = convertYUV_HD(y, u, v); | ||
| 93 | + | ||
| 94 | + return oCol; | ||
| 95 | +} | ||
| 96 | +ENDCG | ||
| 97 | + } | ||
| 98 | + } | ||
| 99 | + | ||
| 100 | + FallBack Off | ||
| 101 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +Shader "Hidden/AVProWindowsMedia/CompositeNV12_709" | ||
| 2 | +{ | ||
| 3 | + Properties | ||
| 4 | + { | ||
| 5 | + _MainTex ("Luma (Y)", 2D) = "white" {} | ||
| 6 | + _MainUV ("Color (UV)", 2D) = "white" {} | ||
| 7 | + _TextureWidth ("Texure Width", Float) = 256.0 | ||
| 8 | + } | ||
| 9 | + SubShader | ||
| 10 | + { | ||
| 11 | + Pass | ||
| 12 | + { | ||
| 13 | + ZTest Always Cull Off ZWrite Off | ||
| 14 | + Fog { Mode off } | ||
| 15 | + | ||
| 16 | +CGPROGRAM | ||
| 17 | +#pragma vertex vert | ||
| 18 | +#pragma fragment frag | ||
| 19 | +#pragma fragmentoption ARB_precision_hint_fastest | ||
| 20 | +#pragma multi_compile SWAP_RED_BLUE_ON SWAP_RED_BLUE_OFF | ||
| 21 | +#include "AVProWindowsMedia_Shared.cginc" | ||
| 22 | +#include "UnityCG.cginc" | ||
| 23 | + | ||
| 24 | +uniform sampler2D _MainTex; | ||
| 25 | +uniform sampler2D _MainUV; | ||
| 26 | +float _TextureWidth; | ||
| 27 | +#if UNITY_VERSION >= 530 | ||
| 28 | +uniform float4 _MainTex_ST2; | ||
| 29 | +#else | ||
| 30 | +uniform float4 _MainTex_ST; | ||
| 31 | +#endif | ||
| 32 | +float4 _MainTex_TexelSize; | ||
| 33 | + | ||
| 34 | +struct v2f { | ||
| 35 | + float4 pos : POSITION; | ||
| 36 | + float2 uv : TEXCOORD0; | ||
| 37 | +}; | ||
| 38 | + | ||
| 39 | +v2f vert( appdata_img v ) | ||
| 40 | +{ | ||
| 41 | + v2f o; | ||
| 42 | + o.pos = mul (UNITY_MATRIX_MVP, v.vertex); | ||
| 43 | + | ||
| 44 | +#if UNITY_VERSION >= 530 | ||
| 45 | + o.uv.xy = (v.texcoord.xy * _MainTex_ST2.xy + _MainTex_ST2.zw); | ||
| 46 | +#else | ||
| 47 | + o.uv.xy = TRANSFORM_TEX(v.texcoord, _MainTex); | ||
| 48 | +#endif | ||
| 49 | + | ||
| 50 | + // On D3D when AA is used, the main texture & scene depth texture | ||
| 51 | + // will come out in different vertical orientations. | ||
| 52 | + // So flip sampling of the texture when that is the case (main texture | ||
| 53 | + // texel size will have negative Y). | ||
| 54 | + #if SHADER_API_D3D9 | ||
| 55 | + if (_MainTex_TexelSize.y < 0) | ||
| 56 | + { | ||
| 57 | + o.uv.y = 1-o.uv.y; | ||
| 58 | + } | ||
| 59 | + #endif | ||
| 60 | + | ||
| 61 | + | ||
| 62 | + return o; | ||
| 63 | +} | ||
| 64 | + | ||
| 65 | +float4 frag (v2f i) : COLOR | ||
| 66 | +{ | ||
| 67 | + float yy = i.uv.y * 0.666666; | ||
| 68 | + float2 uv = float2(i.uv.x, yy); | ||
| 69 | + float4 col = tex2D(_MainTex, uv.xy); | ||
| 70 | + | ||
| 71 | + float f = (uv.x * _TextureWidth) / 1.0; | ||
| 72 | + float fr = frac(f); | ||
| 73 | + float y = col.r; | ||
| 74 | + if (fr >= 0.25) | ||
| 75 | + y = col.g; | ||
| 76 | + if (fr >= 0.5) | ||
| 77 | + y = col.b; | ||
| 78 | + if (fr >= 0.75) | ||
| 79 | + y = col.a; | ||
| 80 | + | ||
| 81 | + | ||
| 82 | + //uv = float2(i.uv.x, 0.66666 + yy * 0.5);//0.666666 + i.uv.y*0.666666); | ||
| 83 | + col = tex2D(_MainTex, uv); | ||
| 84 | + | ||
| 85 | + return col; | ||
| 86 | +} | ||
| 87 | + | ||
| 88 | +ENDCG | ||
| 89 | + } | ||
| 90 | + } | ||
| 91 | + | ||
| 92 | + FallBack Off | ||
| 93 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +Shader "Hidden/AVProWindowsMedia/CompositeUYVY_2_RGBA" | ||
| 2 | +{ | ||
| 3 | + Properties | ||
| 4 | + { | ||
| 5 | + _MainTex ("Base (RGB)", 2D) = "white" {} | ||
| 6 | + _TextureWidth ("Texure Width", Float) = 256.0 | ||
| 7 | + } | ||
| 8 | + SubShader | ||
| 9 | + { | ||
| 10 | + Pass | ||
| 11 | + { | ||
| 12 | + ZTest Always Cull Off ZWrite Off | ||
| 13 | + Fog { Mode off } | ||
| 14 | + | ||
| 15 | +CGPROGRAM | ||
| 16 | +#pragma vertex vert | ||
| 17 | +#pragma fragment frag | ||
| 18 | +#pragma exclude_renderers flash xbox360 ps3 gles | ||
| 19 | +//#pragma fragmentoption ARB_precision_hint_fastest | ||
| 20 | +#pragma fragmentoption ARB_precision_hint_nicest | ||
| 21 | +#pragma multi_compile SWAP_RED_BLUE_ON SWAP_RED_BLUE_OFF | ||
| 22 | +#include "AVProWindowsMedia_Shared.cginc" | ||
| 23 | +#include "UnityCG.cginc" | ||
| 24 | + | ||
| 25 | +uniform sampler2D _MainTex; | ||
| 26 | +float _TextureWidth; | ||
| 27 | +#if UNITY_VERSION >= 530 | ||
| 28 | +uniform float4 _MainTex_ST2; | ||
| 29 | +#else | ||
| 30 | +uniform float4 _MainTex_ST; | ||
| 31 | +#endif | ||
| 32 | +float4 _MainTex_TexelSize; | ||
| 33 | + | ||
| 34 | +struct v2f { | ||
| 35 | + float4 pos : POSITION; | ||
| 36 | + float3 uv : TEXCOORD0; | ||
| 37 | +}; | ||
| 38 | + | ||
| 39 | +v2f vert( appdata_img v ) | ||
| 40 | +{ | ||
| 41 | + v2f o; | ||
| 42 | + o.pos = mul (UNITY_MATRIX_MVP, v.vertex); | ||
| 43 | + | ||
| 44 | +#if UNITY_VERSION >= 530 | ||
| 45 | + o.uv.xy = (v.texcoord.xy * _MainTex_ST2.xy + _MainTex_ST2.zw); | ||
| 46 | +#else | ||
| 47 | + o.uv.xy = TRANSFORM_TEX(v.texcoord, _MainTex); | ||
| 48 | +#endif | ||
| 49 | + | ||
| 50 | + // On D3D when AA is used, the main texture & scene depth texture | ||
| 51 | + // will come out in different vertical orientations. | ||
| 52 | + // So flip sampling of the texture when that is the case (main texture | ||
| 53 | + // texel size will have negative Y). | ||
| 54 | + #if SHADER_API_D3D9 | ||
| 55 | + if (_MainTex_TexelSize.y < 0) | ||
| 56 | + { | ||
| 57 | + o.uv.y = 1-o.uv.y; | ||
| 58 | + } | ||
| 59 | + #endif | ||
| 60 | + | ||
| 61 | + o.uv.z = v.vertex.x * _TextureWidth * 0.5; | ||
| 62 | + | ||
| 63 | + return o; | ||
| 64 | +} | ||
| 65 | + | ||
| 66 | +float4 frag (v2f i) : COLOR | ||
| 67 | +{ | ||
| 68 | + float4 col = tex2D(_MainTex, i.uv.xy); | ||
| 69 | +#if defined(SWAP_RED_BLUE_ON) | ||
| 70 | + col = col.bgra; | ||
| 71 | +#endif | ||
| 72 | + | ||
| 73 | + //uyvy | ||
| 74 | + float y = col.y; | ||
| 75 | + float u = col.x; | ||
| 76 | + float v = col.z; | ||
| 77 | + | ||
| 78 | + if (frac(i.uv.z) > 0.5 ) | ||
| 79 | + { | ||
| 80 | + // ODD PIXELS | ||
| 81 | + y = col.w; | ||
| 82 | + | ||
| 83 | + /* | ||
| 84 | + float4 col2 = tex2D(_MainTex, uv.xy + float2(_MainTex_TexelSize.x, 0.0)); | ||
| 85 | +#if defined(SWAP_RED_BLUE_ON) | ||
| 86 | + col2 = col2.bgra; | ||
| 87 | +#endif | ||
| 88 | + u = (col.x + col2.x) * 0.5; | ||
| 89 | + v = (col.z + col2.z) * 0.5;*/ | ||
| 90 | + } | ||
| 91 | + | ||
| 92 | + float4 oCol = convertYUV(y, u, v); | ||
| 93 | + | ||
| 94 | + return oCol; | ||
| 95 | +} | ||
| 96 | +ENDCG | ||
| 97 | + } | ||
| 98 | + } | ||
| 99 | + | ||
| 100 | + FallBack Off | ||
| 101 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +Shader "Hidden/AVProWindowsMedia/CompositeYUY2_2_RGBA" | ||
| 2 | +{ | ||
| 3 | + Properties | ||
| 4 | + { | ||
| 5 | + _MainTex ("Base (RGB)", 2D) = "white" {} | ||
| 6 | + _TextureWidth ("Texure Width", Float) = 256.0 | ||
| 7 | + } | ||
| 8 | + SubShader | ||
| 9 | + { | ||
| 10 | + Pass | ||
| 11 | + { | ||
| 12 | + ZTest Always Cull Off ZWrite Off | ||
| 13 | + Fog { Mode off } | ||
| 14 | + | ||
| 15 | +CGPROGRAM | ||
| 16 | +#pragma vertex vert | ||
| 17 | +#pragma fragment frag | ||
| 18 | +#pragma exclude_renderers flash xbox360 ps3 gles | ||
| 19 | +//#pragma fragmentoption ARB_precision_hint_fastest | ||
| 20 | +#pragma fragmentoption ARB_precision_hint_nicest | ||
| 21 | +#pragma multi_compile SWAP_RED_BLUE_ON SWAP_RED_BLUE_OFF | ||
| 22 | +#include "AVProWindowsMedia_Shared.cginc" | ||
| 23 | +#include "UnityCG.cginc" | ||
| 24 | + | ||
| 25 | +uniform sampler2D _MainTex; | ||
| 26 | +float _TextureWidth; | ||
| 27 | +#if UNITY_VERSION >= 530 | ||
| 28 | +uniform float4 _MainTex_ST2; | ||
| 29 | +#else | ||
| 30 | +uniform float4 _MainTex_ST; | ||
| 31 | +#endif | ||
| 32 | +float4 _MainTex_TexelSize; | ||
| 33 | + | ||
| 34 | +struct v2f { | ||
| 35 | + float4 pos : POSITION; | ||
| 36 | + float3 uv : TEXCOORD0; | ||
| 37 | +}; | ||
| 38 | + | ||
| 39 | +v2f vert( appdata_img v ) | ||
| 40 | +{ | ||
| 41 | + v2f o; | ||
| 42 | + o.pos = mul (UNITY_MATRIX_MVP, v.vertex); | ||
| 43 | + | ||
| 44 | +#if UNITY_VERSION >= 530 | ||
| 45 | + o.uv.xy = (v.texcoord.xy * _MainTex_ST2.xy + _MainTex_ST2.zw); | ||
| 46 | +#else | ||
| 47 | + o.uv.xy = TRANSFORM_TEX(v.texcoord, _MainTex); | ||
| 48 | +#endif | ||
| 49 | + | ||
| 50 | + // On D3D when AA is used, the main texture & scene depth texture | ||
| 51 | + // will come out in different vertical orientations. | ||
| 52 | + // So flip sampling of the texture when that is the case (main texture | ||
| 53 | + // texel size will have negative Y). | ||
| 54 | + #if SHADER_API_D3D9 | ||
| 55 | + if (_MainTex_TexelSize.y < 0) | ||
| 56 | + { | ||
| 57 | + o.uv.y = 1-o.uv.y; | ||
| 58 | + } | ||
| 59 | + #endif | ||
| 60 | + | ||
| 61 | + o.uv.z = v.vertex.x * _TextureWidth * 0.5; | ||
| 62 | + | ||
| 63 | + return o; | ||
| 64 | +} | ||
| 65 | + | ||
| 66 | +float4 frag (v2f i) : COLOR | ||
| 67 | +{ | ||
| 68 | + float4 col = tex2D(_MainTex, i.uv.xy); | ||
| 69 | +#if defined(SWAP_RED_BLUE_ON) | ||
| 70 | + col = col.bgra; | ||
| 71 | +#endif | ||
| 72 | + | ||
| 73 | + // yuyv | ||
| 74 | + float y = col.z; | ||
| 75 | + float u = col.w; | ||
| 76 | + float v = col.y; | ||
| 77 | + | ||
| 78 | + if (frac(i.uv.z) > 0.5 ) | ||
| 79 | + { | ||
| 80 | + y = col.x; | ||
| 81 | + | ||
| 82 | + /*float4 col2 = tex2D(_MainTex, uv.xy + float2(_MainTex_TexelSize.x, 0.0)); | ||
| 83 | +#if defined(SWAP_RED_BLUE_ON) | ||
| 84 | + col2 = col2.bgra; | ||
| 85 | +#endif | ||
| 86 | + u = (col.y + col2.y) * 0.5; | ||
| 87 | + v = (col.w + col2.w) * 0.5;*/ | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + float4 oCol = convertYUV(y, u, v); | ||
| 91 | + | ||
| 92 | + return oCol; | ||
| 93 | +} | ||
| 94 | + | ||
| 95 | +ENDCG | ||
| 96 | + } | ||
| 97 | + } | ||
| 98 | + | ||
| 99 | + FallBack Off | ||
| 100 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +Shader "Hidden/AVProWindowsMedia/CompositeYUY2709_2_RGBA" | ||
| 2 | +{ | ||
| 3 | + Properties | ||
| 4 | + { | ||
| 5 | + _MainTex ("Base (RGB)", 2D) = "white" {} | ||
| 6 | + _TextureWidth ("Texure Width", Float) = 256.0 | ||
| 7 | + } | ||
| 8 | + SubShader | ||
| 9 | + { | ||
| 10 | + Pass | ||
| 11 | + { | ||
| 12 | + ZTest Always Cull Off ZWrite Off | ||
| 13 | + Fog { Mode off } | ||
| 14 | + | ||
| 15 | +CGPROGRAM | ||
| 16 | +#pragma vertex vert | ||
| 17 | +#pragma fragment frag | ||
| 18 | +#pragma exclude_renderers flash xbox360 ps3 gles | ||
| 19 | +//#pragma fragmentoption ARB_precision_hint_fastest | ||
| 20 | +#pragma fragmentoption ARB_precision_hint_nicest | ||
| 21 | +#pragma multi_compile SWAP_RED_BLUE_ON SWAP_RED_BLUE_OFF | ||
| 22 | +#pragma multi_compile AVPRO_GAMMACORRECTION AVPRO_GAMMACORRECTION_OFF | ||
| 23 | +#include "AVProWindowsMedia_Shared.cginc" | ||
| 24 | +#include "UnityCG.cginc" | ||
| 25 | + | ||
| 26 | +uniform sampler2D _MainTex; | ||
| 27 | +float _TextureWidth; | ||
| 28 | +#if UNITY_VERSION >= 530 | ||
| 29 | +uniform float4 _MainTex_ST2; | ||
| 30 | +#else | ||
| 31 | +uniform float4 _MainTex_ST; | ||
| 32 | +#endif | ||
| 33 | +float4 _MainTex_TexelSize; | ||
| 34 | + | ||
| 35 | +struct v2f { | ||
| 36 | + float4 pos : POSITION; | ||
| 37 | + float3 uv : TEXCOORD0; | ||
| 38 | +}; | ||
| 39 | + | ||
| 40 | +v2f vert( appdata_img v ) | ||
| 41 | +{ | ||
| 42 | + v2f o; | ||
| 43 | + o.pos = mul (UNITY_MATRIX_MVP, v.vertex); | ||
| 44 | + | ||
| 45 | +#if UNITY_VERSION >= 530 | ||
| 46 | + o.uv.xy = (v.texcoord.xy * _MainTex_ST2.xy + _MainTex_ST2.zw); | ||
| 47 | +#else | ||
| 48 | + o.uv.xy = TRANSFORM_TEX(v.texcoord, _MainTex); | ||
| 49 | +#endif | ||
| 50 | + | ||
| 51 | + // On D3D when AA is used, the main texture & scene depth texture | ||
| 52 | + // will come out in different vertical orientations. | ||
| 53 | + // So flip sampling of the texture when that is the case (main texture | ||
| 54 | + // texel size will have negative Y). | ||
| 55 | + #if SHADER_API_D3D9 | ||
| 56 | + if (_MainTex_TexelSize.y < 0) | ||
| 57 | + { | ||
| 58 | + o.uv.y = 1-o.uv.y; | ||
| 59 | + } | ||
| 60 | + #endif | ||
| 61 | + | ||
| 62 | + o.uv.z = v.vertex.x * _TextureWidth * 0.5; | ||
| 63 | + | ||
| 64 | + | ||
| 65 | + return o; | ||
| 66 | +} | ||
| 67 | + | ||
| 68 | +float4 frag (v2f i) : COLOR | ||
| 69 | +{ | ||
| 70 | + float4 col = tex2D(_MainTex, i.uv.xy); | ||
| 71 | +#if defined(SWAP_RED_BLUE_ON) | ||
| 72 | + col = col.bgra; | ||
| 73 | +#endif | ||
| 74 | + | ||
| 75 | + // yuyv | ||
| 76 | + float y = col.z; | ||
| 77 | + float u = col.w; | ||
| 78 | + float v = col.y; | ||
| 79 | + | ||
| 80 | + if (frac(i.uv.z) > 0.5 ) | ||
| 81 | + { | ||
| 82 | + y = col.x; | ||
| 83 | + | ||
| 84 | + /* | ||
| 85 | + float4 col2 = tex2D(_MainTex, uv.xy + float2(_MainTex_TexelSize.x, 0.0)); | ||
| 86 | +#if defined(SWAP_RED_BLUE_ON) | ||
| 87 | + //col2 = col2.bgra; | ||
| 88 | +#endif | ||
| 89 | + u = (col.y + col2.y) * 0.5; | ||
| 90 | + v = (col.w + col2.w) * 0.5;*/ | ||
| 91 | + } | ||
| 92 | + | ||
| 93 | + float4 oCol = convertYUV_HD(y, u, v); | ||
| 94 | + | ||
| 95 | +#if defined(AVPRO_GAMMACORRECTION) | ||
| 96 | + oCol = pow(oCol, 2.2); | ||
| 97 | +#endif | ||
| 98 | + | ||
| 99 | + return oCol; | ||
| 100 | +} | ||
| 101 | + | ||
| 102 | +ENDCG | ||
| 103 | + } | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + FallBack Off | ||
| 107 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +Shader "Hidden/AVProWindowsMedia/CompositeYVYU_2_RGBA" | ||
| 2 | +{ | ||
| 3 | + Properties | ||
| 4 | + { | ||
| 5 | + _MainTex ("Base (RGB)", 2D) = "white" {} | ||
| 6 | + _TextureWidth ("Texure Width", Float) = 256.0 | ||
| 7 | + } | ||
| 8 | + SubShader | ||
| 9 | + { | ||
| 10 | + Pass | ||
| 11 | + { | ||
| 12 | + ZTest Always Cull Off ZWrite Off | ||
| 13 | + Fog { Mode off } | ||
| 14 | + | ||
| 15 | +CGPROGRAM | ||
| 16 | +#pragma vertex vert | ||
| 17 | +#pragma fragment frag | ||
| 18 | +#pragma exclude_renderers flash xbox360 ps3 gles | ||
| 19 | +//#pragma fragmentoption ARB_precision_hint_fastest | ||
| 20 | +#pragma fragmentoption ARB_precision_hint_nicest | ||
| 21 | +#pragma multi_compile SWAP_RED_BLUE_ON SWAP_RED_BLUE_OFF | ||
| 22 | +#include "AVProWindowsMedia_Shared.cginc" | ||
| 23 | +#include "UnityCG.cginc" | ||
| 24 | + | ||
| 25 | +uniform sampler2D _MainTex; | ||
| 26 | +float _TextureWidth; | ||
| 27 | +#if UNITY_VERSION >= 530 | ||
| 28 | +uniform float4 _MainTex_ST2; | ||
| 29 | +#else | ||
| 30 | +uniform float4 _MainTex_ST; | ||
| 31 | +#endif | ||
| 32 | +float4 _MainTex_TexelSize; | ||
| 33 | + | ||
| 34 | +struct v2f { | ||
| 35 | + float4 pos : POSITION; | ||
| 36 | + float3 uv : TEXCOORD0; | ||
| 37 | +}; | ||
| 38 | + | ||
| 39 | +v2f vert( appdata_img v ) | ||
| 40 | +{ | ||
| 41 | + v2f o; | ||
| 42 | + o.pos = mul (UNITY_MATRIX_MVP, v.vertex); | ||
| 43 | + | ||
| 44 | +#if UNITY_VERSION >= 530 | ||
| 45 | + o.uv.xy = (v.texcoord.xy * _MainTex_ST2.xy + _MainTex_ST2.zw); | ||
| 46 | +#else | ||
| 47 | + o.uv.xy = TRANSFORM_TEX(v.texcoord, _MainTex); | ||
| 48 | +#endif | ||
| 49 | + | ||
| 50 | + // On D3D when AA is used, the main texture & scene depth texture | ||
| 51 | + // will come out in different vertical orientations. | ||
| 52 | + // So flip sampling of the texture when that is the case (main texture | ||
| 53 | + // texel size will have negative Y). | ||
| 54 | + #if SHADER_API_D3D9 | ||
| 55 | + if (_MainTex_TexelSize.y < 0) | ||
| 56 | + { | ||
| 57 | + o.uv.y = 1-o.uv.y; | ||
| 58 | + } | ||
| 59 | + #endif | ||
| 60 | + | ||
| 61 | + o.uv.z = v.vertex.x * _TextureWidth * 0.5; | ||
| 62 | + | ||
| 63 | + return o; | ||
| 64 | +} | ||
| 65 | + | ||
| 66 | +float4 frag (v2f i) : COLOR | ||
| 67 | +{ | ||
| 68 | + float4 col = tex2D(_MainTex, i.uv.xy); | ||
| 69 | +#if defined(SWAP_RED_BLUE_ON) | ||
| 70 | + col = col.bgra; | ||
| 71 | +#endif | ||
| 72 | + | ||
| 73 | + //yvyu | ||
| 74 | + float y = col.x; | ||
| 75 | + float u = col.w; | ||
| 76 | + float v = col.y; | ||
| 77 | + | ||
| 78 | + if (frac(i.uv.z) > 0.5 ) | ||
| 79 | + { | ||
| 80 | + // ODD PIXELS | ||
| 81 | + y = col.z; | ||
| 82 | + | ||
| 83 | + /* | ||
| 84 | + float4 col2 = tex2D(_MainTex, uv.xy + float2(_MainTex_TexelSize.x, 0.0)); | ||
| 85 | +#if defined(SWAP_RED_BLUE_ON) | ||
| 86 | + col2 = col2.bgra; | ||
| 87 | +#endif | ||
| 88 | + u = (col.w + col2.w) * 0.5; | ||
| 89 | + v = (col.y + col2.y) * 0.5;*/ | ||
| 90 | + } | ||
| 91 | + | ||
| 92 | + float4 oCol = convertYUV(y, u, v); | ||
| 93 | + | ||
| 94 | + return oCol; | ||
| 95 | +} | ||
| 96 | +ENDCG | ||
| 97 | + } | ||
| 98 | + } | ||
| 99 | + | ||
| 100 | + FallBack Off | ||
| 101 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
Assets/Packages/AVProWindowsMedia/Scripts/Components/AVProWindowsMediaApplyUITextureNGUI.cs
0 → 100644
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | + | ||
| 4 | +//----------------------------------------------------------------------------- | ||
| 5 | +// Copyright 2012-2016 RenderHeads Ltd. All rights reserved. | ||
| 6 | +//----------------------------------------------------------------------------- | ||
| 7 | + | ||
| 8 | +#if NGUI | ||
| 9 | +[AddComponentMenu("AVPro Windows Media/Apply to NGUI UITexture")] | ||
| 10 | +public class AVProWindowsMediaApplyUITextureNGUI : MonoBehaviour | ||
| 11 | +{ | ||
| 12 | + public UITexture _uiTexture; | ||
| 13 | + public AVProWindowsMediaMovie _movie; | ||
| 14 | + public Texture2D _defaultTexture; | ||
| 15 | + private AVProWindowsMediaMovie _currentMovie; | ||
| 16 | + private static Texture2D _blackTexture; | ||
| 17 | + [SerializeField] bool _makePixelPerfect = false; | ||
| 18 | + | ||
| 19 | + void Awake() | ||
| 20 | + { | ||
| 21 | + if (_blackTexture == null) | ||
| 22 | + CreateTexture(); | ||
| 23 | + } | ||
| 24 | + | ||
| 25 | + void Start() | ||
| 26 | + { | ||
| 27 | + if (_defaultTexture == null) | ||
| 28 | + { | ||
| 29 | + _defaultTexture = _blackTexture; | ||
| 30 | + } | ||
| 31 | + | ||
| 32 | + Update(); | ||
| 33 | + } | ||
| 34 | + | ||
| 35 | + public void SetNextMovie(AVProWindowsMediaMovie movie) | ||
| 36 | + { | ||
| 37 | + _movie = movie; | ||
| 38 | + Update(); | ||
| 39 | + } | ||
| 40 | + | ||
| 41 | + void Update() | ||
| 42 | + { | ||
| 43 | + if (_movie != null) | ||
| 44 | + { | ||
| 45 | + if (_movie.OutputTexture != null) | ||
| 46 | + { | ||
| 47 | + _currentMovie = _movie; | ||
| 48 | + | ||
| 49 | + if (_movie.MovieInstance.RequiresFlipY) | ||
| 50 | + _uiTexture.flip = UITexture.Flip.Vertically; | ||
| 51 | + | ||
| 52 | + if (_makePixelPerfect) | ||
| 53 | + { | ||
| 54 | + _currentMovie.OutputTexture.filterMode = FilterMode.Point; | ||
| 55 | + _uiTexture.mainTexture = _currentMovie.OutputTexture; | ||
| 56 | + _uiTexture.MakePixelPerfect(); | ||
| 57 | + } | ||
| 58 | + else | ||
| 59 | + { | ||
| 60 | + _uiTexture.mainTexture = _currentMovie.OutputTexture; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + } | ||
| 64 | + } | ||
| 65 | + else | ||
| 66 | + { | ||
| 67 | + _currentMovie = null; | ||
| 68 | + _uiTexture.mainTexture = _defaultTexture; | ||
| 69 | + } | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + public void OnDisable() | ||
| 73 | + { | ||
| 74 | + //_uiTexture.mainTexture = null; | ||
| 75 | + //_currentMovie = null; | ||
| 76 | + } | ||
| 77 | + | ||
| 78 | + void OnDestroy() | ||
| 79 | + { | ||
| 80 | + _defaultTexture = null; | ||
| 81 | + | ||
| 82 | + if (_blackTexture != null) | ||
| 83 | + { | ||
| 84 | + Texture2D.Destroy(_blackTexture); | ||
| 85 | + _blackTexture = null; | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + _uiTexture.mainTexture = null; | ||
| 89 | + } | ||
| 90 | + | ||
| 91 | + private static void CreateTexture() | ||
| 92 | + { | ||
| 93 | + _blackTexture = new Texture2D(1, 1, TextureFormat.ARGB32, false, false); | ||
| 94 | + _blackTexture.name = "AVProWindowsMedia-BlackTexture"; | ||
| 95 | + _blackTexture.filterMode = FilterMode.Point; | ||
| 96 | + _blackTexture.wrapMode = TextureWrapMode.Clamp; | ||
| 97 | + _blackTexture.SetPixel(0, 0, Color.black); | ||
| 98 | + _blackTexture.Apply(false, true); | ||
| 99 | + } | ||
| 100 | +} | ||
| 101 | +#endif | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
Assets/Packages/AVProWindowsMedia/Scripts/Components/AVProWindowsMediaControlPlayOnEnable.cs
0 → 100644
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | + | ||
| 4 | +//----------------------------------------------------------------------------- | ||
| 5 | +// Copyright 2012-2016 RenderHeads Ltd. All rights reserved. | ||
| 6 | +//----------------------------------------------------------------------------- | ||
| 7 | + | ||
| 8 | +public class AVProWindowsMediaControlPlayOnEnable : MonoBehaviour | ||
| 9 | +{ | ||
| 10 | + public AVProWindowsMediaMovie _movie; | ||
| 11 | + public bool _rewindOnDisable; | ||
| 12 | + public int _minFrame = -1; | ||
| 13 | + public int _maxFrame = -1; | ||
| 14 | + public bool _loop; | ||
| 15 | + | ||
| 16 | + public bool _enableLoopWhenInRange; | ||
| 17 | + | ||
| 18 | + // TODO: video sequencer | ||
| 19 | + // play until frame 50 | ||
| 20 | + // wait | ||
| 21 | + // play range 30-40 looped, with pause of 5 seconds | ||
| 22 | + // pause | ||
| 23 | + | ||
| 24 | + /* | ||
| 25 | + void Update() | ||
| 26 | + { | ||
| 27 | + if (_loop) | ||
| 28 | + { | ||
| 29 | + if (_movie.MovieInstance != null) | ||
| 30 | + { | ||
| 31 | + if (_movie.MovieInstance.DisplayFrame >= _maxFrame) | ||
| 32 | + { | ||
| 33 | + _movie.MovieInstance.PositionFrames = (uint)_minFrame; | ||
| 34 | + } | ||
| 35 | + } | ||
| 36 | + } | ||
| 37 | + }*/ | ||
| 38 | + | ||
| 39 | + void OnEnable() | ||
| 40 | + { | ||
| 41 | + if (!_enableLoopWhenInRange) | ||
| 42 | + { | ||
| 43 | + if (_movie.MovieInstance != null) | ||
| 44 | + { | ||
| 45 | + _movie.MovieInstance.SetFrameRange(_minFrame, _maxFrame); | ||
| 46 | + } | ||
| 47 | + } | ||
| 48 | + else | ||
| 49 | + { | ||
| 50 | + _movie._loop = true; | ||
| 51 | + } | ||
| 52 | + _movie.Play(); | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + void Update() | ||
| 56 | + { | ||
| 57 | + if (_enableLoopWhenInRange) | ||
| 58 | + { | ||
| 59 | + if (_movie.MovieInstance != null && _movie.MovieInstance.IsPlaying) | ||
| 60 | + { | ||
| 61 | + if (!_loop) | ||
| 62 | + { | ||
| 63 | + if (_movie.MovieInstance.DisplayFrame >= _minFrame) | ||
| 64 | + { | ||
| 65 | + _movie.MovieInstance.SetFrameRange(_minFrame, _maxFrame); | ||
| 66 | + _loop = true; | ||
| 67 | + } | ||
| 68 | + } | ||
| 69 | + else | ||
| 70 | + { | ||
| 71 | + if (_movie.MovieInstance.DisplayFrame >= _maxFrame) | ||
| 72 | + { | ||
| 73 | + _movie.MovieInstance.PositionFrames = (uint)_minFrame+1; | ||
| 74 | + } | ||
| 75 | + } | ||
| 76 | + } | ||
| 77 | + } | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + void OnDisable() | ||
| 81 | + { | ||
| 82 | + if (_enableLoopWhenInRange) | ||
| 83 | + { | ||
| 84 | + _loop = false; | ||
| 85 | + if (_movie.MovieInstance != null) | ||
| 86 | + { | ||
| 87 | + _movie.MovieInstance.SetFrameRange(-1, -1); | ||
| 88 | + } | ||
| 89 | + } | ||
| 90 | + | ||
| 91 | + if (_rewindOnDisable) | ||
| 92 | + { | ||
| 93 | + if (_movie.MovieInstance != null) | ||
| 94 | + { | ||
| 95 | + if (_movie.MovieInstance.IsPlaying) | ||
| 96 | + _movie.Pause(); | ||
| 97 | + if (_movie.MovieInstance.DisplayFrame > 1) | ||
| 98 | + _movie.MovieInstance.Rewind(); | ||
| 99 | + | ||
| 100 | + //AVProWindowsMediaPlugin.FlushFrameBuffers(_movie.MovieInstance.Handle); | ||
| 101 | + } | ||
| 102 | + } | ||
| 103 | + } | ||
| 104 | +} |
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | + | ||
| 4 | +//----------------------------------------------------------------------------- | ||
| 5 | +// Copyright 2012-2016 RenderHeads Ltd. All rights reserved. | ||
| 6 | +//----------------------------------------------------------------------------- | ||
| 7 | + | ||
| 8 | +[AddComponentMenu("AVPro Windows Media/IMGUI Display")] | ||
| 9 | +[ExecuteInEditMode] | ||
| 10 | +public class AVProWindowsMediaGUIDisplay : MonoBehaviour | ||
| 11 | +{ | ||
| 12 | + public AVProWindowsMediaMovie _movie; | ||
| 13 | + | ||
| 14 | + public ScaleMode _scaleMode = ScaleMode.ScaleToFit; | ||
| 15 | + public Color _color = Color.white; | ||
| 16 | + public bool _alphaBlend = false; | ||
| 17 | + | ||
| 18 | + public bool _fullScreen = true; | ||
| 19 | + public int _depth = 0; | ||
| 20 | + public float _x = 0.0f; | ||
| 21 | + public float _y = 0.0f; | ||
| 22 | + public float _width = 1.0f; | ||
| 23 | + public float _height = 1.0f; | ||
| 24 | + | ||
| 25 | + //------------------------------------------------------------------------- | ||
| 26 | + | ||
| 27 | + public void OnGUI() | ||
| 28 | + { | ||
| 29 | + if (_movie == null) | ||
| 30 | + return; | ||
| 31 | + | ||
| 32 | + if (_movie.OutputTexture != null) | ||
| 33 | + { | ||
| 34 | + if (!_alphaBlend || _color.a > 0) | ||
| 35 | + { | ||
| 36 | + GUI.depth = _depth; | ||
| 37 | + GUI.color = _color; | ||
| 38 | + | ||
| 39 | + Rect rect = GetRect(); | ||
| 40 | + | ||
| 41 | + Material conversionMaterial = _movie.MovieInstance.GetConversionMaterial(); | ||
| 42 | + | ||
| 43 | + if (conversionMaterial == null) | ||
| 44 | + { | ||
| 45 | + if (_movie.MovieInstance.RequiresFlipY) | ||
| 46 | + { | ||
| 47 | + GUIUtility.ScaleAroundPivot(new Vector2(1f, -1f), new Vector2(0, rect.y + (rect.height / 2))); | ||
| 48 | + //Matrix4x4 offset = Matrix4x4.TRS(new Vector3(0f, -rect.height / 2, 0f), Quaternion.identity, Vector3.one); | ||
| 49 | + //GUI.matrix = Matrix4x4.TRS(new Vector3(0f, rect.height / 2, 0f), Quaternion.identity, new Vector3(1f, -1f, 1f)) * offset; | ||
| 50 | + //rect.height = -rect.height; | ||
| 51 | + //rect.width = -rect.width; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + GUI.DrawTexture(rect, _movie.OutputTexture, _scaleMode, _alphaBlend); | ||
| 55 | + } | ||
| 56 | + else | ||
| 57 | + { | ||
| 58 | + if (Event.current.type.Equals(EventType.Repaint)) | ||
| 59 | + { | ||
| 60 | + //Graphics.DrawTexture(rect, _movie.OutputTexture, conversionMaterial); | ||
| 61 | + } | ||
| 62 | + } | ||
| 63 | + } | ||
| 64 | + } | ||
| 65 | + } | ||
| 66 | + | ||
| 67 | + public Rect GetRect() | ||
| 68 | + { | ||
| 69 | + Rect rect; | ||
| 70 | + if (_fullScreen) | ||
| 71 | + rect = new Rect(0.0f, 0.0f, Screen.width, Screen.height); | ||
| 72 | + else | ||
| 73 | + rect = new Rect(_x * (Screen.width-1), _y * (Screen.height-1), _width * Screen.width, _height * Screen.height); | ||
| 74 | + | ||
| 75 | + return rect; | ||
| 76 | + } | ||
| 77 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +// Support for using externally created native textures, from Unity 4.2 upwards | ||
| 2 | +#if UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_4_7 || UNITY_4_8 || UNITY_5 | ||
| 3 | + #define AVPROWINDOWSMEDIA_UNITYFEATURE_EXTERNALTEXTURES | ||
| 4 | +#endif | ||
| 5 | + | ||
| 6 | +using UnityEngine; | ||
| 7 | +using System.Collections.Generic; | ||
| 8 | +using System.Collections; | ||
| 9 | +using System.IO; | ||
| 10 | +using System; | ||
| 11 | +using System.Text; | ||
| 12 | +using System.Runtime.InteropServices; | ||
| 13 | + | ||
| 14 | +//----------------------------------------------------------------------------- | ||
| 15 | +// Copyright 2012-2016 RenderHeads Ltd. All rights reserved. | ||
| 16 | +//----------------------------------------------------------------------------- | ||
| 17 | + | ||
| 18 | +[AddComponentMenu("AVPro Windows Media/Manager (required)")] | ||
| 19 | +[ExecuteInEditMode] | ||
| 20 | +public class AVProWindowsMediaManager : MonoBehaviour | ||
| 21 | +{ | ||
| 22 | + private static AVProWindowsMediaManager _instance; | ||
| 23 | + | ||
| 24 | + public bool _logVideoLoads = true; | ||
| 25 | + | ||
| 26 | + // Format conversion | ||
| 27 | + private Shader _shaderBGRA32; | ||
| 28 | + private Shader _shaderYUY2; | ||
| 29 | + private Shader _shaderYUY2_709; | ||
| 30 | + private Shader _shaderUYVY; | ||
| 31 | + private Shader _shaderYVYU; | ||
| 32 | + private Shader _shaderHDYC; | ||
| 33 | + private Shader _shaderNV12; | ||
| 34 | + private Shader _shaderCopy; | ||
| 35 | + private Shader _shaderHap_YCoCg; | ||
| 36 | + | ||
| 37 | + private bool _isInitialised; | ||
| 38 | + [HideInInspector] public bool _useExternalTextures = false; | ||
| 39 | + | ||
| 40 | + //------------------------------------------------------------------------- | ||
| 41 | + | ||
| 42 | + public static AVProWindowsMediaManager Instance | ||
| 43 | + { | ||
| 44 | + get | ||
| 45 | + { | ||
| 46 | + if (_instance == null) | ||
| 47 | + { | ||
| 48 | + _instance = (AVProWindowsMediaManager)GameObject.FindObjectOfType(typeof(AVProWindowsMediaManager)); | ||
| 49 | + if (_instance == null) | ||
| 50 | + { | ||
| 51 | + Debug.LogWarning("AVProWindowsMediaManager component required - adding dynamically now"); | ||
| 52 | + GameObject go = new GameObject("AVProWindowsMediaManager"); | ||
| 53 | + _instance = go.AddComponent<AVProWindowsMediaManager>(); | ||
| 54 | + } | ||
| 55 | + } | ||
| 56 | + | ||
| 57 | + if (_instance == null) | ||
| 58 | + { | ||
| 59 | + Debug.LogError("AVProWindowsMediaManager component required"); | ||
| 60 | + } | ||
| 61 | + else | ||
| 62 | + { | ||
| 63 | + if (!_instance._isInitialised) | ||
| 64 | + _instance.Init(); | ||
| 65 | + } | ||
| 66 | + | ||
| 67 | + return _instance; | ||
| 68 | + } | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + //------------------------------------------------------------------------- | ||
| 72 | + | ||
| 73 | + void Awake() | ||
| 74 | + { | ||
| 75 | + if (!_isInitialised) | ||
| 76 | + { | ||
| 77 | + _instance = this; | ||
| 78 | + Init(); | ||
| 79 | + } | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + void OnDestroy() | ||
| 83 | + { | ||
| 84 | + Deinit(); | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + protected bool Init() | ||
| 88 | + { | ||
| 89 | + if (_isInitialised) | ||
| 90 | + return true; | ||
| 91 | + | ||
| 92 | + try | ||
| 93 | + { | ||
| 94 | + if (AVProWindowsMediaPlugin.Init()) | ||
| 95 | + { | ||
| 96 | + if (UnityEngine.Application.isPlaying) | ||
| 97 | + { | ||
| 98 | + Debug.Log("[AVProWindowsMedia] version " + AVProWindowsMediaPlugin.GetPluginVersion().ToString("F2") + " initialised"); | ||
| 99 | + } | ||
| 100 | + } | ||
| 101 | + else | ||
| 102 | + { | ||
| 103 | + Debug.LogError("[AVProWindowsMedia] failed to initialise."); | ||
| 104 | + this.enabled = false; | ||
| 105 | + Deinit(); | ||
| 106 | + return false; | ||
| 107 | + } | ||
| 108 | + } | ||
| 109 | + catch (System.DllNotFoundException e) | ||
| 110 | + { | ||
| 111 | + Debug.LogError("[AVProWindowsMedia] Unity couldn't find the DLL, did you move the 'Plugins' folder to the root of your project?"); | ||
| 112 | + throw e; | ||
| 113 | + } | ||
| 114 | + | ||
| 115 | + LoadShaders(); | ||
| 116 | + GetConversionMethod(); | ||
| 117 | + SetUnityFeatures(); | ||
| 118 | + | ||
| 119 | +// StartCoroutine("FinalRenderCapture"); | ||
| 120 | + _isInitialised = true; | ||
| 121 | + | ||
| 122 | + return _isInitialised; | ||
| 123 | + } | ||
| 124 | + | ||
| 125 | + private void SetUnityFeatures() | ||
| 126 | + { | ||
| 127 | +#if !AVPROWINDOWSMEDIA_UNITYFEATURE_EXTERNALTEXTURES | ||
| 128 | + _useExternalTextures = false; | ||
| 129 | +#endif | ||
| 130 | + AVProWindowsMediaPlugin.SetUnityFeatures(_useExternalTextures); | ||
| 131 | + } | ||
| 132 | + | ||
| 133 | + private void GetConversionMethod() | ||
| 134 | + { | ||
| 135 | + bool swapRedBlue = false; | ||
| 136 | + | ||
| 137 | + // TODO: perhaps we don't need to check for DX11 here? | ||
| 138 | + if (SystemInfo.graphicsDeviceVersion.StartsWith("Direct3D 11")) | ||
| 139 | + { | ||
| 140 | +#if UNITY_5 | ||
| 141 | + // DX11 has red and blue channels swapped around | ||
| 142 | + if (!SystemInfo.SupportsTextureFormat(TextureFormat.BGRA32)) | ||
| 143 | + swapRedBlue = true; | ||
| 144 | +#else | ||
| 145 | + swapRedBlue = true; | ||
| 146 | +#endif | ||
| 147 | + } | ||
| 148 | + | ||
| 149 | + if (swapRedBlue) | ||
| 150 | + { | ||
| 151 | + Shader.DisableKeyword("SWAP_RED_BLUE_OFF"); | ||
| 152 | + Shader.EnableKeyword("SWAP_RED_BLUE_ON"); | ||
| 153 | + } | ||
| 154 | + else | ||
| 155 | + { | ||
| 156 | + Shader.DisableKeyword("SWAP_RED_BLUE_ON"); | ||
| 157 | + Shader.EnableKeyword("SWAP_RED_BLUE_OFF"); | ||
| 158 | + } | ||
| 159 | + | ||
| 160 | + Shader.DisableKeyword("AVPRO_GAMMACORRECTION"); | ||
| 161 | + Shader.EnableKeyword("AVPRO_GAMMACORRECTION_OFF"); | ||
| 162 | + if (QualitySettings.activeColorSpace == ColorSpace.Linear) | ||
| 163 | + { | ||
| 164 | + Shader.DisableKeyword("AVPRO_GAMMACORRECTION_OFF"); | ||
| 165 | + Shader.EnableKeyword("AVPRO_GAMMACORRECTION"); | ||
| 166 | + } | ||
| 167 | + } | ||
| 168 | + | ||
| 169 | + private IEnumerator FinalRenderCapture() | ||
| 170 | + { | ||
| 171 | + while (Application.isPlaying) | ||
| 172 | + { | ||
| 173 | + int flags = AVProWindowsMediaPlugin.PluginID | (int)AVProWindowsMediaPlugin.PluginEvent.UpdateAllTextures; | ||
| 174 | +#if UNITY_5 && !UNITY_5_0 && !UNITY_5_1 | ||
| 175 | + GL.IssuePluginEvent(AVProWindowsMediaPlugin.GetRenderEventFunc(), flags); | ||
| 176 | +#else | ||
| 177 | + GL.IssuePluginEvent(flags); | ||
| 178 | +#endif | ||
| 179 | + | ||
| 180 | + yield return new WaitForEndOfFrame(); | ||
| 181 | + } | ||
| 182 | + } | ||
| 183 | + | ||
| 184 | + public void Update() | ||
| 185 | + { | ||
| 186 | +#if UNITY_EDITOR | ||
| 187 | + if (_instance == null) | ||
| 188 | + return; | ||
| 189 | +#endif | ||
| 190 | + int flags = AVProWindowsMediaPlugin.PluginID | (int)AVProWindowsMediaPlugin.PluginEvent.UpdateAllTextures; | ||
| 191 | +#if UNITY_5 && !UNITY_5_0 && !UNITY_5_1 | ||
| 192 | + GL.IssuePluginEvent(AVProWindowsMediaPlugin.GetRenderEventFunc(), flags); | ||
| 193 | +#else | ||
| 194 | + GL.IssuePluginEvent(flags); | ||
| 195 | +#endif | ||
| 196 | + } | ||
| 197 | + | ||
| 198 | + public void Deinit() | ||
| 199 | + { | ||
| 200 | + // Clean up any open movies | ||
| 201 | + AVProWindowsMediaMovie[] movies = (AVProWindowsMediaMovie[])FindObjectsOfType(typeof(AVProWindowsMediaMovie)); | ||
| 202 | + if (movies != null && movies.Length > 0) | ||
| 203 | + { | ||
| 204 | + for (int i = 0; i < movies.Length; i++) | ||
| 205 | + { | ||
| 206 | + movies[i].UnloadMovie(); | ||
| 207 | + } | ||
| 208 | + } | ||
| 209 | + | ||
| 210 | + _instance = null; | ||
| 211 | + _isInitialised = false; | ||
| 212 | + | ||
| 213 | + AVProWindowsMediaPlugin.Deinit(); | ||
| 214 | + } | ||
| 215 | + | ||
| 216 | + private void LoadShaders() | ||
| 217 | + { | ||
| 218 | + _shaderBGRA32 = Resources.Load<Shader>("AVProWindowsMedia_RAW_BGRA2RGBA"); | ||
| 219 | + _shaderYUY2 = Resources.Load<Shader>("AVProWindowsMedia_YUV_YUY22RGBA"); | ||
| 220 | + _shaderYUY2_709 = Resources.Load<Shader>("AVProWindowsMedia_YUV_YUY27092RGBA"); | ||
| 221 | + _shaderUYVY = Resources.Load<Shader>("AVProWindowsMedia_YUV_UYVY2RGBA"); | ||
| 222 | + _shaderYVYU = Resources.Load<Shader>("AVProWindowsMedia_YUV_YVYU2RGBA "); | ||
| 223 | + _shaderHDYC = Resources.Load<Shader>("AVProWindowsMedia_YUV_HDYC2RGBA"); | ||
| 224 | + _shaderNV12 = Resources.Load<Shader>("AVProWindowsMedia_YUV_NV12_709"); | ||
| 225 | + _shaderCopy = Resources.Load<Shader>("AVProWindowsMedia_Copy"); | ||
| 226 | + _shaderHap_YCoCg = Resources.Load<Shader>("AVProWindowsMedia_YCoCg2RGB"); | ||
| 227 | + } | ||
| 228 | + | ||
| 229 | + public Shader GetPixelConversionShader(AVProWindowsMediaPlugin.VideoFrameFormat format, bool useBT709) | ||
| 230 | + { | ||
| 231 | + Shader result = null; | ||
| 232 | + switch (format) | ||
| 233 | + { | ||
| 234 | + case AVProWindowsMediaPlugin.VideoFrameFormat.YUV_422_YUY2: | ||
| 235 | + result = _shaderYUY2; | ||
| 236 | + if (useBT709) | ||
| 237 | + result = _shaderYUY2_709; | ||
| 238 | + break; | ||
| 239 | + case AVProWindowsMediaPlugin.VideoFrameFormat.YUV_422_UYVY: | ||
| 240 | + result = _shaderUYVY; | ||
| 241 | + if (useBT709) | ||
| 242 | + result = _shaderHDYC; | ||
| 243 | + break; | ||
| 244 | + case AVProWindowsMediaPlugin.VideoFrameFormat.YUV_422_YVYU: | ||
| 245 | + result = _shaderYVYU; | ||
| 246 | + break; | ||
| 247 | + case AVProWindowsMediaPlugin.VideoFrameFormat.YUV_422_HDYC: | ||
| 248 | + result = _shaderHDYC; | ||
| 249 | + break; | ||
| 250 | + case AVProWindowsMediaPlugin.VideoFrameFormat.YUV_420_NV12: | ||
| 251 | + result = _shaderNV12; | ||
| 252 | + break; | ||
| 253 | + case AVProWindowsMediaPlugin.VideoFrameFormat.Hap_RGB: | ||
| 254 | + result = _shaderCopy; | ||
| 255 | + break; | ||
| 256 | + case AVProWindowsMediaPlugin.VideoFrameFormat.Hap_RGBA: | ||
| 257 | + result = _shaderCopy; | ||
| 258 | + break; | ||
| 259 | + case AVProWindowsMediaPlugin.VideoFrameFormat.Hap_RGB_HQ: | ||
| 260 | + result = _shaderHap_YCoCg; | ||
| 261 | + break; | ||
| 262 | + case AVProWindowsMediaPlugin.VideoFrameFormat.RAW_BGRA32: | ||
| 263 | + result= _shaderBGRA32; | ||
| 264 | + break; | ||
| 265 | + default: | ||
| 266 | + Debug.LogError("[AVProWindowsMedia] Unknown pixel format '" + format); | ||
| 267 | + break; | ||
| 268 | + } | ||
| 269 | + return result; | ||
| 270 | + } | ||
| 271 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +fileFormatVersion: 2 | ||
| 2 | +guid: e97ef6d0bfd7238498bb990e58ae4ca2 | ||
| 3 | +MonoImporter: | ||
| 4 | + serializedVersion: 2 | ||
| 5 | + defaultReferences: | ||
| 6 | + - _shaderBGRA32: {fileID: 4800000, guid: 54153bfcee26a5a41a36a1f8df5c57f0, type: 3} | ||
| 7 | + - _shaderYUY2: {fileID: 4800000, guid: 6f8163253615321489fa569080dfe952, type: 3} | ||
| 8 | + - _shaderYUY2_709: {fileID: 4800000, guid: f3f6c4afacdaf104191347034b98ff91, type: 3} | ||
| 9 | + - _shaderUYVY: {fileID: 4800000, guid: 9744c5dd73ed9c94c9eceef7ac7aecc4, type: 3} | ||
| 10 | + - _shaderYVYU: {fileID: 4800000, guid: 9aa12fce5f0c9dc4da6a63145e07e670, type: 3} | ||
| 11 | + - _shaderHDYC: {fileID: 4800000, guid: f8cd0810f12a29f498e6a882baead2f2, type: 3} | ||
| 12 | + - _shaderNV12: {fileID: 4800000, guid: dc73ab3804ec95941996e01f8dfec364, type: 3} | ||
| 13 | + - _shaderCopy: {fileID: 4800000, guid: 93940781996181b4f916e2699bef27ec, type: 3} | ||
| 14 | + - _shaderHap_YCoCg: {fileID: 4800000, guid: 7930bff2071f0ab438cf4bc6e354607a, type: 3} | ||
| 15 | + executionOrder: -1000 | ||
| 16 | + icon: {instanceID: 0} | ||
| 17 | + userData: | ||
| 18 | + assetBundleName: | ||
| 19 | + assetBundleVariant: |
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | + | ||
| 4 | +//----------------------------------------------------------------------------- | ||
| 5 | +// Copyright 2012-2016 RenderHeads Ltd. All rights reserverd. | ||
| 6 | +//----------------------------------------------------------------------------- | ||
| 7 | + | ||
| 8 | +[AddComponentMenu("AVPro Windows Media/Material Apply")] | ||
| 9 | +public class AVProWindowsMediaMaterialApply : MonoBehaviour | ||
| 10 | +{ | ||
| 11 | + public Material _material; | ||
| 12 | + public string _textureName; | ||
| 13 | + public AVProWindowsMediaMovie _movie; | ||
| 14 | + public Texture2D _defaultTexture; | ||
| 15 | + private Vector2 _scale = Vector2.one; | ||
| 16 | + private Vector2 _offset = Vector2.zero; | ||
| 17 | + private Texture _texture; | ||
| 18 | + | ||
| 19 | + void Update() | ||
| 20 | + { | ||
| 21 | + bool applied = false; | ||
| 22 | + if (_movie != null && _movie.MovieInstance != null) | ||
| 23 | + { | ||
| 24 | + Texture texture = _movie.OutputTexture; | ||
| 25 | + if (texture != null) | ||
| 26 | + { | ||
| 27 | + ApplyMapping(texture, _movie.MovieInstance.RequiresFlipY); | ||
| 28 | + applied = true; | ||
| 29 | + } | ||
| 30 | + } | ||
| 31 | + | ||
| 32 | + if (!applied) | ||
| 33 | + { | ||
| 34 | + ApplyMapping(_defaultTexture, false); | ||
| 35 | + } | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + private void ApplyMapping(Texture texture, bool requiresYFlip) | ||
| 39 | + { | ||
| 40 | + if (_material != null && texture != null) | ||
| 41 | + { | ||
| 42 | + Vector2 scale = _scale; | ||
| 43 | + Vector2 offset = _offset; | ||
| 44 | + if (requiresYFlip) | ||
| 45 | + { | ||
| 46 | + scale.Scale(new Vector2(1f, -1f)); | ||
| 47 | + offset.y += 1f; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + if (string.IsNullOrEmpty(_textureName)) | ||
| 51 | + { | ||
| 52 | + _material.mainTexture = texture; | ||
| 53 | + _material.mainTextureScale = scale; | ||
| 54 | + _material.mainTextureOffset = offset; | ||
| 55 | + } | ||
| 56 | + else | ||
| 57 | + { | ||
| 58 | + _material.SetTexture(_textureName, texture); | ||
| 59 | + _material.SetTextureScale(_textureName, scale); | ||
| 60 | + _material.SetTextureOffset(_textureName, offset); | ||
| 61 | + } | ||
| 62 | + } | ||
| 63 | + } | ||
| 64 | + | ||
| 65 | + void OnEnable() | ||
| 66 | + { | ||
| 67 | + if (_material != null) | ||
| 68 | + { | ||
| 69 | + _scale = _material.mainTextureScale; | ||
| 70 | + _offset = _material.mainTextureOffset; | ||
| 71 | + _texture = _material.mainTexture; | ||
| 72 | + } | ||
| 73 | + Update(); | ||
| 74 | + } | ||
| 75 | + | ||
| 76 | + void OnDisable() | ||
| 77 | + { | ||
| 78 | + ApplyMapping(_defaultTexture, false); | ||
| 79 | + if (_material != null) | ||
| 80 | + { | ||
| 81 | + _material.mainTextureScale = _scale; | ||
| 82 | + _material.mainTextureOffset = _offset; | ||
| 83 | + _material.mainTexture = _texture; | ||
| 84 | + } | ||
| 85 | + } | ||
| 86 | +} |
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | + | ||
| 4 | +//----------------------------------------------------------------------------- | ||
| 5 | +// Copyright 2012-2016 RenderHeads Ltd. All rights reserverd. | ||
| 6 | +//----------------------------------------------------------------------------- | ||
| 7 | + | ||
| 8 | +[AddComponentMenu("AVPro Windows Media/Mesh Apply")] | ||
| 9 | +public class AVProWindowsMediaMeshApply : MonoBehaviour | ||
| 10 | +{ | ||
| 11 | + public MeshRenderer _mesh; | ||
| 12 | + public AVProWindowsMediaMovie _movie; | ||
| 13 | + public Texture2D _defaultTexture; | ||
| 14 | + | ||
| 15 | + void Update() | ||
| 16 | + { | ||
| 17 | + bool applied = false; | ||
| 18 | + if (_movie != null && _movie.MovieInstance != null) | ||
| 19 | + { | ||
| 20 | + Texture texture = _movie.OutputTexture; | ||
| 21 | + if (texture != null) | ||
| 22 | + { | ||
| 23 | + ApplyMapping(texture, _movie.MovieInstance.RequiresFlipY); | ||
| 24 | + applied = true; | ||
| 25 | + } | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + if (!applied) | ||
| 29 | + { | ||
| 30 | + ApplyMapping(_defaultTexture, false); | ||
| 31 | + } | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + private void ApplyMapping(Texture texture, bool requiresYFlip) | ||
| 35 | + { | ||
| 36 | + if (_mesh != null && texture != null) | ||
| 37 | + { | ||
| 38 | + Vector2 scale = Vector2.one; | ||
| 39 | + Vector2 offset = Vector2.zero; | ||
| 40 | + if (requiresYFlip) | ||
| 41 | + { | ||
| 42 | + scale = new Vector2(1.0f, -1.0f); | ||
| 43 | + offset = new Vector3(0.0f, 1.0f); | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + foreach (Material m in _mesh.materials) | ||
| 47 | + { | ||
| 48 | + m.mainTexture = texture; | ||
| 49 | + m.mainTextureScale = scale; | ||
| 50 | + m.mainTextureOffset = offset; | ||
| 51 | + } | ||
| 52 | + } | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + void OnEnable() | ||
| 56 | + { | ||
| 57 | + Update(); | ||
| 58 | + } | ||
| 59 | + | ||
| 60 | + void OnDisable() | ||
| 61 | + { | ||
| 62 | + ApplyMapping(_defaultTexture, false); | ||
| 63 | + } | ||
| 64 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | +using System.Collections.Generic; | ||
| 4 | +using System.IO; | ||
| 5 | + | ||
| 6 | +//----------------------------------------------------------------------------- | ||
| 7 | +// Copyright 2012-2016 RenderHeads Ltd. All rights reserverd. | ||
| 8 | +//----------------------------------------------------------------------------- | ||
| 9 | + | ||
| 10 | +[System.Serializable] | ||
| 11 | +public class AVProWindowsMediaMovieClip | ||
| 12 | +{ | ||
| 13 | + public string name; | ||
| 14 | + public int inPoint = -1; | ||
| 15 | + public int outPoint = -1; | ||
| 16 | + | ||
| 17 | + public AVProWindowsMediaMovieClip(string name, int inPoint, int outPoint) | ||
| 18 | + { | ||
| 19 | + this.name = name; | ||
| 20 | + this.inPoint = inPoint; | ||
| 21 | + this.outPoint = outPoint; | ||
| 22 | + } | ||
| 23 | +} | ||
| 24 | + | ||
| 25 | +[AddComponentMenu("AVPro Windows Media/Movie")] | ||
| 26 | +[ExecuteInEditMode] | ||
| 27 | +public class AVProWindowsMediaMovie : MonoBehaviour | ||
| 28 | +{ | ||
| 29 | + protected AVProWindowsMedia _moviePlayer; | ||
| 30 | + public string _folder = "./"; | ||
| 31 | + public string _filename = "movie.avi"; | ||
| 32 | + public bool _useStreamingAssetsPath; | ||
| 33 | + public bool _loop = false; | ||
| 34 | + public ColourFormat _colourFormat = ColourFormat.YCbCr_HD; | ||
| 35 | + public bool _allowAudio = true; | ||
| 36 | + public bool _useAudioDelay = false; | ||
| 37 | + public bool _useAudioMixer = false; | ||
| 38 | + public bool _useDisplaySync = false; | ||
| 39 | + public bool _loadOnStart = true; | ||
| 40 | + public bool _playOnStart = true; | ||
| 41 | + public bool _editorPreview = false; | ||
| 42 | + public bool _ignoreFlips = true; | ||
| 43 | + public float _volume = 1.0f; | ||
| 44 | + public float _audioBalance = 0.0f; | ||
| 45 | + | ||
| 46 | + public FilterMode _textureFilterMode = FilterMode.Bilinear; | ||
| 47 | + public TextureWrapMode _textureWrapMode = TextureWrapMode.Clamp; | ||
| 48 | + | ||
| 49 | + [SerializeField] | ||
| 50 | + private List<AVProWindowsMediaMovieClip> _clips; | ||
| 51 | + private Dictionary<string, AVProWindowsMediaMovieClip> _clipLookup = new Dictionary<string, AVProWindowsMediaMovieClip>(); | ||
| 52 | + private AVProWindowsMediaMovieClip _currentClip; | ||
| 53 | + | ||
| 54 | + public enum ColourFormat | ||
| 55 | + { | ||
| 56 | + RGBA32, | ||
| 57 | + YCbCr_SD, | ||
| 58 | + YCbCr_HD, | ||
| 59 | + } | ||
| 60 | + | ||
| 61 | + public Texture OutputTexture | ||
| 62 | + { | ||
| 63 | + get { if (_moviePlayer != null) return _moviePlayer.OutputTexture; return null; } | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public AVProWindowsMedia MovieInstance | ||
| 67 | + { | ||
| 68 | + get { return _moviePlayer; } | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + public virtual void Start() | ||
| 72 | + { | ||
| 73 | +#if UNITY_EDITOR | ||
| 74 | + if (!Application.isPlaying) | ||
| 75 | + return; | ||
| 76 | +#endif | ||
| 77 | + | ||
| 78 | + if (null == AVProWindowsMediaManager.Instance) | ||
| 79 | + { | ||
| 80 | + throw new System.Exception("You need to add AVProWindowsMediaManager component to your scene."); | ||
| 81 | + } | ||
| 82 | + if (_loadOnStart) | ||
| 83 | + { | ||
| 84 | + LoadMovie(_playOnStart); | ||
| 85 | + } | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + public virtual bool LoadMovie(bool autoPlay) | ||
| 89 | + { | ||
| 90 | + bool result = true; | ||
| 91 | + | ||
| 92 | + if (_moviePlayer == null) | ||
| 93 | + _moviePlayer = new AVProWindowsMedia(); | ||
| 94 | + | ||
| 95 | + LoadClips(); | ||
| 96 | + | ||
| 97 | + bool allowNativeFormat = (_colourFormat != ColourFormat.RGBA32); | ||
| 98 | + | ||
| 99 | + string filePath = GetFilePath(); | ||
| 100 | + | ||
| 101 | + if (_moviePlayer.StartVideo(filePath, allowNativeFormat, _colourFormat == ColourFormat.YCbCr_HD, _allowAudio, _useAudioDelay, _useAudioMixer, _useDisplaySync, _ignoreFlips, _textureFilterMode, _textureWrapMode)) | ||
| 102 | + { | ||
| 103 | + if (_allowAudio) | ||
| 104 | + { | ||
| 105 | + _moviePlayer.Volume = _volume; | ||
| 106 | + _moviePlayer.AudioBalance = _audioBalance; | ||
| 107 | + } | ||
| 108 | + _moviePlayer.Loop = _loop; | ||
| 109 | + if (autoPlay) | ||
| 110 | + { | ||
| 111 | + _moviePlayer.Play(); | ||
| 112 | + } | ||
| 113 | + } | ||
| 114 | + else | ||
| 115 | + { | ||
| 116 | + Debug.LogWarning("[AVProWindowsMedia] Couldn't load movie " + _filename); | ||
| 117 | + UnloadMovie(); | ||
| 118 | + result = false; | ||
| 119 | + } | ||
| 120 | + | ||
| 121 | + return result; | ||
| 122 | + } | ||
| 123 | + | ||
| 124 | + public bool LoadMovieFromMemory(bool autoPlay, string name, System.IntPtr moviePointer, long movieLength, FilterMode textureFilterMode, TextureWrapMode textureWrapMode) | ||
| 125 | + { | ||
| 126 | + bool result = true; | ||
| 127 | + | ||
| 128 | + if (_moviePlayer == null) | ||
| 129 | + _moviePlayer = new AVProWindowsMedia(); | ||
| 130 | + | ||
| 131 | + bool allowNativeFormat = (_colourFormat != ColourFormat.RGBA32); | ||
| 132 | + | ||
| 133 | + if (_moviePlayer.StartVideoFromMemory(name, moviePointer, movieLength, allowNativeFormat, _colourFormat == ColourFormat.YCbCr_HD, _allowAudio, _useAudioDelay, _useAudioMixer, _useDisplaySync, _ignoreFlips, textureFilterMode, textureWrapMode)) | ||
| 134 | + { | ||
| 135 | + if (_allowAudio) | ||
| 136 | + { | ||
| 137 | + _moviePlayer.Volume = _volume; | ||
| 138 | + _moviePlayer.AudioBalance = _audioBalance; | ||
| 139 | + } | ||
| 140 | + _moviePlayer.Loop = _loop; | ||
| 141 | + if (autoPlay) | ||
| 142 | + { | ||
| 143 | + _moviePlayer.Play(); | ||
| 144 | + } | ||
| 145 | + } | ||
| 146 | + else | ||
| 147 | + { | ||
| 148 | + Debug.LogWarning("[AVProWindowsMedia] Couldn't load movie " + _filename); | ||
| 149 | + UnloadMovie(); | ||
| 150 | + result = false; | ||
| 151 | + } | ||
| 152 | + | ||
| 153 | + return result; | ||
| 154 | + } | ||
| 155 | + | ||
| 156 | + public void Update() | ||
| 157 | + { | ||
| 158 | + if (_moviePlayer != null) | ||
| 159 | + { | ||
| 160 | + _volume = Mathf.Clamp01(_volume); | ||
| 161 | + if (_allowAudio) | ||
| 162 | + { | ||
| 163 | + if (_volume != _moviePlayer.Volume) | ||
| 164 | + _moviePlayer.Volume = _volume; | ||
| 165 | + if (_audioBalance != _moviePlayer.AudioBalance) | ||
| 166 | + _moviePlayer.AudioBalance = _audioBalance; | ||
| 167 | + } | ||
| 168 | + | ||
| 169 | + if (_loop != _moviePlayer.Loop) | ||
| 170 | + _moviePlayer.Loop = _loop; | ||
| 171 | + | ||
| 172 | + _moviePlayer.Update(false); | ||
| 173 | + | ||
| 174 | + // When the movie finishes playing, send a message so it can be handled | ||
| 175 | + if (!_moviePlayer.Loop && _moviePlayer.IsPlaying && _moviePlayer.IsFinishedPlaying) | ||
| 176 | + { | ||
| 177 | + _moviePlayer.Pause(); | ||
| 178 | + this.SendMessage("MovieFinished", this, SendMessageOptions.DontRequireReceiver); | ||
| 179 | + } | ||
| 180 | + } | ||
| 181 | + } | ||
| 182 | + | ||
| 183 | + public void Play() | ||
| 184 | + { | ||
| 185 | + if (_moviePlayer != null) | ||
| 186 | + _moviePlayer.Play(); | ||
| 187 | + } | ||
| 188 | + | ||
| 189 | + public void Pause() | ||
| 190 | + { | ||
| 191 | + if (_moviePlayer != null) | ||
| 192 | + _moviePlayer.Pause(); | ||
| 193 | + } | ||
| 194 | + | ||
| 195 | + public int NumClips | ||
| 196 | + { | ||
| 197 | + get { if (_clips != null) return _clips.Count; return 0; } | ||
| 198 | + } | ||
| 199 | + | ||
| 200 | + public string GetClipName(int index) | ||
| 201 | + { | ||
| 202 | + string result = string.Empty; | ||
| 203 | + if (_clips != null && index >= 0 && index < _clips.Count) | ||
| 204 | + result = _clips[index].name; | ||
| 205 | + return result; | ||
| 206 | + } | ||
| 207 | + | ||
| 208 | + public void ClearClips() | ||
| 209 | + { | ||
| 210 | + _currentClip = null; | ||
| 211 | + _clips.Clear(); | ||
| 212 | + _clipLookup.Clear(); | ||
| 213 | + } | ||
| 214 | + | ||
| 215 | + public void AddClip(string name, int inPoint, int outPoint) | ||
| 216 | + { | ||
| 217 | + AVProWindowsMediaMovieClip clip = new AVProWindowsMediaMovieClip(name, inPoint, outPoint); | ||
| 218 | + _clips.Add(clip); | ||
| 219 | + _clipLookup.Add(name, clip); | ||
| 220 | + } | ||
| 221 | + | ||
| 222 | + public string GetCurrentClipName() | ||
| 223 | + { | ||
| 224 | + string result = string.Empty; | ||
| 225 | + if (_currentClip != null) | ||
| 226 | + result = _currentClip.name; | ||
| 227 | + return result; | ||
| 228 | + } | ||
| 229 | + | ||
| 230 | + public void LoadClips() | ||
| 231 | + { | ||
| 232 | + _clipLookup.Clear(); | ||
| 233 | + if (_clips != null && _clips.Count > 0) | ||
| 234 | + { | ||
| 235 | + for (int i = 0; i < _clips.Count; i++) | ||
| 236 | + { | ||
| 237 | + if (!string.IsNullOrEmpty(_clips[i].name)) | ||
| 238 | + { | ||
| 239 | + _clipLookup.Add(_clips[i].name, _clips[i]); | ||
| 240 | + } | ||
| 241 | + } | ||
| 242 | + } | ||
| 243 | + } | ||
| 244 | + public void ResetClip() | ||
| 245 | + { | ||
| 246 | + _currentClip = null; | ||
| 247 | + MovieInstance.SetFrameRange(-1, -1); | ||
| 248 | + } | ||
| 249 | + | ||
| 250 | + public void PlayClip(string name, bool loop, bool startPaused) | ||
| 251 | + { | ||
| 252 | + if (MovieInstance == null) | ||
| 253 | + throw new System.Exception("Movie instance is null"); | ||
| 254 | + if (!_clipLookup.ContainsKey(name)) | ||
| 255 | + throw new System.Exception("Frame range key not found"); | ||
| 256 | + | ||
| 257 | + MovieInstance.Loop = loop; | ||
| 258 | + _currentClip = _clipLookup[name]; | ||
| 259 | + MovieInstance.SetFrameRange(_currentClip.inPoint, _currentClip.outPoint); | ||
| 260 | + MovieInstance.PositionFrames = (uint)_currentClip.inPoint; | ||
| 261 | + if (!startPaused) | ||
| 262 | + MovieInstance.Play(); | ||
| 263 | + else | ||
| 264 | + MovieInstance.Pause(); | ||
| 265 | + } | ||
| 266 | + | ||
| 267 | + public virtual void UnloadMovie() | ||
| 268 | + { | ||
| 269 | + if (_moviePlayer != null) | ||
| 270 | + { | ||
| 271 | + _moviePlayer.Dispose(); | ||
| 272 | + _moviePlayer = null; | ||
| 273 | + } | ||
| 274 | + } | ||
| 275 | + | ||
| 276 | + public void OnDestroy() | ||
| 277 | + { | ||
| 278 | + UnloadMovie(); | ||
| 279 | + } | ||
| 280 | + | ||
| 281 | + public string GetFilePath() | ||
| 282 | + { | ||
| 283 | + string filePath = Path.Combine(_folder, _filename); | ||
| 284 | + | ||
| 285 | + if (_useStreamingAssetsPath) | ||
| 286 | + { | ||
| 287 | + filePath = Path.Combine(Application.streamingAssetsPath, filePath); | ||
| 288 | + } | ||
| 289 | + // If we're running outside of the editor we may need to resolve the relative path | ||
| 290 | + // as the working-directory may not be that of the application EXE. | ||
| 291 | + else if (!Application.isEditor && !Path.IsPathRooted(filePath)) | ||
| 292 | + { | ||
| 293 | + string rootPath = Path.GetFullPath(Path.Combine(Application.dataPath, "..")); | ||
| 294 | + filePath = Path.Combine(rootPath, filePath); | ||
| 295 | + } | ||
| 296 | + | ||
| 297 | + return filePath; | ||
| 298 | + } | ||
| 299 | + | ||
| 300 | +#if UNITY_EDITOR && !UNITY_WEBPLAYER | ||
| 301 | + [ContextMenu("Save PNG")] | ||
| 302 | + private void SavePNG() | ||
| 303 | + { | ||
| 304 | + if (OutputTexture != null && _moviePlayer != null) | ||
| 305 | + { | ||
| 306 | + Texture2D tex = new Texture2D(OutputTexture.width, OutputTexture.height, TextureFormat.ARGB32, false); | ||
| 307 | + RenderTexture.active = (RenderTexture)OutputTexture; | ||
| 308 | + tex.ReadPixels(new Rect(0, 0, tex.width, tex.height), 0, 0, false); | ||
| 309 | + tex.Apply(false, false); | ||
| 310 | + | ||
| 311 | + byte[] pngBytes = tex.EncodeToPNG(); | ||
| 312 | + System.IO.File.WriteAllBytes("AVProWindowsMedia-image" + Random.Range(0, 65536).ToString("X") + ".png", pngBytes); | ||
| 313 | + | ||
| 314 | + RenderTexture.active = null; | ||
| 315 | + Texture2D.Destroy(tex); | ||
| 316 | + tex = null; | ||
| 317 | + } | ||
| 318 | + } | ||
| 319 | +#endif | ||
| 320 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
Assets/Packages/AVProWindowsMedia/Scripts/Components/AVProWindowsMediaMovieFromResource.cs
0 → 100644
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | +using System.IO; | ||
| 4 | +using System.Runtime.InteropServices; | ||
| 5 | + | ||
| 6 | +//----------------------------------------------------------------------------- | ||
| 7 | +// Copyright 2012-2016 RenderHeads Ltd. All rights reserved. | ||
| 8 | +//----------------------------------------------------------------------------- | ||
| 9 | + | ||
| 10 | +[AddComponentMenu("AVPro Windows Media/Movie From Resource")] | ||
| 11 | +public class AVProWindowsMediaMovieFromResource : AVProWindowsMediaMovie | ||
| 12 | +{ | ||
| 13 | + private TextAsset _textAsset; | ||
| 14 | + private GCHandle _bytesHandle; | ||
| 15 | + | ||
| 16 | + public override void Start() | ||
| 17 | + { | ||
| 18 | +#if UNITY_EDITOR | ||
| 19 | + if (!Application.isPlaying) | ||
| 20 | + return; | ||
| 21 | +#endif | ||
| 22 | + | ||
| 23 | + if (null == AVProWindowsMediaManager.Instance) | ||
| 24 | + { | ||
| 25 | + throw new System.Exception("You need to add AVProWindowsMediaManager component to your scene."); | ||
| 26 | + } | ||
| 27 | + if (_loadOnStart) | ||
| 28 | + { | ||
| 29 | + LoadMovieFromResource(_playOnStart, _filename); | ||
| 30 | + } | ||
| 31 | + } | ||
| 32 | + | ||
| 33 | + public override bool LoadMovie(bool autoPlay) | ||
| 34 | + { | ||
| 35 | + return LoadMovieFromResource(autoPlay, _filename); | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public bool LoadMovieFromResource(bool autoPlay, string path) | ||
| 39 | + { | ||
| 40 | + bool result = false; | ||
| 41 | + | ||
| 42 | + UnloadMovie(); | ||
| 43 | + | ||
| 44 | + _textAsset = Resources.Load(path, typeof(TextAsset)) as TextAsset; | ||
| 45 | + if (_textAsset != null) | ||
| 46 | + { | ||
| 47 | + if (_textAsset.bytes != null && _textAsset.bytes.Length > 0) | ||
| 48 | + { | ||
| 49 | + _bytesHandle = GCHandle.Alloc(_textAsset.bytes, GCHandleType.Pinned); | ||
| 50 | + result = LoadMovieFromMemory(autoPlay, path, _bytesHandle.AddrOfPinnedObject(), (uint)_textAsset.bytes.Length, FilterMode.Bilinear, TextureWrapMode.Clamp); | ||
| 51 | + } | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + if (!result) | ||
| 55 | + { | ||
| 56 | + Debug.LogError("[AVProWindowsMedia] Unable to load resource " + path); | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + return result; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public override void UnloadMovie() | ||
| 63 | + { | ||
| 64 | + if (_moviePlayer != null) | ||
| 65 | + { | ||
| 66 | + _moviePlayer.Dispose(); | ||
| 67 | + _moviePlayer = null; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + UnloadResource(); | ||
| 71 | + } | ||
| 72 | + | ||
| 73 | + private void UnloadResource() | ||
| 74 | + { | ||
| 75 | + if (_bytesHandle.IsAllocated) | ||
| 76 | + { | ||
| 77 | + _bytesHandle.Free(); | ||
| 78 | + } | ||
| 79 | +#if !UNITY_3_5 | ||
| 80 | + if (_textAsset != null) | ||
| 81 | + { | ||
| 82 | + Resources.UnloadAsset(_textAsset); | ||
| 83 | + _textAsset = null; | ||
| 84 | + } | ||
| 85 | +#endif | ||
| 86 | + } | ||
| 87 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +#if UNITY_4_6 || UNITY_4_7 || UNITY_4_8 || UNITY_5 | ||
| 2 | +#define UNITY_FEATURE_UGUI | ||
| 3 | +#endif | ||
| 4 | + | ||
| 5 | +using System.Collections.Generic; | ||
| 6 | +using UnityEngine.Serialization; | ||
| 7 | +#if UNITY_FEATURE_UGUI | ||
| 8 | +using UnityEngine; | ||
| 9 | +using UnityEngine.UI; | ||
| 10 | + | ||
| 11 | +//----------------------------------------------------------------------------- | ||
| 12 | +// Copyright 2012-2016 RenderHeads Ltd. All rights reserved. | ||
| 13 | +//----------------------------------------------------------------------------- | ||
| 14 | + | ||
| 15 | +[AddComponentMenu("AVPro Windows Media/uGUI Movie")] | ||
| 16 | +public class AVProWindowsMediaUGUIComponent : UnityEngine.UI.MaskableGraphic | ||
| 17 | +{ | ||
| 18 | + [SerializeField] | ||
| 19 | + public AVProWindowsMediaMovie m_movie; | ||
| 20 | + | ||
| 21 | + [SerializeField] | ||
| 22 | + public Rect m_UVRect = new Rect(0f, 0f, 1f, 1f); | ||
| 23 | + | ||
| 24 | + [SerializeField] | ||
| 25 | + public bool _setNativeSize = false; | ||
| 26 | + | ||
| 27 | + [SerializeField] | ||
| 28 | + public bool _keepAspectRatio = true; | ||
| 29 | + | ||
| 30 | + [SerializeField] | ||
| 31 | + public bool _noDefaultDisplay = true; | ||
| 32 | + | ||
| 33 | + [SerializeField] | ||
| 34 | + public Texture _defaultTexture; | ||
| 35 | + | ||
| 36 | + private int _lastWidth; | ||
| 37 | + private int _lastHeight; | ||
| 38 | + | ||
| 39 | + protected AVProWindowsMediaUGUIComponent() | ||
| 40 | + { } | ||
| 41 | + | ||
| 42 | + | ||
| 43 | + /// <summary> | ||
| 44 | + /// Returns the texture used to draw this Graphic. | ||
| 45 | + /// </summary> | ||
| 46 | + public override Texture mainTexture | ||
| 47 | + { | ||
| 48 | + get | ||
| 49 | + { | ||
| 50 | + Texture result = Texture2D.whiteTexture; | ||
| 51 | + if (HasValidTexture()) | ||
| 52 | + { | ||
| 53 | + result = m_movie.OutputTexture; | ||
| 54 | + } | ||
| 55 | + else | ||
| 56 | + { | ||
| 57 | + if (_noDefaultDisplay) | ||
| 58 | + { | ||
| 59 | + result = null; | ||
| 60 | + } | ||
| 61 | + else if (_defaultTexture != null) | ||
| 62 | + { | ||
| 63 | + result = _defaultTexture; | ||
| 64 | + } | ||
| 65 | + } | ||
| 66 | + return result; | ||
| 67 | + } | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public bool HasValidTexture() | ||
| 71 | + { | ||
| 72 | + return (m_movie != null && m_movie.OutputTexture != null); | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + void Update() | ||
| 76 | + { | ||
| 77 | + if (mainTexture == null) | ||
| 78 | + { | ||
| 79 | + return; | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + if (_setNativeSize) | ||
| 83 | + { | ||
| 84 | + SetNativeSize(); | ||
| 85 | + } | ||
| 86 | + if (HasValidTexture()) | ||
| 87 | + { | ||
| 88 | + if (mainTexture.width != _lastWidth || | ||
| 89 | + mainTexture.height != _lastHeight) | ||
| 90 | + { | ||
| 91 | + _lastWidth = mainTexture.width; | ||
| 92 | + _lastHeight = mainTexture.height; | ||
| 93 | + SetVerticesDirty(); | ||
| 94 | + } | ||
| 95 | + } | ||
| 96 | + SetMaterialDirty(); | ||
| 97 | + } | ||
| 98 | + | ||
| 99 | + /// <summary> | ||
| 100 | + /// Texture to be used. | ||
| 101 | + /// </summary> | ||
| 102 | + public AVProWindowsMediaMovie texture | ||
| 103 | + { | ||
| 104 | + get | ||
| 105 | + { | ||
| 106 | + return m_movie; | ||
| 107 | + } | ||
| 108 | + set | ||
| 109 | + { | ||
| 110 | + if (m_movie == value) | ||
| 111 | + return; | ||
| 112 | + | ||
| 113 | + m_movie = value; | ||
| 114 | + //SetVerticesDirty(); | ||
| 115 | + SetMaterialDirty(); | ||
| 116 | + } | ||
| 117 | + } | ||
| 118 | + | ||
| 119 | + /// <summary> | ||
| 120 | + /// UV rectangle used by the texture. | ||
| 121 | + /// </summary> | ||
| 122 | + public Rect uvRect | ||
| 123 | + { | ||
| 124 | + get | ||
| 125 | + { | ||
| 126 | + return m_UVRect; | ||
| 127 | + } | ||
| 128 | + set | ||
| 129 | + { | ||
| 130 | + if (m_UVRect == value) | ||
| 131 | + return; | ||
| 132 | + m_UVRect = value; | ||
| 133 | + SetVerticesDirty(); | ||
| 134 | + } | ||
| 135 | + } | ||
| 136 | + | ||
| 137 | + /// <summary> | ||
| 138 | + /// Adjust the scale of the Graphic to make it pixel-perfect. | ||
| 139 | + /// </summary> | ||
| 140 | + | ||
| 141 | + [ContextMenu("Set Native Size")] | ||
| 142 | + public override void SetNativeSize() | ||
| 143 | + { | ||
| 144 | + Texture tex = mainTexture; | ||
| 145 | + if (tex != null) | ||
| 146 | + { | ||
| 147 | + int w = Mathf.RoundToInt(tex.width * uvRect.width); | ||
| 148 | + int h = Mathf.RoundToInt(tex.height * uvRect.height); | ||
| 149 | + rectTransform.anchorMax = rectTransform.anchorMin; | ||
| 150 | + rectTransform.sizeDelta = new Vector2(w, h); | ||
| 151 | + } | ||
| 152 | + } | ||
| 153 | + | ||
| 154 | + /// <summary> | ||
| 155 | + /// Update all renderer data. | ||
| 156 | + /// </summary> | ||
| 157 | +#if UNITY_5 && !UNITY_5_0 && !UNITY_5_1 | ||
| 158 | + protected override void OnPopulateMesh(VertexHelper vh) | ||
| 159 | + { | ||
| 160 | + vh.Clear(); | ||
| 161 | + | ||
| 162 | + List<UIVertex> aVerts = new List<UIVertex>(); | ||
| 163 | + _OnFillVBO(aVerts); | ||
| 164 | + | ||
| 165 | + List<int> aIndicies = new List<int>(new int[] { 0, 1, 2, 2, 3, 0 }); | ||
| 166 | + vh.AddUIVertexStream(aVerts, aIndicies); | ||
| 167 | + } | ||
| 168 | + [System.Obsolete("This method is not called from Unity 5.2 and above")] | ||
| 169 | +#endif | ||
| 170 | + protected override void OnFillVBO(List<UIVertex> vbo) | ||
| 171 | + { | ||
| 172 | + _OnFillVBO(vbo); | ||
| 173 | + } | ||
| 174 | + | ||
| 175 | + protected void _OnFillVBO(List<UIVertex> vbo) | ||
| 176 | + { | ||
| 177 | + bool flipY = false; | ||
| 178 | + if (HasValidTexture()) | ||
| 179 | + { | ||
| 180 | + flipY = m_movie.MovieInstance.RequiresFlipY; | ||
| 181 | + } | ||
| 182 | + | ||
| 183 | + Vector4 v = GetDrawingDimensions(_keepAspectRatio); | ||
| 184 | + | ||
| 185 | + vbo.Clear(); | ||
| 186 | + | ||
| 187 | + var vert = UIVertex.simpleVert; | ||
| 188 | + | ||
| 189 | + vert.position = new Vector2(v.x, v.y); | ||
| 190 | + vert.uv0 = new Vector2(m_UVRect.xMin, m_UVRect.yMin); | ||
| 191 | + if (flipY) | ||
| 192 | + { | ||
| 193 | + vert.uv0 = new Vector2(m_UVRect.xMin, 1.0f - m_UVRect.yMin); | ||
| 194 | + } | ||
| 195 | + vert.color = color; | ||
| 196 | + vbo.Add(vert); | ||
| 197 | + | ||
| 198 | + vert.position = new Vector2(v.x, v.w); | ||
| 199 | + vert.uv0 = new Vector2(m_UVRect.xMin, m_UVRect.yMax); | ||
| 200 | + if (flipY) | ||
| 201 | + { | ||
| 202 | + vert.uv0 = new Vector2(m_UVRect.xMin, 1.0f - m_UVRect.yMax); | ||
| 203 | + } | ||
| 204 | + vert.color = color; | ||
| 205 | + vbo.Add(vert); | ||
| 206 | + | ||
| 207 | + vert.position = new Vector2(v.z, v.w); | ||
| 208 | + vert.uv0 = new Vector2(m_UVRect.xMax, m_UVRect.yMax); | ||
| 209 | + if (flipY) | ||
| 210 | + { | ||
| 211 | + vert.uv0 = new Vector2(m_UVRect.xMax, 1.0f - m_UVRect.yMax); | ||
| 212 | + } | ||
| 213 | + vert.color = color; | ||
| 214 | + vbo.Add(vert); | ||
| 215 | + | ||
| 216 | + vert.position = new Vector2(v.z, v.y); | ||
| 217 | + vert.uv0 = new Vector2(m_UVRect.xMax, m_UVRect.yMin); | ||
| 218 | + if (flipY) | ||
| 219 | + { | ||
| 220 | + vert.uv0 = new Vector2(m_UVRect.xMax, 1.0f - m_UVRect.yMin); | ||
| 221 | + } | ||
| 222 | + vert.color = color; | ||
| 223 | + vbo.Add(vert); | ||
| 224 | + } | ||
| 225 | + | ||
| 226 | + //Added this method from Image.cs to do the keep aspect ratio | ||
| 227 | + private Vector4 GetDrawingDimensions(bool shouldPreserveAspect) | ||
| 228 | + { | ||
| 229 | + Vector4 returnSize = Vector4.zero; | ||
| 230 | + | ||
| 231 | + if (mainTexture) | ||
| 232 | + { | ||
| 233 | + var padding = Vector4.zero; | ||
| 234 | + var textureSize = new Vector2(mainTexture.width, mainTexture.height); | ||
| 235 | + | ||
| 236 | + Rect r = GetPixelAdjustedRect(); | ||
| 237 | + | ||
| 238 | + int spriteW = Mathf.RoundToInt(textureSize.x); | ||
| 239 | + int spriteH = Mathf.RoundToInt(textureSize.y); | ||
| 240 | + | ||
| 241 | + var size = new Vector4(padding.x / spriteW, | ||
| 242 | + padding.y / spriteH, | ||
| 243 | + (spriteW - padding.z) / spriteW, | ||
| 244 | + (spriteH - padding.w) / spriteH); | ||
| 245 | + | ||
| 246 | + if (shouldPreserveAspect && textureSize.sqrMagnitude > 0.0f) | ||
| 247 | + { | ||
| 248 | + var spriteRatio = textureSize.x / textureSize.y; | ||
| 249 | + var rectRatio = r.width / r.height; | ||
| 250 | + | ||
| 251 | + if (spriteRatio > rectRatio) | ||
| 252 | + { | ||
| 253 | + var oldHeight = r.height; | ||
| 254 | + r.height = r.width * (1.0f / spriteRatio); | ||
| 255 | + r.y += (oldHeight - r.height) * rectTransform.pivot.y; | ||
| 256 | + } | ||
| 257 | + else | ||
| 258 | + { | ||
| 259 | + var oldWidth = r.width; | ||
| 260 | + r.width = r.height * spriteRatio; | ||
| 261 | + r.x += (oldWidth - r.width) * rectTransform.pivot.x; | ||
| 262 | + } | ||
| 263 | + } | ||
| 264 | + | ||
| 265 | + returnSize = new Vector4(r.x + r.width * size.x, | ||
| 266 | + r.y + r.height * size.y, | ||
| 267 | + r.x + r.width * size.z, | ||
| 268 | + r.y + r.height * size.w); | ||
| 269 | + | ||
| 270 | + } | ||
| 271 | + | ||
| 272 | + return returnSize; | ||
| 273 | + } | ||
| 274 | +} | ||
| 275 | + | ||
| 276 | +#endif | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +#if UNITY_EDITOR | ||
| 2 | + #define AVPROWINDOWSMEDIA_FPS | ||
| 3 | +#endif | ||
| 4 | + | ||
| 5 | +using UnityEngine; | ||
| 6 | +using System.Text; | ||
| 7 | +using System.Collections.Generic; | ||
| 8 | +using System.Runtime.InteropServices; | ||
| 9 | + | ||
| 10 | +//----------------------------------------------------------------------------- | ||
| 11 | +// Copyright 2012-2016 RenderHeads Ltd. All rights reserved. | ||
| 12 | +//----------------------------------------------------------------------------- | ||
| 13 | + | ||
| 14 | +public class AVProWindowsMedia : System.IDisposable | ||
| 15 | +{ | ||
| 16 | + private int _movieHandle = -1; | ||
| 17 | + private AVProWindowsMediaFormatConverter _formatConverter; | ||
| 18 | + | ||
| 19 | +#if AVPROWINDOWSMEDIA_FPS | ||
| 20 | + private int _frameCount; | ||
| 21 | + private float _startFrameTime; | ||
| 22 | + | ||
| 23 | + public float DisplayFPS | ||
| 24 | + { | ||
| 25 | + get; | ||
| 26 | + private set; | ||
| 27 | + } | ||
| 28 | + | ||
| 29 | + public int FramesTotal | ||
| 30 | + { | ||
| 31 | + get; | ||
| 32 | + private set; | ||
| 33 | + } | ||
| 34 | +#endif | ||
| 35 | + | ||
| 36 | + //----------------------------------------------------------------------------- | ||
| 37 | + | ||
| 38 | + public int Handle | ||
| 39 | + { | ||
| 40 | + get { return _movieHandle; } | ||
| 41 | + } | ||
| 42 | + | ||
| 43 | + // Movie Properties | ||
| 44 | + | ||
| 45 | + public string Filename | ||
| 46 | + { | ||
| 47 | + get; private set; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public int Width | ||
| 51 | + { | ||
| 52 | + get; private set; | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + public int Height | ||
| 56 | + { | ||
| 57 | + get; private set; | ||
| 58 | + } | ||
| 59 | + | ||
| 60 | + public float AspectRatio | ||
| 61 | + { | ||
| 62 | + get { return (Width / (float)Height); } | ||
| 63 | + } | ||
| 64 | + | ||
| 65 | + public float FrameRate | ||
| 66 | + { | ||
| 67 | + get; private set; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public float DurationSeconds | ||
| 71 | + { | ||
| 72 | + get; private set; | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + public uint DurationFrames | ||
| 76 | + { | ||
| 77 | + get; private set; | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + public uint LastFrame | ||
| 81 | + { | ||
| 82 | + get { return (uint)Mathf.Max(0, (int)DurationFrames - 1); } | ||
| 83 | + } | ||
| 84 | + | ||
| 85 | + // Playback State | ||
| 86 | + | ||
| 87 | + public bool IsPlaying | ||
| 88 | + { | ||
| 89 | + get; private set; | ||
| 90 | + } | ||
| 91 | + | ||
| 92 | + private bool _isLooping = false; | ||
| 93 | + public bool Loop | ||
| 94 | + { | ||
| 95 | + set { _isLooping = value; AVProWindowsMediaPlugin.SetLooping(_movieHandle, value); } | ||
| 96 | + get { return _isLooping; } | ||
| 97 | + } | ||
| 98 | + | ||
| 99 | + private int _audioDelay = 0; | ||
| 100 | + public int AudioDelay | ||
| 101 | + { | ||
| 102 | + set { _audioDelay = value; AVProWindowsMediaPlugin.SetAudioDelay(_movieHandle, _audioDelay); } | ||
| 103 | + get { return _audioDelay; } | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + private float _volume = 1.0f; | ||
| 107 | + public float Volume | ||
| 108 | + { | ||
| 109 | + set { _volume = value; AVProWindowsMediaPlugin.SetVolume(_movieHandle, _volume); } | ||
| 110 | + get { return _volume; } | ||
| 111 | + } | ||
| 112 | + | ||
| 113 | + public float PlaybackRate | ||
| 114 | + { | ||
| 115 | + set { AVProWindowsMediaPlugin.SetPlaybackRate(_movieHandle, value); } | ||
| 116 | + get { return AVProWindowsMediaPlugin.GetPlaybackRate(_movieHandle); } | ||
| 117 | + } | ||
| 118 | + | ||
| 119 | + public float PositionSeconds | ||
| 120 | + { | ||
| 121 | + get { return AVProWindowsMediaPlugin.GetCurrentPositionSeconds(_movieHandle); } | ||
| 122 | + set { AVProWindowsMediaPlugin.SeekSeconds(_movieHandle, value); } | ||
| 123 | + } | ||
| 124 | + | ||
| 125 | + public uint PositionFrames | ||
| 126 | + { | ||
| 127 | + get { return (uint)DisplayFrame; } //return AVProWindowsMediaPlugin.GetCurrentPositionFrames(_movieHandle); } | ||
| 128 | + set { AVProWindowsMediaPlugin.SeekFrames(_movieHandle, value); } | ||
| 129 | + } | ||
| 130 | + | ||
| 131 | + public float AudioBalance | ||
| 132 | + { | ||
| 133 | + get { return AVProWindowsMediaPlugin.GetAudioBalance(_movieHandle); } | ||
| 134 | + set { AVProWindowsMediaPlugin.SetAudioBalance(_movieHandle, value); } | ||
| 135 | + } | ||
| 136 | + | ||
| 137 | + public bool IsFinishedPlaying | ||
| 138 | + { | ||
| 139 | + get { return AVProWindowsMediaPlugin.IsFinishedPlaying(_movieHandle); } | ||
| 140 | + } | ||
| 141 | + | ||
| 142 | + // Display | ||
| 143 | + | ||
| 144 | + public bool RequiresFlipY | ||
| 145 | + { | ||
| 146 | + get; | ||
| 147 | + private set; | ||
| 148 | + } | ||
| 149 | + | ||
| 150 | + public Texture OutputTexture | ||
| 151 | + { | ||
| 152 | + get { if (_formatConverter != null && _formatConverter.ValidPicture) return _formatConverter.OutputTexture; return null;} | ||
| 153 | + } | ||
| 154 | + | ||
| 155 | + public int DisplayFrame | ||
| 156 | + { | ||
| 157 | + get { if (_formatConverter != null && _formatConverter.ValidPicture) return _formatConverter.DisplayFrame; return -1; } | ||
| 158 | + } | ||
| 159 | + | ||
| 160 | + //------------------------------------------------------------------------- | ||
| 161 | + | ||
| 162 | + public bool StartVideo(string filename, bool allowNativeFormat, bool useBT709, bool allowAudio, bool useAudioDelay, bool useAudioMixer, bool useDisplaySync, bool ignoreFlips, FilterMode textureFilterMode, TextureWrapMode textureWrapMode) | ||
| 163 | + { | ||
| 164 | + Filename = filename; | ||
| 165 | + if (!string.IsNullOrEmpty(Filename)) | ||
| 166 | + { | ||
| 167 | + if (System.IO.File.Exists(filename)) | ||
| 168 | + { | ||
| 169 | + if (_movieHandle < 0) | ||
| 170 | + { | ||
| 171 | + _movieHandle = AVProWindowsMediaPlugin.GetInstanceHandle(); | ||
| 172 | + } | ||
| 173 | + | ||
| 174 | + // Note: we're marshaling the string to IntPtr as the pointer of type wchar_t | ||
| 175 | + System.IntPtr filenamePtr = Marshal.StringToHGlobalUni(Filename); | ||
| 176 | + if (AVProWindowsMediaPlugin.LoadMovie(_movieHandle, filenamePtr, false, allowNativeFormat, allowAudio, useAudioDelay, useAudioMixer, useDisplaySync)) | ||
| 177 | + { | ||
| 178 | + CompleteVideoLoad(useBT709, ignoreFlips, textureFilterMode, textureWrapMode); | ||
| 179 | + } | ||
| 180 | + else | ||
| 181 | + { | ||
| 182 | + Debug.LogError("[AVProWindowsMedia] Movie failed to load - do you have the required codecs installed? See documentation for details."); | ||
| 183 | + if (filename.ToLower().EndsWith(".mp4")) | ||
| 184 | + { | ||
| 185 | + Debug.LogError("[AVProWindowsMedia] For MP4 files you need an MP4 splitter such as Haali Media Splitter or GDCL."); | ||
| 186 | + Debug.LogError("[AVProWindowsMedia] For HIGH profile H.264 videos you need to install an external H.264 decoder. See documentation for details."); | ||
| 187 | + } | ||
| 188 | + Close(); | ||
| 189 | + } | ||
| 190 | + Marshal.FreeHGlobal(filenamePtr); | ||
| 191 | + } | ||
| 192 | + else | ||
| 193 | + { | ||
| 194 | + Debug.LogError("[AVProWindowsMedia] File not found " + filename); | ||
| 195 | + Close(); | ||
| 196 | + } | ||
| 197 | + } | ||
| 198 | + else | ||
| 199 | + { | ||
| 200 | + Debug.LogError("[AVProWindowsMedia] No movie file specified"); | ||
| 201 | + Close(); | ||
| 202 | + } | ||
| 203 | + | ||
| 204 | + return _movieHandle >= 0; | ||
| 205 | + } | ||
| 206 | + | ||
| 207 | + | ||
| 208 | + public bool StartVideoFromMemory(string name, System.IntPtr moviePointer, long movieLength, bool allowNativeFormat, bool useBT709, bool allowAudio, bool useAudioDelay, bool useAudioMixer, bool useDisplaySync, bool ignoreFlips, FilterMode textureFilterMode, TextureWrapMode textureWrapMode) | ||
| 209 | + { | ||
| 210 | + Filename = name; | ||
| 211 | + if (moviePointer != System.IntPtr.Zero && movieLength > 0) | ||
| 212 | + { | ||
| 213 | + if (_movieHandle < 0) | ||
| 214 | + { | ||
| 215 | + _movieHandle = AVProWindowsMediaPlugin.GetInstanceHandle(); | ||
| 216 | + } | ||
| 217 | + | ||
| 218 | + if (AVProWindowsMediaPlugin.LoadMovieFromMemory(_movieHandle, moviePointer, movieLength, allowNativeFormat, allowAudio, useAudioDelay, useAudioMixer, useDisplaySync)) | ||
| 219 | + { | ||
| 220 | + CompleteVideoLoad(useBT709, ignoreFlips, textureFilterMode, textureWrapMode); | ||
| 221 | + } | ||
| 222 | + else | ||
| 223 | + { | ||
| 224 | + Debug.LogWarning("[AVProWindowsMedia] Movie failed to load"); | ||
| 225 | + Close(); | ||
| 226 | + } | ||
| 227 | + } | ||
| 228 | + else | ||
| 229 | + { | ||
| 230 | + Debug.LogWarning("[AVProWindowsMedia] No movie file specified"); | ||
| 231 | + Close(); | ||
| 232 | + } | ||
| 233 | + | ||
| 234 | + return _movieHandle >= 0; | ||
| 235 | + } | ||
| 236 | + | ||
| 237 | + public Material GetConversionMaterial() | ||
| 238 | + { | ||
| 239 | + Material result = null; | ||
| 240 | + if (_formatConverter != null) | ||
| 241 | + { | ||
| 242 | + result = _formatConverter.GetConversionMaterial(); | ||
| 243 | + } | ||
| 244 | + return result; | ||
| 245 | + } | ||
| 246 | + | ||
| 247 | + private void CompleteVideoLoad(bool useBT709, bool ignoreFlips, FilterMode textureFilterMode, TextureWrapMode textureWrapMode) | ||
| 248 | + { | ||
| 249 | + RequiresFlipY = false; | ||
| 250 | + Loop = false; | ||
| 251 | + Volume = _volume; | ||
| 252 | + | ||
| 253 | + // Gather properties | ||
| 254 | + Width = AVProWindowsMediaPlugin.GetWidth(_movieHandle); | ||
| 255 | + Height = AVProWindowsMediaPlugin.GetHeight(_movieHandle); | ||
| 256 | + FrameRate = AVProWindowsMediaPlugin.GetFrameRate(_movieHandle); | ||
| 257 | + DurationSeconds = AVProWindowsMediaPlugin.GetDurationSeconds(_movieHandle); | ||
| 258 | + DurationFrames = AVProWindowsMediaPlugin.GetDurationFrames(_movieHandle); | ||
| 259 | + | ||
| 260 | + AVProWindowsMediaPlugin.VideoFrameFormat sourceFormat = (AVProWindowsMediaPlugin.VideoFrameFormat)AVProWindowsMediaPlugin.GetFormat(_movieHandle); | ||
| 261 | + | ||
| 262 | + if (AVProWindowsMediaManager.Instance._logVideoLoads) | ||
| 263 | + { | ||
| 264 | + Debug.Log(string.Format("[AVProWindowsMedia] Loaded video '{0}' ({1}x{2} @ {3} fps) {4} frames, {5} seconds - format: {6}", Filename, Width, Height, FrameRate.ToString("F2"), DurationFrames, DurationSeconds.ToString("F2"), sourceFormat.ToString())); | ||
| 265 | + } | ||
| 266 | + | ||
| 267 | + // Create format converter | ||
| 268 | + bool hasVideo = (Width > 0 && Width <= 8192 || Height > 0 && Height <= 8192); | ||
| 269 | + if (!hasVideo) | ||
| 270 | + { | ||
| 271 | + Width = Height = 0; | ||
| 272 | + if (_formatConverter != null) | ||
| 273 | + { | ||
| 274 | + _formatConverter.Dispose(); | ||
| 275 | + _formatConverter = null; | ||
| 276 | + } | ||
| 277 | + } | ||
| 278 | + else | ||
| 279 | + { | ||
| 280 | + bool isTopDown = AVProWindowsMediaPlugin.IsOrientedTopDown(_movieHandle); | ||
| 281 | + | ||
| 282 | + if (_formatConverter == null) | ||
| 283 | + { | ||
| 284 | + _formatConverter = new AVProWindowsMediaFormatConverter(); | ||
| 285 | + } | ||
| 286 | + | ||
| 287 | + bool flipX = false; | ||
| 288 | + bool flipY = isTopDown; | ||
| 289 | + if (ignoreFlips) | ||
| 290 | + { | ||
| 291 | + if (flipY) | ||
| 292 | + { | ||
| 293 | + RequiresFlipY = true; | ||
| 294 | + } | ||
| 295 | + | ||
| 296 | + flipX = flipY = false; | ||
| 297 | + } | ||
| 298 | + if (!_formatConverter.Build(_movieHandle, Width, Height, sourceFormat, useBT709, flipX, flipY, textureFilterMode, textureWrapMode)) | ||
| 299 | + { | ||
| 300 | + Debug.LogError("[AVProWindowsMedia] unable to convert video format"); | ||
| 301 | + Width = Height = 0; | ||
| 302 | + if (_formatConverter != null) | ||
| 303 | + { | ||
| 304 | + _formatConverter.Dispose(); | ||
| 305 | + _formatConverter = null; | ||
| 306 | + Close(); | ||
| 307 | + } | ||
| 308 | + } | ||
| 309 | + } | ||
| 310 | + | ||
| 311 | + PreRoll(); | ||
| 312 | + } | ||
| 313 | + | ||
| 314 | + public bool StartAudio(string filename) | ||
| 315 | + { | ||
| 316 | + Filename = filename; | ||
| 317 | + Width = Height = 0; | ||
| 318 | + if (!string.IsNullOrEmpty(Filename)) | ||
| 319 | + { | ||
| 320 | + if (_movieHandle < 0) | ||
| 321 | + { | ||
| 322 | + _movieHandle = AVProWindowsMediaPlugin.GetInstanceHandle(); | ||
| 323 | + } | ||
| 324 | + | ||
| 325 | + if (_formatConverter != null) | ||
| 326 | + { | ||
| 327 | + _formatConverter.Dispose(); | ||
| 328 | + _formatConverter = null; | ||
| 329 | + } | ||
| 330 | + | ||
| 331 | + // Note: we're marshaling the string to IntPtr as the pointer of type wchar_t | ||
| 332 | + System.IntPtr filenamePtr = Marshal.StringToHGlobalUni(Filename); | ||
| 333 | + if (AVProWindowsMediaPlugin.LoadMovie(_movieHandle, filenamePtr, false, false, true, false, false, false)) | ||
| 334 | + { | ||
| 335 | + Volume = _volume; | ||
| 336 | + DurationSeconds = AVProWindowsMediaPlugin.GetDurationSeconds(_movieHandle); | ||
| 337 | + | ||
| 338 | + Debug.Log("[AVProWindowsMedia] Loaded audio " + Filename + " " + DurationSeconds.ToString("F2") + " sec"); | ||
| 339 | + } | ||
| 340 | + else | ||
| 341 | + { | ||
| 342 | + Debug.LogError("[AVProWindowsMedia] Movie failed to load"); | ||
| 343 | + Close(); | ||
| 344 | + } | ||
| 345 | + Marshal.FreeHGlobal(filenamePtr); | ||
| 346 | + } | ||
| 347 | + else | ||
| 348 | + { | ||
| 349 | + Debug.LogError("[AVProWindowsMedia] No movie file specified"); | ||
| 350 | + Close(); | ||
| 351 | + } | ||
| 352 | + | ||
| 353 | + return _movieHandle >= 0; | ||
| 354 | + } | ||
| 355 | + | ||
| 356 | + private void PreRoll() | ||
| 357 | + { | ||
| 358 | + if (_movieHandle < 0) | ||
| 359 | + return; | ||
| 360 | + | ||
| 361 | + return; | ||
| 362 | + | ||
| 363 | + float vol = Volume; | ||
| 364 | + Volume = 0.0f; | ||
| 365 | + Play(); | ||
| 366 | + Pause(); | ||
| 367 | + AVProWindowsMediaPlugin.SeekFrames(_movieHandle, 0); | ||
| 368 | + Volume = vol; | ||
| 369 | + } | ||
| 370 | + | ||
| 371 | + public bool Update(bool force) | ||
| 372 | + { | ||
| 373 | + bool updated = false; | ||
| 374 | + if (_movieHandle >= 0) | ||
| 375 | + { | ||
| 376 | + AVProWindowsMediaPlugin.Update(_movieHandle); | ||
| 377 | + if (_formatConverter != null) | ||
| 378 | + { | ||
| 379 | + updated = _formatConverter.Update(); | ||
| 380 | +#if AVPROWINDOWSMEDIA_FPS | ||
| 381 | + if (updated) | ||
| 382 | + { | ||
| 383 | + UpdateFPS(); | ||
| 384 | + } | ||
| 385 | +#endif | ||
| 386 | + } | ||
| 387 | + } | ||
| 388 | + return updated; | ||
| 389 | + } | ||
| 390 | + | ||
| 391 | +#if AVPROWINDOWSMEDIA_FPS | ||
| 392 | + protected void ResetFPS() | ||
| 393 | + { | ||
| 394 | + _frameCount = 0; | ||
| 395 | + FramesTotal = 0; | ||
| 396 | + DisplayFPS = 0.0f; | ||
| 397 | + _startFrameTime = 0.0f; | ||
| 398 | + } | ||
| 399 | + | ||
| 400 | + public void UpdateFPS() | ||
| 401 | + { | ||
| 402 | + _frameCount++; | ||
| 403 | + FramesTotal++; | ||
| 404 | + | ||
| 405 | + float timeNow = Time.realtimeSinceStartup; | ||
| 406 | + float timeDelta = timeNow - _startFrameTime; | ||
| 407 | + if (timeDelta >= 1.0f) | ||
| 408 | + { | ||
| 409 | + DisplayFPS = (float)_frameCount / timeDelta; | ||
| 410 | + _frameCount = 0; | ||
| 411 | + _startFrameTime = timeNow; | ||
| 412 | + } | ||
| 413 | + } | ||
| 414 | +#endif | ||
| 415 | + | ||
| 416 | + public void Play() | ||
| 417 | + { | ||
| 418 | + if (_movieHandle >= 0) | ||
| 419 | + { | ||
| 420 | + AVProWindowsMediaPlugin.Play(_movieHandle); | ||
| 421 | + IsPlaying = true; | ||
| 422 | + } | ||
| 423 | + } | ||
| 424 | + | ||
| 425 | + public void Pause() | ||
| 426 | + { | ||
| 427 | + if (_movieHandle >= 0) | ||
| 428 | + { | ||
| 429 | + AVProWindowsMediaPlugin.Pause(_movieHandle); | ||
| 430 | + IsPlaying = false; | ||
| 431 | + } | ||
| 432 | + } | ||
| 433 | + | ||
| 434 | + public void Rewind() | ||
| 435 | + { | ||
| 436 | + if (_movieHandle >= 0) | ||
| 437 | + { | ||
| 438 | + PositionSeconds = 0.0f; | ||
| 439 | + } | ||
| 440 | + } | ||
| 441 | + | ||
| 442 | + public void Dispose() | ||
| 443 | + { | ||
| 444 | + Close(); | ||
| 445 | + if (_formatConverter != null) | ||
| 446 | + { | ||
| 447 | + _formatConverter.Dispose(); | ||
| 448 | + _formatConverter = null; | ||
| 449 | + } | ||
| 450 | + } | ||
| 451 | + | ||
| 452 | + public void SetFrameRange(int min, int max) | ||
| 453 | + { | ||
| 454 | + AVProWindowsMediaPlugin.SetDisplayFrameRange(_movieHandle, min, max); | ||
| 455 | + } | ||
| 456 | + | ||
| 457 | + public void ClearFrameRange() | ||
| 458 | + { | ||
| 459 | + SetFrameRange(-1, -1); | ||
| 460 | + } | ||
| 461 | + | ||
| 462 | + private void Close() | ||
| 463 | + { | ||
| 464 | +#if AVPROWINDOWSMEDIA_FPS | ||
| 465 | + ResetFPS(); | ||
| 466 | +#endif | ||
| 467 | + | ||
| 468 | + Width = Height = 0; | ||
| 469 | + | ||
| 470 | + if (_movieHandle >= 0) | ||
| 471 | + { | ||
| 472 | + Pause(); | ||
| 473 | + AVProWindowsMediaPlugin.Stop(_movieHandle); | ||
| 474 | + AVProWindowsMediaPlugin.FreeInstanceHandle(_movieHandle); | ||
| 475 | + _movieHandle = -1; | ||
| 476 | + } | ||
| 477 | + } | ||
| 478 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +fileFormatVersion: 2 | ||
| 2 | +guid: 865411cfa3721d24f9a6a8b679c8121a | ||
| 3 | +labels: | ||
| 4 | +- DIRECTSHOW | ||
| 5 | +- MOVIE | ||
| 6 | +- VIDEO | ||
| 7 | +- AVI | ||
| 8 | +- WMV | ||
| 9 | +- MEDIA | ||
| 10 | +- MP4 | ||
| 11 | +- H264 | ||
| 12 | +MonoImporter: | ||
| 13 | + serializedVersion: 2 | ||
| 14 | + defaultReferences: [] | ||
| 15 | + executionOrder: 0 | ||
| 16 | + icon: {instanceID: 0} | ||
| 17 | + userData: | ||
| 18 | + assetBundleName: | ||
| 19 | + assetBundleVariant: |
| 1 | +// Support for using externally created native textures, from Unity 4.2 upwards | ||
| 2 | +#if UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6 || UNITY_4_7 || UNITY_4_8 || UNITY_5 | ||
| 3 | + #define AVPROWINDOWSMEDIA_UNITYFEATURE_EXTERNALTEXTURES | ||
| 4 | +#endif | ||
| 5 | + | ||
| 6 | +using UnityEngine; | ||
| 7 | +using System.Text; | ||
| 8 | +using System.Collections.Generic; | ||
| 9 | +using System.Runtime.InteropServices; | ||
| 10 | + | ||
| 11 | +//----------------------------------------------------------------------------- | ||
| 12 | +// Copyright 2012-2016 RenderHeads Ltd. All rights reserved. | ||
| 13 | +//----------------------------------------------------------------------------- | ||
| 14 | + | ||
| 15 | +public class AVProWindowsMediaFormatConverter : System.IDisposable | ||
| 16 | +{ | ||
| 17 | + private int _movieHandle; | ||
| 18 | + | ||
| 19 | + // Format conversion and texture output | ||
| 20 | + private Texture2D _rawTexture; | ||
| 21 | + private bool _isExternalTexture; | ||
| 22 | + private RenderTexture _finalTexture; | ||
| 23 | + private Texture _outputTexture; | ||
| 24 | + private Material _conversionMaterial; | ||
| 25 | + private int _usedTextureWidth, _usedTextureHeight; | ||
| 26 | + private Vector4 _uv; | ||
| 27 | + private int _lastFrameUploaded = -1; | ||
| 28 | + | ||
| 29 | + // Conversion params | ||
| 30 | + private int _width; | ||
| 31 | + private int _height; | ||
| 32 | + private bool _flipX; | ||
| 33 | + private bool _flipY; | ||
| 34 | + private AVProWindowsMediaPlugin.VideoFrameFormat _sourceVideoFormat; | ||
| 35 | + private bool _useBT709; | ||
| 36 | + private bool _requiresTextureCrop; | ||
| 37 | + private bool _requiresConversion; | ||
| 38 | + | ||
| 39 | + public bool RequiresConversion | ||
| 40 | + { | ||
| 41 | + get { return _requiresTextureCrop; } | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + public Texture OutputTexture | ||
| 45 | + { | ||
| 46 | + get { return _outputTexture; } | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + public int DisplayFrame | ||
| 50 | + { | ||
| 51 | + get { return _lastFrameUploaded; } | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public bool ValidPicture { get; private set; } | ||
| 55 | + | ||
| 56 | + public void Reset() | ||
| 57 | + { | ||
| 58 | + ValidPicture = false; | ||
| 59 | + _lastFrameUploaded = -1; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public Material GetConversionMaterial() | ||
| 63 | + { | ||
| 64 | + if (!_requiresConversion) | ||
| 65 | + return _conversionMaterial; | ||
| 66 | + return null; | ||
| 67 | + } | ||
| 68 | + | ||
| 69 | + public bool Build(int movieHandle, int width, int height, AVProWindowsMediaPlugin.VideoFrameFormat format, bool useBT709, bool flipX, bool flipY, FilterMode filterMode, TextureWrapMode wrapMode) | ||
| 70 | + { | ||
| 71 | + Reset(); | ||
| 72 | + | ||
| 73 | + _outputTexture = null; | ||
| 74 | + _movieHandle = movieHandle; | ||
| 75 | + | ||
| 76 | + _width = width; | ||
| 77 | + _height = height; | ||
| 78 | + _sourceVideoFormat = format; | ||
| 79 | + _flipX = flipX; | ||
| 80 | + _flipY = flipY; | ||
| 81 | + _useBT709 = useBT709; | ||
| 82 | + | ||
| 83 | +#if AVPROWINDOWSMEDIA_UNITYFEATURE_EXTERNALTEXTURES | ||
| 84 | + if (AVProWindowsMediaManager.Instance._useExternalTextures) | ||
| 85 | + CreateExternalTexture(); | ||
| 86 | + else | ||
| 87 | +#endif | ||
| 88 | + CreateTexture(); | ||
| 89 | + | ||
| 90 | + if (_rawTexture != null) | ||
| 91 | + { | ||
| 92 | + _requiresConversion = false; | ||
| 93 | + _requiresTextureCrop = (_usedTextureWidth != _rawTexture.width || _usedTextureHeight != _rawTexture.height); | ||
| 94 | + if (_requiresTextureCrop) | ||
| 95 | + { | ||
| 96 | + SetFlip(_flipX, _flipY); | ||
| 97 | + _requiresConversion = true; | ||
| 98 | + } | ||
| 99 | + | ||
| 100 | + if (!_isExternalTexture) | ||
| 101 | + AVProWindowsMediaPlugin.SetTexturePointer(_movieHandle, _rawTexture.GetNativeTexturePtr()); | ||
| 102 | + | ||
| 103 | + if (!_requiresConversion) | ||
| 104 | + { | ||
| 105 | + bool isDX11 = SystemInfo.graphicsDeviceVersion.StartsWith("Direct3D 11"); | ||
| 106 | + | ||
| 107 | + if (_flipX || _flipY) | ||
| 108 | + { | ||
| 109 | + _requiresConversion = true; | ||
| 110 | + } | ||
| 111 | + else if (_sourceVideoFormat == AVProWindowsMediaPlugin.VideoFrameFormat.RAW_BGRA32 && isDX11) | ||
| 112 | + { | ||
| 113 | +#if UNITY_5 | ||
| 114 | + // DX11 has red and blue channels swapped around | ||
| 115 | + if (!SystemInfo.SupportsTextureFormat(TextureFormat.BGRA32)) | ||
| 116 | + _requiresConversion = true; | ||
| 117 | +#else | ||
| 118 | + _requiresConversion = true; | ||
| 119 | +#endif | ||
| 120 | + } | ||
| 121 | + else if (_sourceVideoFormat != AVProWindowsMediaPlugin.VideoFrameFormat.Hap_RGB && | ||
| 122 | + _sourceVideoFormat != AVProWindowsMediaPlugin.VideoFrameFormat.Hap_RGBA && | ||
| 123 | + _sourceVideoFormat != AVProWindowsMediaPlugin.VideoFrameFormat.RAW_BGRA32) | ||
| 124 | + { | ||
| 125 | + _requiresConversion = true; | ||
| 126 | + } | ||
| 127 | + } | ||
| 128 | + | ||
| 129 | + if (_requiresConversion) | ||
| 130 | + { | ||
| 131 | + if (CreateMaterial()) | ||
| 132 | + { | ||
| 133 | + CreateRenderTexture(); | ||
| 134 | + _outputTexture = _finalTexture; | ||
| 135 | + | ||
| 136 | + _conversionMaterial.mainTexture = _rawTexture; | ||
| 137 | + SetFlip(_flipX, _flipY); | ||
| 138 | + bool formatIs422 = (_sourceVideoFormat != AVProWindowsMediaPlugin.VideoFrameFormat.RAW_BGRA32); | ||
| 139 | + if (formatIs422) | ||
| 140 | + { | ||
| 141 | + _conversionMaterial.SetFloat("_TextureWidth", _finalTexture.width); | ||
| 142 | + } | ||
| 143 | + } | ||
| 144 | + } | ||
| 145 | + else | ||
| 146 | + { | ||
| 147 | + | ||
| 148 | + bool formatIs422 = (_sourceVideoFormat != AVProWindowsMediaPlugin.VideoFrameFormat.RAW_BGRA32 && | ||
| 149 | + _sourceVideoFormat != AVProWindowsMediaPlugin.VideoFrameFormat.Hap_RGB && | ||
| 150 | + _sourceVideoFormat != AVProWindowsMediaPlugin.VideoFrameFormat.Hap_RGBA); | ||
| 151 | + if (formatIs422) | ||
| 152 | + { | ||
| 153 | + CreateMaterial(); | ||
| 154 | + _conversionMaterial.SetFloat("_TextureWidth", _width); | ||
| 155 | + _rawTexture.filterMode = FilterMode.Point; | ||
| 156 | + } | ||
| 157 | + else | ||
| 158 | + { | ||
| 159 | + _rawTexture.filterMode = FilterMode.Bilinear; | ||
| 160 | + } | ||
| 161 | + //_rawTexture.wrapMode = TextureWrapMode.Repeat; | ||
| 162 | + _outputTexture = _rawTexture; | ||
| 163 | + } | ||
| 164 | + } | ||
| 165 | + | ||
| 166 | + if (_outputTexture != null) | ||
| 167 | + { | ||
| 168 | + _outputTexture.filterMode = filterMode; | ||
| 169 | + _outputTexture.wrapMode = wrapMode; | ||
| 170 | + } | ||
| 171 | + | ||
| 172 | + return (_outputTexture != null); | ||
| 173 | + } | ||
| 174 | + | ||
| 175 | + public bool Update() | ||
| 176 | + { | ||
| 177 | + bool result = UpdateTexture(); | ||
| 178 | + if (_requiresConversion) | ||
| 179 | + { | ||
| 180 | + if (result) | ||
| 181 | + { | ||
| 182 | + DoFormatConversion(); | ||
| 183 | + } | ||
| 184 | + else | ||
| 185 | + { | ||
| 186 | + if (_finalTexture != null && !_finalTexture.IsCreated()) | ||
| 187 | + { | ||
| 188 | + Reset(); | ||
| 189 | + } | ||
| 190 | + } | ||
| 191 | + } | ||
| 192 | + else | ||
| 193 | + { | ||
| 194 | + if (result) | ||
| 195 | + ValidPicture = true; | ||
| 196 | + } | ||
| 197 | + return result; | ||
| 198 | + } | ||
| 199 | + | ||
| 200 | + private bool UpdateTexture() | ||
| 201 | + { | ||
| 202 | + bool result = false; | ||
| 203 | + | ||
| 204 | + // We update all the textures from AVProQuickTimeManager.Update() | ||
| 205 | + // so just check if the update was done | ||
| 206 | + int lastFrameUploaded = AVProWindowsMediaPlugin.GetLastFrameUploaded(_movieHandle); | ||
| 207 | + if (_lastFrameUploaded != lastFrameUploaded) | ||
| 208 | + { | ||
| 209 | + _lastFrameUploaded = lastFrameUploaded; | ||
| 210 | + result = true; | ||
| 211 | + } | ||
| 212 | + | ||
| 213 | + return result; | ||
| 214 | + } | ||
| 215 | + | ||
| 216 | + public void Dispose() | ||
| 217 | + { | ||
| 218 | + ValidPicture = false; | ||
| 219 | + _width = _height = 0; | ||
| 220 | + | ||
| 221 | + if (_conversionMaterial != null) | ||
| 222 | + { | ||
| 223 | + _conversionMaterial.mainTexture = null; | ||
| 224 | +#if UNITY_EDITOR | ||
| 225 | + Material.DestroyImmediate(_conversionMaterial); | ||
| 226 | +#else | ||
| 227 | + Material.Destroy(_conversionMaterial); | ||
| 228 | +#endif | ||
| 229 | + _conversionMaterial = null; | ||
| 230 | + } | ||
| 231 | + | ||
| 232 | + _outputTexture = null; | ||
| 233 | + | ||
| 234 | + if (_finalTexture != null) | ||
| 235 | + { | ||
| 236 | + RenderTexture.ReleaseTemporary(_finalTexture); | ||
| 237 | + _finalTexture = null; | ||
| 238 | + } | ||
| 239 | + | ||
| 240 | + if (_rawTexture != null) | ||
| 241 | + { | ||
| 242 | + if (!_isExternalTexture) | ||
| 243 | + { | ||
| 244 | +#if UNITY_EDITOR | ||
| 245 | + Texture2D.DestroyImmediate(_rawTexture); | ||
| 246 | +#else | ||
| 247 | + Texture2D.Destroy(_rawTexture); | ||
| 248 | +#endif | ||
| 249 | + } | ||
| 250 | + _rawTexture = null; | ||
| 251 | + } | ||
| 252 | + } | ||
| 253 | + | ||
| 254 | + private bool CreateMaterial() | ||
| 255 | + { | ||
| 256 | + Shader shader = AVProWindowsMediaManager.Instance.GetPixelConversionShader(_sourceVideoFormat, _useBT709); | ||
| 257 | + if (shader) | ||
| 258 | + { | ||
| 259 | + if (_conversionMaterial != null) | ||
| 260 | + { | ||
| 261 | + if (_conversionMaterial.shader != shader) | ||
| 262 | + { | ||
| 263 | + Material.Destroy(_conversionMaterial); | ||
| 264 | + _conversionMaterial = null; | ||
| 265 | + } | ||
| 266 | + } | ||
| 267 | + | ||
| 268 | + if (_conversionMaterial == null) | ||
| 269 | + { | ||
| 270 | + _conversionMaterial = new Material(shader); | ||
| 271 | + _conversionMaterial.name = "AVProWindowsMedia-Material"; | ||
| 272 | + } | ||
| 273 | + } | ||
| 274 | + | ||
| 275 | + return (_conversionMaterial != null); | ||
| 276 | + } | ||
| 277 | + | ||
| 278 | +#if AVPROWINDOWSMEDIA_UNITYFEATURE_EXTERNALTEXTURES | ||
| 279 | + private void CreateExternalTexture() | ||
| 280 | + { | ||
| 281 | + System.IntPtr texPtr = AVProWindowsMediaPlugin.GetTexturePointer(_movieHandle); | ||
| 282 | + if (texPtr != System.IntPtr.Zero) | ||
| 283 | + { | ||
| 284 | + int texWidth = _width; | ||
| 285 | + TextureFormat textureFormat = TextureFormat.ARGB32; | ||
| 286 | + switch (_sourceVideoFormat) | ||
| 287 | + { | ||
| 288 | + case AVProWindowsMediaPlugin.VideoFrameFormat.Hap_RGBA: | ||
| 289 | + case AVProWindowsMediaPlugin.VideoFrameFormat.Hap_RGB_HQ: | ||
| 290 | + textureFormat = TextureFormat.DXT5; | ||
| 291 | + break; | ||
| 292 | + case AVProWindowsMediaPlugin.VideoFrameFormat.Hap_RGB: | ||
| 293 | + textureFormat = TextureFormat.DXT1; | ||
| 294 | + break; | ||
| 295 | + case AVProWindowsMediaPlugin.VideoFrameFormat.YUV_422_YUY2: | ||
| 296 | + case AVProWindowsMediaPlugin.VideoFrameFormat.YUV_422_UYVY: | ||
| 297 | + case AVProWindowsMediaPlugin.VideoFrameFormat.YUV_422_YVYU: | ||
| 298 | + case AVProWindowsMediaPlugin.VideoFrameFormat.YUV_422_HDYC: | ||
| 299 | + texWidth = _width / 2; | ||
| 300 | + break; | ||
| 301 | + } | ||
| 302 | + | ||
| 303 | + _usedTextureWidth = texWidth; | ||
| 304 | + _usedTextureHeight = _height; | ||
| 305 | + _rawTexture = Texture2D.CreateExternalTexture(texWidth, _height, textureFormat, false, false, texPtr); | ||
| 306 | + | ||
| 307 | + _rawTexture.wrapMode = TextureWrapMode.Clamp; | ||
| 308 | + _rawTexture.filterMode = FilterMode.Point; | ||
| 309 | + _rawTexture.name = "AVProWindowsMedia-RawExternal"; | ||
| 310 | + | ||
| 311 | + _isExternalTexture = true; | ||
| 312 | + } | ||
| 313 | + } | ||
| 314 | +#endif | ||
| 315 | + | ||
| 316 | + private void CreateTexture() | ||
| 317 | + { | ||
| 318 | + _usedTextureWidth = _width; | ||
| 319 | + _usedTextureHeight = _height; | ||
| 320 | + | ||
| 321 | + // Calculate texture size and format | ||
| 322 | + int textureWidth = _usedTextureWidth; | ||
| 323 | + int textureHeight = _usedTextureHeight; | ||
| 324 | + TextureFormat textureFormat = TextureFormat.RGBA32; | ||
| 325 | + | ||
| 326 | + | ||
| 327 | + switch (_sourceVideoFormat) | ||
| 328 | + { | ||
| 329 | + case AVProWindowsMediaPlugin.VideoFrameFormat.RAW_BGRA32: | ||
| 330 | + textureFormat = TextureFormat.RGBA32; | ||
| 331 | + if (SystemInfo.graphicsDeviceVersion.StartsWith("Direct3D 11")) | ||
| 332 | + { | ||
| 333 | +#if UNITY_5 | ||
| 334 | + // DX11 has red and blue channels swapped around | ||
| 335 | + if (SystemInfo.SupportsTextureFormat(TextureFormat.BGRA32)) | ||
| 336 | + textureFormat = TextureFormat.BGRA32; | ||
| 337 | +#endif | ||
| 338 | + } | ||
| 339 | + break; | ||
| 340 | + case AVProWindowsMediaPlugin.VideoFrameFormat.Hap_RGBA: | ||
| 341 | + case AVProWindowsMediaPlugin.VideoFrameFormat.Hap_RGB_HQ: | ||
| 342 | + textureFormat = TextureFormat.DXT5; | ||
| 343 | + break; | ||
| 344 | + case AVProWindowsMediaPlugin.VideoFrameFormat.Hap_RGB: | ||
| 345 | + textureFormat = TextureFormat.DXT1; | ||
| 346 | + break; | ||
| 347 | + case AVProWindowsMediaPlugin.VideoFrameFormat.YUV_422_YUY2: | ||
| 348 | + case AVProWindowsMediaPlugin.VideoFrameFormat.YUV_422_UYVY: | ||
| 349 | + case AVProWindowsMediaPlugin.VideoFrameFormat.YUV_422_HDYC: | ||
| 350 | + case AVProWindowsMediaPlugin.VideoFrameFormat.YUV_422_YVYU: | ||
| 351 | + case AVProWindowsMediaPlugin.VideoFrameFormat.YUV_420_NV12: | ||
| 352 | + textureFormat = TextureFormat.RGBA32; | ||
| 353 | + if (SystemInfo.graphicsDeviceVersion.StartsWith("Direct3D 11")) | ||
| 354 | + { | ||
| 355 | +#if UNITY_5 | ||
| 356 | + // DX11 has red and blue channels swapped around | ||
| 357 | + if (SystemInfo.SupportsTextureFormat(TextureFormat.BGRA32)) | ||
| 358 | + textureFormat = TextureFormat.BGRA32; | ||
| 359 | +#endif | ||
| 360 | + } | ||
| 361 | + _usedTextureWidth /= 2; // YCbCr422 modes need half width | ||
| 362 | + textureWidth = _usedTextureWidth; | ||
| 363 | + break; | ||
| 364 | + } | ||
| 365 | + | ||
| 366 | + bool requiresPOT = (SystemInfo.npotSupport == NPOTSupport.None); | ||
| 367 | + | ||
| 368 | + // If the texture isn't a power of 2 | ||
| 369 | + if (requiresPOT) | ||
| 370 | + { | ||
| 371 | + // We use a power-of-2 texture as Unity makes these internally anyway and not doing it seems to break things for texture updates | ||
| 372 | + if (!Mathf.IsPowerOfTwo(_width) || !Mathf.IsPowerOfTwo(_height)) | ||
| 373 | + { | ||
| 374 | + textureWidth = Mathf.NextPowerOfTwo(textureWidth); | ||
| 375 | + textureHeight = Mathf.NextPowerOfTwo(textureHeight); | ||
| 376 | + } | ||
| 377 | + } | ||
| 378 | + | ||
| 379 | + // Create texture that stores the initial raw frame | ||
| 380 | + // If there is already a texture, only destroy it if it's not the same requirements | ||
| 381 | + if (_rawTexture != null) | ||
| 382 | + { | ||
| 383 | + if (_rawTexture.width != textureWidth || | ||
| 384 | + _rawTexture.height != textureHeight || | ||
| 385 | + _rawTexture.format != textureFormat) | ||
| 386 | + { | ||
| 387 | + Texture2D.Destroy(_rawTexture); | ||
| 388 | + _rawTexture = null; | ||
| 389 | + } | ||
| 390 | + } | ||
| 391 | + | ||
| 392 | + if (_rawTexture == null) | ||
| 393 | + { | ||
| 394 | + bool isLinear = true; | ||
| 395 | + if (!_requiresConversion) | ||
| 396 | + { | ||
| 397 | + if (AVProWindowsMediaPlugin.VideoFrameFormat.Hap_RGBA == _sourceVideoFormat || | ||
| 398 | + AVProWindowsMediaPlugin.VideoFrameFormat.Hap_RGB == _sourceVideoFormat || | ||
| 399 | + AVProWindowsMediaPlugin.VideoFrameFormat.RAW_BGRA32 == _sourceVideoFormat) | ||
| 400 | + { | ||
| 401 | + isLinear = false; | ||
| 402 | + } | ||
| 403 | + } | ||
| 404 | + | ||
| 405 | + _rawTexture = new Texture2D(textureWidth, textureHeight, textureFormat, false, isLinear); | ||
| 406 | + _rawTexture.wrapMode = TextureWrapMode.Clamp; | ||
| 407 | + _rawTexture.filterMode = FilterMode.Point; | ||
| 408 | + _rawTexture.name = "AVProWindowsMedia-RawTexture"; | ||
| 409 | + _rawTexture.Apply(false, true); | ||
| 410 | + _isExternalTexture = false; | ||
| 411 | + } | ||
| 412 | + } | ||
| 413 | + | ||
| 414 | + private void CreateRenderTexture() | ||
| 415 | + { | ||
| 416 | + // Create RenderTexture for post transformed frames | ||
| 417 | + // If there is already a renderTexture, only destroy it smaller than desired size | ||
| 418 | + if (_finalTexture != null) | ||
| 419 | + { | ||
| 420 | + if (_finalTexture.width != _width || _finalTexture.height != _height) | ||
| 421 | + { | ||
| 422 | + RenderTexture.ReleaseTemporary(_finalTexture); | ||
| 423 | + _finalTexture = null; | ||
| 424 | + } | ||
| 425 | + } | ||
| 426 | + | ||
| 427 | + if (_finalTexture == null) | ||
| 428 | + { | ||
| 429 | + ValidPicture = false; | ||
| 430 | + _finalTexture = RenderTexture.GetTemporary(_width, _height, 0, RenderTextureFormat.ARGB32, RenderTextureReadWrite.sRGB); | ||
| 431 | + _finalTexture.wrapMode = TextureWrapMode.Clamp; | ||
| 432 | + _finalTexture.filterMode = FilterMode.Bilinear; | ||
| 433 | + _finalTexture.name = "AVProWindowsMedia-FinalTexture"; | ||
| 434 | + _finalTexture.Create(); | ||
| 435 | + } | ||
| 436 | + } | ||
| 437 | + | ||
| 438 | + private void DoFormatConversion() | ||
| 439 | + { | ||
| 440 | + if (_finalTexture == null) | ||
| 441 | + return; | ||
| 442 | + | ||
| 443 | + _finalTexture.DiscardContents(); | ||
| 444 | + | ||
| 445 | + RenderTexture prev = RenderTexture.active; | ||
| 446 | + if (!_requiresTextureCrop) | ||
| 447 | + { | ||
| 448 | + Graphics.Blit(_rawTexture, _finalTexture, _conversionMaterial, 0); | ||
| 449 | + } | ||
| 450 | + else | ||
| 451 | + { | ||
| 452 | + RenderTexture.active = _finalTexture; | ||
| 453 | + | ||
| 454 | + _conversionMaterial.SetPass(0); | ||
| 455 | + | ||
| 456 | + GL.PushMatrix(); | ||
| 457 | + GL.LoadOrtho(); | ||
| 458 | + DrawQuad(_uv); | ||
| 459 | + GL.PopMatrix(); | ||
| 460 | + | ||
| 461 | + } | ||
| 462 | + RenderTexture.active = prev; | ||
| 463 | + | ||
| 464 | + ValidPicture = true; | ||
| 465 | + } | ||
| 466 | + | ||
| 467 | + private void SetFlip(bool flipX, bool flipY) | ||
| 468 | + { | ||
| 469 | + _flipX = flipX; | ||
| 470 | + _flipY = flipY; | ||
| 471 | + | ||
| 472 | + if (_requiresTextureCrop) | ||
| 473 | + { | ||
| 474 | + CreateUVs(_flipX, _flipY); | ||
| 475 | + } | ||
| 476 | + else | ||
| 477 | + { | ||
| 478 | + if (_conversionMaterial != null) | ||
| 479 | + { | ||
| 480 | + // Flip and then offset back to get back to normalised range | ||
| 481 | + Vector2 scale = new Vector2(1f, 1f); | ||
| 482 | + Vector2 offset = new Vector2(0f, 0f); | ||
| 483 | + if (_flipX) | ||
| 484 | + { | ||
| 485 | + scale = new Vector2(-1f, scale.y); | ||
| 486 | + offset = new Vector2(1f, offset.y); | ||
| 487 | + } | ||
| 488 | + if (_flipY) | ||
| 489 | + { | ||
| 490 | + scale = new Vector2(scale.x, -1f); | ||
| 491 | + offset = new Vector2(offset.x, 1f); | ||
| 492 | + } | ||
| 493 | + | ||
| 494 | + _conversionMaterial.mainTextureScale = scale; | ||
| 495 | + _conversionMaterial.mainTextureOffset = offset; | ||
| 496 | + // Since Unity 5.3 Graphics.Blit ignores mainTextureOffset/Scale | ||
| 497 | +#if UNITY_5 && !UNITY_5_0 && !UNITY_5_1 && !UNITY_5_2 | ||
| 498 | + _conversionMaterial.SetVector("_MainTex_ST2", new Vector4(scale.x, scale.y, offset.x, offset.y)); | ||
| 499 | +#endif | ||
| 500 | + } | ||
| 501 | + } | ||
| 502 | + } | ||
| 503 | + | ||
| 504 | + private void CreateUVs(bool invertX, bool invertY) | ||
| 505 | + { | ||
| 506 | + float x1, x2; | ||
| 507 | + float y1, y2; | ||
| 508 | + if (invertX) | ||
| 509 | + { | ||
| 510 | + x1 = 1.0f; x2 = 0.0f; | ||
| 511 | + } | ||
| 512 | + else | ||
| 513 | + { | ||
| 514 | + x1 = 0.0f; x2 = 1.0f; | ||
| 515 | + } | ||
| 516 | + if (invertY) | ||
| 517 | + { | ||
| 518 | + y1 = 1.0f; y2 = 0.0f; | ||
| 519 | + } | ||
| 520 | + else | ||
| 521 | + { | ||
| 522 | + y1 = 0.0f; y2 = 1.0f; | ||
| 523 | + } | ||
| 524 | + | ||
| 525 | + // Alter UVs if we're only using a portion of the texture | ||
| 526 | + if (_usedTextureWidth != _rawTexture.width) | ||
| 527 | + { | ||
| 528 | + float xd = _usedTextureWidth / (float)_rawTexture.width; | ||
| 529 | + x1 *= xd; x2 *= xd; | ||
| 530 | + } | ||
| 531 | + if (_usedTextureHeight != _rawTexture.height) | ||
| 532 | + { | ||
| 533 | + float yd = _usedTextureHeight / (float)_rawTexture.height; | ||
| 534 | + y1 *= yd; y2 *= yd; | ||
| 535 | + } | ||
| 536 | + | ||
| 537 | + _uv = new Vector4(x1, y1, x2, y2); | ||
| 538 | + } | ||
| 539 | + | ||
| 540 | + private static void DrawQuad(Vector4 uv) | ||
| 541 | + { | ||
| 542 | + GL.Begin(GL.QUADS); | ||
| 543 | + | ||
| 544 | + GL.TexCoord2(uv.x, uv.y); | ||
| 545 | + GL.Vertex3(0.0f, 0.0f, 0.1f); | ||
| 546 | + | ||
| 547 | + GL.TexCoord2(uv.z, uv.y); | ||
| 548 | + GL.Vertex3(1.0f, 0.0f, 0.1f); | ||
| 549 | + | ||
| 550 | + GL.TexCoord2(uv.z, uv.w); | ||
| 551 | + GL.Vertex3(1.0f, 1.0f, 0.1f); | ||
| 552 | + | ||
| 553 | + GL.TexCoord2(uv.x, uv.w); | ||
| 554 | + GL.Vertex3(0.0f, 1.0f, 0.1f); | ||
| 555 | + | ||
| 556 | + GL.End(); | ||
| 557 | + } | ||
| 558 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +using UnityEngine; | ||
| 2 | +using System.Text; | ||
| 3 | +using System.Collections.Generic; | ||
| 4 | +using System.Runtime.InteropServices; | ||
| 5 | + | ||
| 6 | +//----------------------------------------------------------------------------- | ||
| 7 | +// Copyright 2012-2016 RenderHeads Ltd. All rights reserved. | ||
| 8 | +//----------------------------------------------------------------------------- | ||
| 9 | + | ||
| 10 | +public class AVProWindowsMediaPlugin | ||
| 11 | +{ | ||
| 12 | + public enum VideoFrameFormat | ||
| 13 | + { | ||
| 14 | + RAW_BGRA32, | ||
| 15 | + YUV_422_YUY2, | ||
| 16 | + YUV_422_UYVY, | ||
| 17 | + YUV_422_YVYU, | ||
| 18 | + YUV_422_HDYC, | ||
| 19 | + YUV_420_NV12=7, | ||
| 20 | + | ||
| 21 | + Hap_RGB=9, // Standard quality 24-bit RGB, using DXT1 compression | ||
| 22 | + Hap_RGBA, // Standard quality 32-bit RGBA, using DXT5 compression | ||
| 23 | + Hap_RGB_HQ, // High quality 24-bit, using DXT5 compression with YCoCg color-space trick | ||
| 24 | + } | ||
| 25 | + | ||
| 26 | + // Used by GL.IssuePluginEvent | ||
| 27 | + public const int PluginID = 0xFA10000; | ||
| 28 | + public enum PluginEvent | ||
| 29 | + { | ||
| 30 | + UpdateAllTextures = 0, | ||
| 31 | + } | ||
| 32 | + | ||
| 33 | +#if UNITY_5 && !UNITY_5_0 && !UNITY_5_1 | ||
| 34 | + [DllImport("AVProWindowsMedia")] | ||
| 35 | + public static extern System.IntPtr GetRenderEventFunc(); | ||
| 36 | +#endif | ||
| 37 | + | ||
| 38 | + ////////////////////////////////////////////////////////////////////////// | ||
| 39 | + // Initialisation | ||
| 40 | + | ||
| 41 | + [DllImport("AVProWindowsMedia")] | ||
| 42 | + public static extern bool Init(); | ||
| 43 | + | ||
| 44 | + [DllImport("AVProWindowsMedia")] | ||
| 45 | + public static extern void Deinit(); | ||
| 46 | + | ||
| 47 | + [DllImport("AVProWindowsMedia")] | ||
| 48 | + public static extern void SetUnityFeatures(bool supportExternalTextures); | ||
| 49 | + | ||
| 50 | + | ||
| 51 | + [DllImport("AVProWindowsMedia")] | ||
| 52 | + public static extern float GetPluginVersion(); | ||
| 53 | + | ||
| 54 | + // Open and Close handle | ||
| 55 | + | ||
| 56 | + [DllImport("AVProWindowsMedia")] | ||
| 57 | + public static extern int GetInstanceHandle(); | ||
| 58 | + | ||
| 59 | + [DllImport("AVProWindowsMedia")] | ||
| 60 | + public static extern void FreeInstanceHandle(int handle); | ||
| 61 | + | ||
| 62 | + ////////////////////////////////////////////////////////////////////////// | ||
| 63 | + // Loading | ||
| 64 | + | ||
| 65 | + [DllImport("AVProWindowsMedia")] | ||
| 66 | + public static extern bool LoadMovie(int handle, System.IntPtr filename, bool playFromMemory, bool allowNativeFormat, bool allowAudio, bool useAudioDelay, bool useAudioMixer, bool useDisplaySync); | ||
| 67 | + | ||
| 68 | + [DllImport("AVProWindowsMedia")] | ||
| 69 | + public static extern bool LoadMovieFromMemory(int handle, System.IntPtr moviePointer, long movieLength, bool allowNativeFormat, bool allowAudio, bool useAudioDelay, bool useAudioMixer, bool useDisplaySync); | ||
| 70 | + | ||
| 71 | + | ||
| 72 | + ////////////////////////////////////////////////////////////////////////// | ||
| 73 | + // Get Properties | ||
| 74 | + | ||
| 75 | + [DllImport("AVProWindowsMedia")] | ||
| 76 | + public static extern int GetWidth(int handle); | ||
| 77 | + | ||
| 78 | + [DllImport("AVProWindowsMedia")] | ||
| 79 | + public static extern int GetHeight(int handle); | ||
| 80 | + | ||
| 81 | + [DllImport("AVProWindowsMedia")] | ||
| 82 | + public static extern float GetFrameRate(int handle); | ||
| 83 | + | ||
| 84 | + [DllImport("AVProWindowsMedia")] | ||
| 85 | + public static extern long GetFrameDuration(int handle); | ||
| 86 | + | ||
| 87 | + [DllImport("AVProWindowsMedia")] | ||
| 88 | + public static extern int GetFormat(int handle); | ||
| 89 | + | ||
| 90 | + [DllImport("AVProWindowsMedia")] | ||
| 91 | + public static extern float GetDurationSeconds(int handle); | ||
| 92 | + | ||
| 93 | + [DllImport("AVProWindowsMedia")] | ||
| 94 | + public static extern uint GetDurationFrames(int handle); | ||
| 95 | + | ||
| 96 | + [DllImport("AVProWindowsMedia")] | ||
| 97 | + public static extern bool IsOrientedTopDown(int handle); | ||
| 98 | + | ||
| 99 | + ////////////////////////////////////////////////////////////////////////// | ||
| 100 | + // Playback | ||
| 101 | + | ||
| 102 | + [DllImport("AVProWindowsMedia")] | ||
| 103 | + public static extern void Play(int handle); | ||
| 104 | + | ||
| 105 | + [DllImport("AVProWindowsMedia")] | ||
| 106 | + public static extern void Pause(int handle); | ||
| 107 | + | ||
| 108 | + [DllImport("AVProWindowsMedia")] | ||
| 109 | + public static extern void Stop(int handle); | ||
| 110 | + | ||
| 111 | + ////////////////////////////////////////////////////////////////////////// | ||
| 112 | + // Seeking & Position | ||
| 113 | + | ||
| 114 | + [DllImport("AVProWindowsMedia")] | ||
| 115 | + public static extern void SeekUnit(int handle, float position); | ||
| 116 | + | ||
| 117 | + [DllImport("AVProWindowsMedia")] | ||
| 118 | + public static extern void SeekSeconds(int handle, float position); | ||
| 119 | + | ||
| 120 | + [DllImport("AVProWindowsMedia")] | ||
| 121 | + public static extern void SeekFrames(int handle, uint position); | ||
| 122 | + | ||
| 123 | + [DllImport("AVProWindowsMedia")] | ||
| 124 | + public static extern float GetCurrentPositionSeconds(int handle); | ||
| 125 | + | ||
| 126 | + [DllImport("AVProWindowsMedia")] | ||
| 127 | + public static extern uint GetCurrentPositionFrames(int handle); | ||
| 128 | + | ||
| 129 | + ////////////////////////////////////////////////////////////////////////// | ||
| 130 | + // Get Current State | ||
| 131 | + | ||
| 132 | + [DllImport("AVProWindowsMedia")] | ||
| 133 | + public static extern bool IsLooping(int handle); | ||
| 134 | + | ||
| 135 | + [DllImport("AVProWindowsMedia")] | ||
| 136 | + public static extern float GetPlaybackRate(int handle); | ||
| 137 | + | ||
| 138 | + [DllImport("AVProWindowsMedia")] | ||
| 139 | + public static extern float GetAudioBalance(int handle); | ||
| 140 | + | ||
| 141 | + [DllImport("AVProWindowsMedia")] | ||
| 142 | + public static extern bool IsFinishedPlaying(int handle); | ||
| 143 | + | ||
| 144 | + ////////////////////////////////////////////////////////////////////////// | ||
| 145 | + // Set Current State | ||
| 146 | + | ||
| 147 | + [DllImport("AVProWindowsMedia")] | ||
| 148 | + public static extern void SetVolume(int handle, float volume); | ||
| 149 | + | ||
| 150 | + [DllImport("AVProWindowsMedia")] | ||
| 151 | + public static extern void SetLooping(int handle, bool loop); | ||
| 152 | + | ||
| 153 | + [DllImport("AVProWindowsMedia")] | ||
| 154 | + public static extern void SetDisplayFrameRange(int handle, int min, int max); | ||
| 155 | + | ||
| 156 | + [DllImport("AVProWindowsMedia")] | ||
| 157 | + public static extern void SetPlaybackRate(int handle, float rate); | ||
| 158 | + | ||
| 159 | + [DllImport("AVProWindowsMedia")] | ||
| 160 | + public static extern void SetAudioBalance(int handle, float balance); | ||
| 161 | + | ||
| 162 | + [DllImport("AVProWindowsMedia")] | ||
| 163 | + public static extern void SetAudioChannelMatrix(int handle, float[] values, int numValues); | ||
| 164 | + | ||
| 165 | + [DllImport("AVProWindowsMedia")] | ||
| 166 | + public static extern void SetAudioDelay(int handle, int ms); | ||
| 167 | + | ||
| 168 | + ////////////////////////////////////////////////////////////////////////// | ||
| 169 | + // Update | ||
| 170 | + | ||
| 171 | + [DllImport("AVProWindowsMedia")] | ||
| 172 | + public static extern bool Update(int handle); | ||
| 173 | + | ||
| 174 | + ////////////////////////////////////////////////////////////////////////// | ||
| 175 | + // Frame Update | ||
| 176 | + | ||
| 177 | + [DllImport("AVProWindowsMedia")] | ||
| 178 | + public static extern bool IsNextFrameReadyForGrab(int handle); | ||
| 179 | + | ||
| 180 | + [DllImport("AVProWindowsMedia")] | ||
| 181 | + public static extern int GetLastFrameUploaded(int handle); | ||
| 182 | + | ||
| 183 | + [DllImport("AVProWindowsMedia")] | ||
| 184 | + public static extern bool UpdateTextureGL(int handle, int textureID, ref int frameNumber); | ||
| 185 | + | ||
| 186 | + [DllImport("AVProWindowsMedia")] | ||
| 187 | + public static extern bool GetFramePixels(int handle, System.IntPtr data, int bufferWidth, int bufferHeight, ref int frameNumber); | ||
| 188 | + | ||
| 189 | + [DllImport("AVProWindowsMedia")] | ||
| 190 | + public static extern bool SetTexturePointer(int handle, System.IntPtr data); | ||
| 191 | + | ||
| 192 | + [DllImport("AVProWindowsMedia")] | ||
| 193 | + public static extern System.IntPtr GetTexturePointer(int handle); | ||
| 194 | + | ||
| 195 | + ////////////////////////////////////////////////////////////////////////// | ||
| 196 | + // Live Stats | ||
| 197 | + | ||
| 198 | + [DllImport("AVProWindowsMedia")] | ||
| 199 | + public static extern float GetCaptureFrameRate(int handle); | ||
| 200 | + | ||
| 201 | + ////////////////////////////////////////////////////////////////////////// | ||
| 202 | + // Internal Frame Buffering | ||
| 203 | + | ||
| 204 | + [DllImport("AVProWindowsMedia")] | ||
| 205 | + public static extern void SetFrameBufferSize(int handle, int read, int write); | ||
| 206 | + | ||
| 207 | + [DllImport("AVProWindowsMedia")] | ||
| 208 | + public static extern long GetLastFrameBufferedTime(int handle); | ||
| 209 | + | ||
| 210 | + [DllImport("AVProWindowsMedia")] | ||
| 211 | + public static extern System.IntPtr GetLastFrameBuffered(int handle); | ||
| 212 | + | ||
| 213 | + [DllImport("AVProWindowsMedia")] | ||
| 214 | + public static extern System.IntPtr GetFrameFromBufferAtTime(int handle, long time); | ||
| 215 | + | ||
| 216 | + ////////////////////////////////////////////////////////////////////////// | ||
| 217 | + // Debugging | ||
| 218 | + | ||
| 219 | + [DllImport("AVProWindowsMedia")] | ||
| 220 | + public static extern int GetNumFrameBuffers(int handle); | ||
| 221 | + | ||
| 222 | + [DllImport("AVProWindowsMedia")] | ||
| 223 | + public static extern void GetFrameBufferTimes(int handle, System.IntPtr dest, int destSizeBytes); | ||
| 224 | + | ||
| 225 | + [DllImport("AVProWindowsMedia")] | ||
| 226 | + public static extern void FlushFrameBuffers(int handle); | ||
| 227 | + | ||
| 228 | + [DllImport("AVProWindowsMedia")] | ||
| 229 | + public static extern int GetLastBufferUploaded(int handle); | ||
| 230 | + [DllImport("AVProWindowsMedia")] | ||
| 231 | + public static extern int GetReadWriteBufferDistance(int handle); | ||
| 232 | + | ||
| 233 | + //----------------------------------------------------------------------------- | ||
| 234 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +fileFormatVersion: 2 | ||
| 2 | +guid: 1883b52fd178d214aa160399814758cb | ||
| 3 | +labels: | ||
| 4 | +- DIRECTSHOW | ||
| 5 | +- MOVIE | ||
| 6 | +- VIDEO | ||
| 7 | +- AVI | ||
| 8 | +- WMV | ||
| 9 | +- MEDIA | ||
| 10 | +- MP4 | ||
| 11 | +- H264 | ||
| 12 | +MonoImporter: | ||
| 13 | + serializedVersion: 2 | ||
| 14 | + defaultReferences: [] | ||
| 15 | + executionOrder: 0 | ||
| 16 | + icon: {instanceID: 0} | ||
| 17 | + userData: | ||
| 18 | + assetBundleName: | ||
| 19 | + assetBundleVariant: |
Assets/Plugins.meta
0 → 100644
Assets/Plugins/x86.meta
0 → 100644
Assets/Plugins/x86/AVProWindowsMedia.dll
0 → 100644
No preview for this file type
Assets/Plugins/x86_64.meta
0 → 100644
Assets/Plugins/x86_64/AVProWindowsMedia.dll
0 → 100644
No preview for this file type
Assets/StreamingAssets.meta
0 → 100644
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
This file is too large to display.
No preview for this file type
Assets/_Nest.meta
0 → 100644
Assets/_Nest/Movie.prefab
0 → 100644
No preview for this file type
Assets/_Nest/Movie.prefab.meta
0 → 100644
Assets/_Nest/Prefabs.meta
0 → 100644
Assets/_Nest/Prefabs/networkUser.prefab
0 → 100644
No preview for this file type
Assets/_Nest/Prefabs/networkUser.prefab.meta
0 → 100644
Assets/_Nest/Scenes.meta
0 → 100644
Assets/_Nest/Scenes/wallApp.unity
0 → 100644
No preview for this file type
Assets/_Nest/Scenes/wallApp.unity.meta
0 → 100644
Assets/_Nest/Scripts.meta
0 → 100644
Assets/_Nest/Scripts/MovieLoader.cs
0 → 100644
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | + | ||
| 4 | +public class MovieLoader : Singleton<MovieLoader> | ||
| 5 | +{ | ||
| 6 | + public AVProWindowsMediaMovie movieScript; | ||
| 7 | + | ||
| 8 | + void Start () { | ||
| 9 | + | ||
| 10 | + } | ||
| 11 | + | ||
| 12 | + void Update () | ||
| 13 | + { | ||
| 14 | + if (Input.GetKeyDown(KeyCode.Space)) | ||
| 15 | + LoadMovie("sample-1920x1024-divx.avi"); | ||
| 16 | + } | ||
| 17 | + | ||
| 18 | + public void LoadMovie(string filename) | ||
| 19 | + { | ||
| 20 | + movieScript._filename = filename; | ||
| 21 | + movieScript.LoadMovie(true); | ||
| 22 | + } | ||
| 23 | +} |
Assets/_Nest/Scripts/MovieLoader.cs.meta
0 → 100644
Assets/_Nest/Scripts/NetworkUser.cs
0 → 100644
| 1 | +using UnityEngine; | ||
| 2 | +using System.Collections; | ||
| 3 | +using UnityEngine.Networking; | ||
| 4 | + | ||
| 5 | +public class NetworkUser : NetworkBehaviour | ||
| 6 | +{ | ||
| 7 | + void Start () { | ||
| 8 | + | ||
| 9 | + } | ||
| 10 | + | ||
| 11 | + void Update () | ||
| 12 | + { | ||
| 13 | + if (Input.GetKeyDown(KeyCode.Q)) | ||
| 14 | + CmdLoadVideo("sample-1920x1024-divx.avi"); | ||
| 15 | + } | ||
| 16 | + | ||
| 17 | + [Command] | ||
| 18 | + private void CmdLoadVideo(string file) | ||
| 19 | + { | ||
| 20 | + MovieLoader.Instance.LoadMovie(file); | ||
| 21 | + } | ||
| 22 | +} |
Assets/_Nest/Scripts/NetworkUser.cs.meta
0 → 100644
Assets/_Nest/Scripts/Singleton.cs
0 → 100644
| 1 | +using UnityEngine; | ||
| 2 | + | ||
| 3 | +public class Singleton<T> : MonoBehaviour where T : MonoBehaviour | ||
| 4 | +{ | ||
| 5 | + private static T instance; | ||
| 6 | + | ||
| 7 | + public static T Instance | ||
| 8 | + { | ||
| 9 | + get | ||
| 10 | + { | ||
| 11 | + if (instance == null) | ||
| 12 | + instance = (T)FindObjectOfType(typeof(T)); | ||
| 13 | + | ||
| 14 | + return instance; | ||
| 15 | + } | ||
| 16 | + } | ||
| 17 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
Assets/_Nest/Scripts/Singleton.cs.meta
0 → 100644
Assets/_Nest/Scripts/iTween.cs
0 → 100644
This diff could not be displayed because it is too large.
Assets/_Nest/Scripts/iTween.cs.meta
0 → 100644
No preview for this file type
No preview for this file type
No preview for this file type
-
Please register or sign in to post a comment