├── .gitignore ├── Assets ├── StreamingAssets.meta ├── StreamingAssets │ ├── img.meta │ └── img │ │ ├── sample.jpg │ │ ├── sample.jpg.meta │ │ ├── sample2.jpg │ │ └── sample2.jpg.meta ├── TextureLoader.meta └── TextureLoader │ ├── Sample.meta │ ├── Sample │ ├── TestTextureLoader.unity │ ├── TestTextureLoader.unity.meta │ ├── TextureChange.anim │ ├── TextureChange.anim.meta │ ├── TextureStreamingLoader.controller │ └── TextureStreamingLoader.controller.meta │ ├── Scripts.meta │ └── Scripts │ ├── Editor.meta │ ├── Editor │ ├── CreateTool.cs │ ├── CreateTool.cs.meta │ ├── TextureLoaderEditor.cs │ ├── TextureLoaderEditor.cs.meta │ ├── TextureStreamingLoaderEditor.cs │ └── TextureStreamingLoaderEditor.cs.meta │ ├── TextureLoader.cs │ ├── TextureLoader.cs.meta │ ├── TextureStreamingLoader.cs │ └── TextureStreamingLoader.cs.meta ├── LICENSE ├── Packages └── manifest.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NavMeshLayers.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset └── UnityConnectSettings.asset └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | Library 2 | Temp 3 | *.csproj 4 | *.sln 5 | *.pidb 6 | *.userprefs 7 | *.unityproj### https://raw.github.com/github/gitignore/5a7a3cddf3fcecb926a84019f58abf0c43730a61/Unity.gitignore 8 | 9 | [Ll]ibrary/ 10 | [Tt]emp/ 11 | [Oo]bj/ 12 | [Bb]uild/ 13 | [Bb]uilds/ 14 | Assets/AssetStoreTools* 15 | 16 | # Visual Studio cache directory 17 | .vs/ 18 | 19 | # Autogenerated VS/MD/Consulo solution and project files 20 | ExportedObj/ 21 | .consulo/ 22 | *.csproj 23 | *.unityproj 24 | *.sln 25 | *.suo 26 | *.tmp 27 | *.user 28 | *.userprefs 29 | *.pidb 30 | *.booproj 31 | *.svd 32 | *.pdb 33 | *.opendb 34 | 35 | # Unity3D generated meta files 36 | *.pidb.meta 37 | *.pdb.meta 38 | 39 | # Unity3D Generated File On Crash Reports 40 | sysinfo.txt 41 | 42 | # Builds 43 | *.apk 44 | *.unitypackage 45 | 46 | 47 | -------------------------------------------------------------------------------- /Assets/StreamingAssets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2193d25c0eb4f465c9fe100be1b38516 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/StreamingAssets/img.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5880a116a713f4d3aad061eac93e4e29 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/StreamingAssets/img/sample.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asus4/UnityTextureLoader/ce3d4a01db730f1c63af90f23a3ef8a6dbdefed5/Assets/StreamingAssets/img/sample.jpg -------------------------------------------------------------------------------- /Assets/StreamingAssets/img/sample.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf385e4807e3945d48107362bca9bca7 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/StreamingAssets/img/sample2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asus4/UnityTextureLoader/ce3d4a01db730f1c63af90f23a3ef8a6dbdefed5/Assets/StreamingAssets/img/sample2.jpg -------------------------------------------------------------------------------- /Assets/StreamingAssets/img/sample2.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48e0f9e1a2ce643749ff1e56ac10f8ea 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/TextureLoader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 305cf03d57dc048ee97fd9311e924944 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextureLoader/Sample.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9440289668cca45128e0cdcae6cb7643 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextureLoader/Sample/TestTextureLoader.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} 24 | m_AmbientEquatorColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} 25 | m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 3 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 0} 41 | m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &4 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 1 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_TemporalCoherenceThreshold: 1 54 | m_EnvironmentLightingMode: 0 55 | m_EnableBakedLightmaps: 1 56 | m_EnableRealtimeLightmaps: 0 57 | m_LightmapEditorSettings: 58 | serializedVersion: 10 59 | m_Resolution: 1 60 | m_BakeResolution: 50 61 | m_AtlasSize: 1024 62 | m_AO: 1 63 | m_AOMaxDistance: 1 64 | m_CompAOExponent: 1 65 | m_CompAOExponentDirect: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 0 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 1 75 | m_BakeBackend: 0 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVRFilterTypeDirect: 0 81 | m_PVRFilterTypeIndirect: 0 82 | m_PVRFilterTypeAO: 0 83 | m_PVRFilteringMode: 0 84 | m_PVRCulling: 1 85 | m_PVRFilteringGaussRadiusDirect: 1 86 | m_PVRFilteringGaussRadiusIndirect: 5 87 | m_PVRFilteringGaussRadiusAO: 2 88 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 89 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 90 | m_PVRFilteringAtrousPositionSigmaAO: 1 91 | m_ShowResolutionOverlay: 1 92 | m_LightingDataAsset: {fileID: 0} 93 | m_UseShadowmask: 0 94 | --- !u!196 &5 95 | NavMeshSettings: 96 | serializedVersion: 2 97 | m_ObjectHideFlags: 0 98 | m_BuildSettings: 99 | serializedVersion: 2 100 | agentTypeID: 0 101 | agentRadius: 0.5 102 | agentHeight: 2 103 | agentSlope: 45 104 | agentClimb: 0.4 105 | ledgeDropHeight: 0 106 | maxJumpAcrossDistance: 0 107 | minRegionArea: 2 108 | manualCellSize: 0 109 | cellSize: 0.16666666 110 | manualTileSize: 0 111 | tileSize: 256 112 | accuratePlacement: 0 113 | debug: 114 | m_Flags: 0 115 | m_NavMeshData: {fileID: 0} 116 | --- !u!43 &138813112 117 | Mesh: 118 | m_ObjectHideFlags: 0 119 | m_PrefabParentObject: {fileID: 0} 120 | m_PrefabInternal: {fileID: 0} 121 | m_Name: 122 | serializedVersion: 8 123 | m_SubMeshes: 124 | - serializedVersion: 2 125 | firstByte: 0 126 | indexCount: 6 127 | topology: 0 128 | baseVertex: 0 129 | firstVertex: 0 130 | vertexCount: 4 131 | localAABB: 132 | m_Center: {x: 0, y: 0, z: 0} 133 | m_Extent: {x: 0.5, y: 0.5, z: 0} 134 | m_Shapes: 135 | vertices: [] 136 | shapes: [] 137 | channels: [] 138 | fullWeights: [] 139 | m_BindPose: [] 140 | m_BoneNameHashes: 141 | m_RootBoneNameHash: 0 142 | m_MeshCompression: 0 143 | m_IsReadable: 1 144 | m_KeepVertices: 1 145 | m_KeepIndices: 1 146 | m_IndexFormat: 0 147 | m_IndexBuffer: 000001000200000002000300 148 | m_Skin: [] 149 | m_VertexData: 150 | serializedVersion: 2 151 | m_VertexCount: 4 152 | m_Channels: 153 | - stream: 0 154 | offset: 0 155 | format: 0 156 | dimension: 3 157 | - stream: 0 158 | offset: 0 159 | format: 0 160 | dimension: 0 161 | - stream: 0 162 | offset: 0 163 | format: 0 164 | dimension: 0 165 | - stream: 0 166 | offset: 0 167 | format: 0 168 | dimension: 0 169 | - stream: 0 170 | offset: 12 171 | format: 0 172 | dimension: 2 173 | - stream: 0 174 | offset: 0 175 | format: 0 176 | dimension: 0 177 | - stream: 0 178 | offset: 0 179 | format: 0 180 | dimension: 0 181 | - stream: 0 182 | offset: 0 183 | format: 0 184 | dimension: 0 185 | - stream: 0 186 | offset: 0 187 | format: 0 188 | dimension: 0 189 | - stream: 0 190 | offset: 0 191 | format: 0 192 | dimension: 0 193 | - stream: 0 194 | offset: 0 195 | format: 0 196 | dimension: 0 197 | - stream: 0 198 | offset: 0 199 | format: 0 200 | dimension: 0 201 | m_DataSize: 80 202 | _typelessdata: 000000bf000000bf000000000000000000000000000000bf0000003f00000000000000000000803f0000003f0000003f000000000000803f0000803f0000003f000000bf000000000000803f00000000 203 | m_CompressedMesh: 204 | m_Vertices: 205 | m_NumItems: 0 206 | m_Range: 0 207 | m_Start: 0 208 | m_Data: 209 | m_BitSize: 0 210 | m_UV: 211 | m_NumItems: 0 212 | m_Range: 0 213 | m_Start: 0 214 | m_Data: 215 | m_BitSize: 0 216 | m_Normals: 217 | m_NumItems: 0 218 | m_Range: 0 219 | m_Start: 0 220 | m_Data: 221 | m_BitSize: 0 222 | m_Tangents: 223 | m_NumItems: 0 224 | m_Range: 0 225 | m_Start: 0 226 | m_Data: 227 | m_BitSize: 0 228 | m_Weights: 229 | m_NumItems: 0 230 | m_Data: 231 | m_BitSize: 0 232 | m_NormalSigns: 233 | m_NumItems: 0 234 | m_Data: 235 | m_BitSize: 0 236 | m_TangentSigns: 237 | m_NumItems: 0 238 | m_Data: 239 | m_BitSize: 0 240 | m_FloatColors: 241 | m_NumItems: 0 242 | m_Range: 0 243 | m_Start: 0 244 | m_Data: 245 | m_BitSize: 0 246 | m_BoneIndices: 247 | m_NumItems: 0 248 | m_Data: 249 | m_BitSize: 0 250 | m_Triangles: 251 | m_NumItems: 0 252 | m_Data: 253 | m_BitSize: 0 254 | m_UVInfo: 0 255 | m_LocalAABB: 256 | m_Center: {x: 0, y: 0, z: 0} 257 | m_Extent: {x: 0.5, y: 0.5, z: 0} 258 | m_MeshUsageFlags: 0 259 | m_BakedConvexCollisionMesh: 260 | m_BakedTriangleCollisionMesh: 261 | m_MeshOptimized: 0 262 | --- !u!1 &1647418685 263 | GameObject: 264 | m_ObjectHideFlags: 0 265 | m_PrefabParentObject: {fileID: 0} 266 | m_PrefabInternal: {fileID: 0} 267 | serializedVersion: 5 268 | m_Component: 269 | - component: {fileID: 1647418690} 270 | - component: {fileID: 1647418689} 271 | - component: {fileID: 1647418688} 272 | - component: {fileID: 1647418687} 273 | - component: {fileID: 1647418686} 274 | m_Layer: 0 275 | m_Name: Main Camera 276 | m_TagString: MainCamera 277 | m_Icon: {fileID: 0} 278 | m_NavMeshLayer: 0 279 | m_StaticEditorFlags: 0 280 | m_IsActive: 1 281 | --- !u!81 &1647418686 282 | AudioListener: 283 | m_ObjectHideFlags: 0 284 | m_PrefabParentObject: {fileID: 0} 285 | m_PrefabInternal: {fileID: 0} 286 | m_GameObject: {fileID: 1647418685} 287 | m_Enabled: 1 288 | --- !u!124 &1647418687 289 | Behaviour: 290 | m_ObjectHideFlags: 0 291 | m_PrefabParentObject: {fileID: 0} 292 | m_PrefabInternal: {fileID: 0} 293 | m_GameObject: {fileID: 1647418685} 294 | m_Enabled: 1 295 | --- !u!92 &1647418688 296 | Behaviour: 297 | m_ObjectHideFlags: 0 298 | m_PrefabParentObject: {fileID: 0} 299 | m_PrefabInternal: {fileID: 0} 300 | m_GameObject: {fileID: 1647418685} 301 | m_Enabled: 1 302 | --- !u!20 &1647418689 303 | Camera: 304 | m_ObjectHideFlags: 0 305 | m_PrefabParentObject: {fileID: 0} 306 | m_PrefabInternal: {fileID: 0} 307 | m_GameObject: {fileID: 1647418685} 308 | m_Enabled: 1 309 | serializedVersion: 2 310 | m_ClearFlags: 1 311 | m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0.019607844} 312 | m_NormalizedViewPortRect: 313 | serializedVersion: 2 314 | x: 0 315 | y: 0 316 | width: 1 317 | height: 1 318 | near clip plane: 0.3 319 | far clip plane: 1000 320 | field of view: 60 321 | orthographic: 0 322 | orthographic size: 100 323 | m_Depth: -1 324 | m_CullingMask: 325 | serializedVersion: 2 326 | m_Bits: 4294967295 327 | m_RenderingPath: -1 328 | m_TargetTexture: {fileID: 0} 329 | m_TargetDisplay: 0 330 | m_TargetEye: 3 331 | m_HDR: 0 332 | m_AllowMSAA: 1 333 | m_AllowDynamicResolution: 0 334 | m_ForceIntoRT: 0 335 | m_OcclusionCulling: 1 336 | m_StereoConvergence: 10 337 | m_StereoSeparation: 0.022 338 | --- !u!4 &1647418690 339 | Transform: 340 | m_ObjectHideFlags: 0 341 | m_PrefabParentObject: {fileID: 0} 342 | m_PrefabInternal: {fileID: 0} 343 | m_GameObject: {fileID: 1647418685} 344 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 345 | m_LocalPosition: {x: 0, y: 0, z: -4} 346 | m_LocalScale: {x: 1, y: 1, z: 1} 347 | m_Children: [] 348 | m_Father: {fileID: 0} 349 | m_RootOrder: 0 350 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 351 | --- !u!1 &1747602614 352 | GameObject: 353 | m_ObjectHideFlags: 0 354 | m_PrefabParentObject: {fileID: 0} 355 | m_PrefabInternal: {fileID: 0} 356 | serializedVersion: 5 357 | m_Component: 358 | - component: {fileID: 1747602618} 359 | - component: {fileID: 1747602617} 360 | - component: {fileID: 1747602616} 361 | - component: {fileID: 1747602615} 362 | - component: {fileID: 1747602619} 363 | m_Layer: 0 364 | m_Name: TextureStreamingLoader 365 | m_TagString: Untagged 366 | m_Icon: {fileID: 0} 367 | m_NavMeshLayer: 0 368 | m_StaticEditorFlags: 0 369 | m_IsActive: 1 370 | --- !u!114 &1747602615 371 | MonoBehaviour: 372 | m_ObjectHideFlags: 0 373 | m_PrefabParentObject: {fileID: 0} 374 | m_PrefabInternal: {fileID: 0} 375 | m_GameObject: {fileID: 1747602614} 376 | m_Enabled: 1 377 | m_EditorHideFlags: 0 378 | m_Script: {fileID: 11500000, guid: 74d6ae70c6ed3466892408567448dcd5, type: 3} 379 | m_Name: 380 | m_EditorClassIdentifier: 381 | url: img/sample.jpg 382 | autoStart: 1 383 | aspectFit: 1 384 | useCustomMaterial: 0 385 | --- !u!33 &1747602616 386 | MeshFilter: 387 | m_ObjectHideFlags: 0 388 | m_PrefabParentObject: {fileID: 0} 389 | m_PrefabInternal: {fileID: 0} 390 | m_GameObject: {fileID: 1747602614} 391 | m_Mesh: {fileID: 138813112} 392 | --- !u!23 &1747602617 393 | MeshRenderer: 394 | m_ObjectHideFlags: 0 395 | m_PrefabParentObject: {fileID: 0} 396 | m_PrefabInternal: {fileID: 0} 397 | m_GameObject: {fileID: 1747602614} 398 | m_Enabled: 1 399 | m_CastShadows: 0 400 | m_ReceiveShadows: 0 401 | m_DynamicOccludee: 1 402 | m_MotionVectors: 1 403 | m_LightProbeUsage: 0 404 | m_ReflectionProbeUsage: 1 405 | m_RenderingLayerMask: 4294967295 406 | m_Materials: 407 | - {fileID: 0} 408 | m_StaticBatchInfo: 409 | firstSubMesh: 0 410 | subMeshCount: 0 411 | m_StaticBatchRoot: {fileID: 0} 412 | m_ProbeAnchor: {fileID: 0} 413 | m_LightProbeVolumeOverride: {fileID: 0} 414 | m_ScaleInLightmap: 1 415 | m_PreserveUVs: 0 416 | m_IgnoreNormalsForChartDetection: 0 417 | m_ImportantGI: 0 418 | m_StitchLightmapSeams: 0 419 | m_SelectedEditorRenderState: 3 420 | m_MinimumChartSize: 4 421 | m_AutoUVMaxDistance: 0.5 422 | m_AutoUVMaxAngle: 89 423 | m_LightmapParameters: {fileID: 0} 424 | m_SortingLayerID: 0 425 | m_SortingLayer: 0 426 | m_SortingOrder: 0 427 | --- !u!4 &1747602618 428 | Transform: 429 | m_ObjectHideFlags: 0 430 | m_PrefabParentObject: {fileID: 0} 431 | m_PrefabInternal: {fileID: 0} 432 | m_GameObject: {fileID: 1747602614} 433 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 434 | m_LocalPosition: {x: 0, y: -1, z: 0} 435 | m_LocalScale: {x: 1, y: 1, z: 1} 436 | m_Children: [] 437 | m_Father: {fileID: 0} 438 | m_RootOrder: 2 439 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 440 | --- !u!95 &1747602619 441 | Animator: 442 | serializedVersion: 3 443 | m_ObjectHideFlags: 0 444 | m_PrefabParentObject: {fileID: 0} 445 | m_PrefabInternal: {fileID: 0} 446 | m_GameObject: {fileID: 1747602614} 447 | m_Enabled: 1 448 | m_Avatar: {fileID: 0} 449 | m_Controller: {fileID: 9100000, guid: fbdf529cece644704a1d8e8c28b912cd, type: 2} 450 | m_CullingMode: 0 451 | m_UpdateMode: 0 452 | m_ApplyRootMotion: 0 453 | m_LinearVelocityBlending: 0 454 | m_WarningMessage: 455 | m_HasTransformHierarchy: 1 456 | m_AllowConstantClipSamplingOptimization: 1 457 | m_KeepAnimatorControllerStateOnDisable: 0 458 | --- !u!1 &1995494093 459 | GameObject: 460 | m_ObjectHideFlags: 0 461 | m_PrefabParentObject: {fileID: 0} 462 | m_PrefabInternal: {fileID: 0} 463 | serializedVersion: 5 464 | m_Component: 465 | - component: {fileID: 1995494097} 466 | - component: {fileID: 1995494096} 467 | - component: {fileID: 1995494095} 468 | - component: {fileID: 1995494094} 469 | m_Layer: 0 470 | m_Name: TextureLoader 471 | m_TagString: Untagged 472 | m_Icon: {fileID: 0} 473 | m_NavMeshLayer: 0 474 | m_StaticEditorFlags: 0 475 | m_IsActive: 1 476 | --- !u!114 &1995494094 477 | MonoBehaviour: 478 | m_ObjectHideFlags: 0 479 | m_PrefabParentObject: {fileID: 0} 480 | m_PrefabInternal: {fileID: 0} 481 | m_GameObject: {fileID: 1995494093} 482 | m_Enabled: 1 483 | m_EditorHideFlags: 0 484 | m_Script: {fileID: 11500000, guid: b31986a6d005047c7adc1888396d6842, type: 3} 485 | m_Name: 486 | m_EditorClassIdentifier: 487 | url: https://abs.twimg.com/a/1372371620/images/resources/twitter-bird-light-bgs.png 488 | autoStart: 1 489 | aspectFit: 1 490 | useCustomMaterial: 0 491 | --- !u!33 &1995494095 492 | MeshFilter: 493 | m_ObjectHideFlags: 0 494 | m_PrefabParentObject: {fileID: 0} 495 | m_PrefabInternal: {fileID: 0} 496 | m_GameObject: {fileID: 1995494093} 497 | m_Mesh: {fileID: 2091503411} 498 | --- !u!23 &1995494096 499 | MeshRenderer: 500 | m_ObjectHideFlags: 0 501 | m_PrefabParentObject: {fileID: 0} 502 | m_PrefabInternal: {fileID: 0} 503 | m_GameObject: {fileID: 1995494093} 504 | m_Enabled: 1 505 | m_CastShadows: 0 506 | m_ReceiveShadows: 0 507 | m_DynamicOccludee: 1 508 | m_MotionVectors: 1 509 | m_LightProbeUsage: 0 510 | m_ReflectionProbeUsage: 1 511 | m_RenderingLayerMask: 4294967295 512 | m_Materials: 513 | - {fileID: 0} 514 | m_StaticBatchInfo: 515 | firstSubMesh: 0 516 | subMeshCount: 0 517 | m_StaticBatchRoot: {fileID: 0} 518 | m_ProbeAnchor: {fileID: 0} 519 | m_LightProbeVolumeOverride: {fileID: 0} 520 | m_ScaleInLightmap: 1 521 | m_PreserveUVs: 0 522 | m_IgnoreNormalsForChartDetection: 0 523 | m_ImportantGI: 0 524 | m_StitchLightmapSeams: 0 525 | m_SelectedEditorRenderState: 3 526 | m_MinimumChartSize: 4 527 | m_AutoUVMaxDistance: 0.5 528 | m_AutoUVMaxAngle: 89 529 | m_LightmapParameters: {fileID: 0} 530 | m_SortingLayerID: 0 531 | m_SortingLayer: 0 532 | m_SortingOrder: 0 533 | --- !u!4 &1995494097 534 | Transform: 535 | m_ObjectHideFlags: 0 536 | m_PrefabParentObject: {fileID: 0} 537 | m_PrefabInternal: {fileID: 0} 538 | m_GameObject: {fileID: 1995494093} 539 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 540 | m_LocalPosition: {x: 0, y: 1, z: 0} 541 | m_LocalScale: {x: 1, y: 1, z: 1} 542 | m_Children: [] 543 | m_Father: {fileID: 0} 544 | m_RootOrder: 1 545 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 546 | --- !u!43 &2091503411 547 | Mesh: 548 | m_ObjectHideFlags: 0 549 | m_PrefabParentObject: {fileID: 0} 550 | m_PrefabInternal: {fileID: 0} 551 | m_Name: 552 | serializedVersion: 8 553 | m_SubMeshes: 554 | - serializedVersion: 2 555 | firstByte: 0 556 | indexCount: 6 557 | topology: 0 558 | baseVertex: 0 559 | firstVertex: 0 560 | vertexCount: 4 561 | localAABB: 562 | m_Center: {x: 0, y: 0, z: 0} 563 | m_Extent: {x: 0.5, y: 0.5, z: 0} 564 | m_Shapes: 565 | vertices: [] 566 | shapes: [] 567 | channels: [] 568 | fullWeights: [] 569 | m_BindPose: [] 570 | m_BoneNameHashes: 571 | m_RootBoneNameHash: 0 572 | m_MeshCompression: 0 573 | m_IsReadable: 1 574 | m_KeepVertices: 1 575 | m_KeepIndices: 1 576 | m_IndexFormat: 0 577 | m_IndexBuffer: 000001000200000002000300 578 | m_Skin: [] 579 | m_VertexData: 580 | serializedVersion: 2 581 | m_VertexCount: 4 582 | m_Channels: 583 | - stream: 0 584 | offset: 0 585 | format: 0 586 | dimension: 3 587 | - stream: 0 588 | offset: 0 589 | format: 0 590 | dimension: 0 591 | - stream: 0 592 | offset: 0 593 | format: 0 594 | dimension: 0 595 | - stream: 0 596 | offset: 0 597 | format: 0 598 | dimension: 0 599 | - stream: 0 600 | offset: 12 601 | format: 0 602 | dimension: 2 603 | - stream: 0 604 | offset: 0 605 | format: 0 606 | dimension: 0 607 | - stream: 0 608 | offset: 0 609 | format: 0 610 | dimension: 0 611 | - stream: 0 612 | offset: 0 613 | format: 0 614 | dimension: 0 615 | - stream: 0 616 | offset: 0 617 | format: 0 618 | dimension: 0 619 | - stream: 0 620 | offset: 0 621 | format: 0 622 | dimension: 0 623 | - stream: 0 624 | offset: 0 625 | format: 0 626 | dimension: 0 627 | - stream: 0 628 | offset: 0 629 | format: 0 630 | dimension: 0 631 | m_DataSize: 80 632 | _typelessdata: 000000bf000000bf000000000000000000000000000000bf0000003f00000000000000000000803f0000003f0000003f000000000000803f0000803f0000003f000000bf000000000000803f00000000 633 | m_CompressedMesh: 634 | m_Vertices: 635 | m_NumItems: 0 636 | m_Range: 0 637 | m_Start: 0 638 | m_Data: 639 | m_BitSize: 0 640 | m_UV: 641 | m_NumItems: 0 642 | m_Range: 0 643 | m_Start: 0 644 | m_Data: 645 | m_BitSize: 0 646 | m_Normals: 647 | m_NumItems: 0 648 | m_Range: 0 649 | m_Start: 0 650 | m_Data: 651 | m_BitSize: 0 652 | m_Tangents: 653 | m_NumItems: 0 654 | m_Range: 0 655 | m_Start: 0 656 | m_Data: 657 | m_BitSize: 0 658 | m_Weights: 659 | m_NumItems: 0 660 | m_Data: 661 | m_BitSize: 0 662 | m_NormalSigns: 663 | m_NumItems: 0 664 | m_Data: 665 | m_BitSize: 0 666 | m_TangentSigns: 667 | m_NumItems: 0 668 | m_Data: 669 | m_BitSize: 0 670 | m_FloatColors: 671 | m_NumItems: 0 672 | m_Range: 0 673 | m_Start: 0 674 | m_Data: 675 | m_BitSize: 0 676 | m_BoneIndices: 677 | m_NumItems: 0 678 | m_Data: 679 | m_BitSize: 0 680 | m_Triangles: 681 | m_NumItems: 0 682 | m_Data: 683 | m_BitSize: 0 684 | m_UVInfo: 0 685 | m_LocalAABB: 686 | m_Center: {x: 0, y: 0, z: 0} 687 | m_Extent: {x: 0.5, y: 0.5, z: 0} 688 | m_MeshUsageFlags: 0 689 | m_BakedConvexCollisionMesh: 690 | m_BakedTriangleCollisionMesh: 691 | m_MeshOptimized: 0 692 | -------------------------------------------------------------------------------- /Assets/TextureLoader/Sample/TestTextureLoader.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 892a6847543a04808b5307054e055886 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/TextureLoader/Sample/TextureChange.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: TextureChange 9 | serializedVersion: 6 10 | m_Legacy: 0 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_EulerCurves: [] 16 | m_PositionCurves: [] 17 | m_ScaleCurves: [] 18 | m_FloatCurves: [] 19 | m_PPtrCurves: [] 20 | m_SampleRate: 60 21 | m_WrapMode: 0 22 | m_Bounds: 23 | m_Center: {x: 0, y: 0, z: 0} 24 | m_Extent: {x: 0, y: 0, z: 0} 25 | m_ClipBindingConstant: 26 | genericBindings: [] 27 | pptrCurveMapping: [] 28 | m_AnimationClipSettings: 29 | serializedVersion: 2 30 | m_AdditiveReferencePoseClip: {fileID: 0} 31 | m_AdditiveReferencePoseTime: 0 32 | m_StartTime: 0 33 | m_StopTime: 5.0666666 34 | m_OrientationOffsetY: 0 35 | m_Level: 0 36 | m_CycleOffset: 0 37 | m_HasAdditiveReferencePose: 0 38 | m_LoopTime: 0 39 | m_LoopBlend: 0 40 | m_LoopBlendOrientation: 0 41 | m_LoopBlendPositionY: 0 42 | m_LoopBlendPositionXZ: 0 43 | m_KeepOriginalOrientation: 0 44 | m_KeepOriginalPositionY: 1 45 | m_KeepOriginalPositionXZ: 0 46 | m_HeightFromFeet: 0 47 | m_Mirror: 0 48 | m_EditorCurves: [] 49 | m_EulerEditorCurves: [] 50 | m_HasGenericRootTransform: 0 51 | m_HasMotionFloatCurves: 0 52 | m_GenerateMotionCurves: 0 53 | m_Events: 54 | - time: 5.0666666 55 | functionName: Load 56 | data: img/sample2.jpg 57 | objectReferenceParameter: {fileID: 0} 58 | floatParameter: 0 59 | intParameter: 0 60 | messageOptions: 0 61 | -------------------------------------------------------------------------------- /Assets/TextureLoader/Sample/TextureChange.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8930c163474ec4f589bfcca6fff84bcd 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 7400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextureLoader/Sample/TextureStreamingLoader.controller: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!91 &9100000 4 | AnimatorController: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: TextureStreamingLoader 9 | serializedVersion: 5 10 | m_AnimatorParameters: [] 11 | m_AnimatorLayers: 12 | - serializedVersion: 5 13 | m_Name: Base Layer 14 | m_StateMachine: {fileID: 1107477667966630524} 15 | m_Mask: {fileID: 0} 16 | m_Motions: [] 17 | m_Behaviours: [] 18 | m_BlendingMode: 0 19 | m_SyncedLayerIndex: -1 20 | m_DefaultWeight: 0 21 | m_IKPass: 0 22 | m_SyncedLayerAffectsTiming: 0 23 | m_Controller: {fileID: 9100000} 24 | --- !u!1102 &1102159494497090822 25 | AnimatorState: 26 | serializedVersion: 5 27 | m_ObjectHideFlags: 1 28 | m_PrefabParentObject: {fileID: 0} 29 | m_PrefabInternal: {fileID: 0} 30 | m_Name: TextureChange 31 | m_Speed: 1 32 | m_CycleOffset: 0 33 | m_Transitions: [] 34 | m_StateMachineBehaviours: [] 35 | m_Position: {x: 50, y: 50, z: 0} 36 | m_IKOnFeet: 0 37 | m_WriteDefaultValues: 1 38 | m_Mirror: 0 39 | m_SpeedParameterActive: 0 40 | m_MirrorParameterActive: 0 41 | m_CycleOffsetParameterActive: 0 42 | m_TimeParameterActive: 0 43 | m_Motion: {fileID: 7400000, guid: 8930c163474ec4f589bfcca6fff84bcd, type: 2} 44 | m_Tag: 45 | m_SpeedParameter: 46 | m_MirrorParameter: 47 | m_CycleOffsetParameter: 48 | m_TimeParameter: 49 | --- !u!1107 &1107477667966630524 50 | AnimatorStateMachine: 51 | serializedVersion: 5 52 | m_ObjectHideFlags: 1 53 | m_PrefabParentObject: {fileID: 0} 54 | m_PrefabInternal: {fileID: 0} 55 | m_Name: Base Layer 56 | m_ChildStates: 57 | - serializedVersion: 1 58 | m_State: {fileID: 1102159494497090822} 59 | m_Position: {x: 200, y: 0, z: 0} 60 | m_ChildStateMachines: [] 61 | m_AnyStateTransitions: [] 62 | m_EntryTransitions: [] 63 | m_StateMachineTransitions: {} 64 | m_StateMachineBehaviours: [] 65 | m_AnyStatePosition: {x: 50, y: 20, z: 0} 66 | m_EntryPosition: {x: 50, y: 120, z: 0} 67 | m_ExitPosition: {x: 800, y: 120, z: 0} 68 | m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} 69 | m_DefaultState: {fileID: 1102159494497090822} 70 | -------------------------------------------------------------------------------- /Assets/TextureLoader/Sample/TextureStreamingLoader.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fbdf529cece644704a1d8e8c28b912cd 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 9100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextureLoader/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 35eaf71e8ec054554b95860773379db1 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/TextureLoader/Scripts/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 058c07d73b46a4e68a7fd361a9de0c86 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/TextureLoader/Scripts/Editor/CreateTool.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using UnityEngine; 3 | using UnityEngine.Rendering; 4 | using UnityEditor; 5 | 6 | 7 | 8 | /// 9 | /// Editor Utility tool. 10 | /// author koki ibukuro 11 | /// 12 | public class CreateTool : ScriptableObject 13 | { 14 | 15 | static GameObject _CreateChild(string name) 16 | { 17 | GameObject go = new GameObject(name); 18 | Transform t = go.transform; 19 | t.parent = Selection.activeTransform; 20 | t.localScale = Vector3.one; 21 | t.localPosition = Vector3.zero; 22 | t.localRotation = Quaternion.identity; 23 | 24 | Transform parent = Selection.activeTransform; 25 | if (parent != null) 26 | { 27 | go.layer = parent.gameObject.layer; 28 | } 29 | Selection.activeGameObject = go; 30 | 31 | return go; 32 | } 33 | 34 | /// 35 | /// Create selected object's child. 36 | /// SHORTCUT KEY [cmd shift N] 37 | /// 38 | /// 39 | /// created gameobject 40 | /// 41 | [MenuItem("Tools/Create/Blank Child %#n")] 42 | public static GameObject CreateChild() 43 | { 44 | return _CreateChild("GameObject"); 45 | } 46 | 47 | /// 48 | /// Creates 4 poly plane. 49 | /// 50 | /// 51 | /// The plane gameobject 52 | /// 53 | [MenuItem("Tools/Create/Plane")] 54 | public static GameObject CreatePlane() 55 | { 56 | GameObject go = _CreateChild("Plane"); 57 | MeshRenderer renderer = go.AddComponent(); 58 | renderer.shadowCastingMode = ShadowCastingMode.Off; 59 | renderer.receiveShadows = false; 60 | 61 | Mesh mesh = new Mesh(); 62 | go.AddComponent().sharedMesh = mesh; 63 | 64 | // make 4 vertices plane 65 | Vector3 offset = new Vector3(-0.5f, -0.5f, 0); // centering offset 66 | Vector3[] vertices = new Vector3[4] { new Vector3(0, 0, 0), new Vector3(0, 1, 0), new Vector3(1, 1, 0), new Vector3(1, 0, 0) }; 67 | 68 | /* 69 | 70 | 1-2 71 | |/| 72 | 0-3 73 | 74 | */ 75 | for (int i = 0; i < vertices.Length; i++) 76 | { 77 | vertices[i] += offset; 78 | } 79 | 80 | mesh.vertices = vertices; 81 | mesh.uv = new Vector2[4] { new Vector2(0, 0), new Vector2(0, 1), new Vector2(1, 1), new Vector2(1, 0) }; 82 | mesh.triangles = new int[6] { 0, 1, 2, 0, 2, 3 }; 83 | 84 | return go; 85 | } 86 | 87 | /// 88 | /// Delete all player preferences. 89 | /// 90 | [MenuItem("Tools/Delete/Delete PlayerPref")] 91 | public static void DeletePlayerPref() 92 | { 93 | PlayerPrefs.DeleteAll(); 94 | Debug.LogWarning("deleted"); 95 | } 96 | 97 | 98 | } 99 | -------------------------------------------------------------------------------- /Assets/TextureLoader/Scripts/Editor/CreateTool.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5bfa773c733e458590adfd00b34fe5f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/TextureLoader/Scripts/Editor/TextureLoaderEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | 4 | namespace TextureLoader 5 | { 6 | [CustomEditor(typeof(TextureLoader))] 7 | [CanEditMultipleObjects] 8 | public class TextureLoaderEditor : Editor 9 | { 10 | TextureLoader _target; 11 | 12 | void OnEnable() 13 | { 14 | _target = target as TextureLoader; 15 | } 16 | 17 | new void OnInspectorGUI() 18 | { 19 | DrawDefaultInspector(); 20 | } 21 | 22 | protected virtual void OnSceneGUI() 23 | { 24 | Vector3 pos = _target.transform.position; 25 | Handles.Label(pos, "[TEXTURE]" + _target.URL); 26 | } 27 | 28 | [MenuItem("Tools/Create/TextureLoader (from url)")] 29 | public static GameObject Create() 30 | { 31 | return Create(); 32 | } 33 | 34 | protected static GameObject Create() where T : Component 35 | { 36 | GameObject go = CreateTool.CreatePlane(); 37 | go.AddComponent(); 38 | go.name = typeof(T).ToString(); 39 | return go; 40 | } 41 | } 42 | } -------------------------------------------------------------------------------- /Assets/TextureLoader/Scripts/Editor/TextureLoaderEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c27c39fdd2844845b9b56d290b19434 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/TextureLoader/Scripts/Editor/TextureStreamingLoaderEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | 4 | namespace TextureLoader 5 | { 6 | [CustomEditor(typeof(TextureStreamingLoader))] 7 | [CanEditMultipleObjects] 8 | public class TextureStreamingLoaderEditor : TextureLoaderEditor 9 | { 10 | // simple overrides 11 | 12 | [MenuItem("Tools/Create/TextureLoader (from SteamingAssets)")] 13 | public static new GameObject Create() 14 | { 15 | return Create(); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /Assets/TextureLoader/Scripts/Editor/TextureStreamingLoaderEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f90f7b705d0ad489b9c25b80ff569f75 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/TextureLoader/Scripts/TextureLoader.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using UnityEngine; 4 | 5 | 6 | namespace TextureLoader 7 | { 8 | 9 | /// 10 | /// Common Texture loader 11 | /// 12 | [AddComponentMenu("Common/TextureLoader")] 13 | [RequireComponent(typeof(Renderer))] 14 | public class TextureLoader : MonoBehaviour 15 | { 16 | [SerializeField] 17 | string url; 18 | 19 | [SerializeField] 20 | bool autoStart = true; 21 | 22 | [SerializeField] 23 | bool aspectFit = true; 24 | 25 | [SerializeField] 26 | bool useCustomMaterial = false; 27 | 28 | 29 | Material _material; 30 | Renderer _renderer; 31 | 32 | public event Action OnFinish; 33 | 34 | #region life cycle 35 | void Awake() 36 | { 37 | this.isLoaed = false; 38 | } 39 | 40 | void Start() 41 | { 42 | _renderer = GetComponent(); 43 | if (useCustomMaterial) 44 | { 45 | _material = _renderer.material; 46 | } 47 | else 48 | { 49 | // mat = new Material(_DEFAULT_SHADER); 50 | _material = new Material(Shader.Find("Mobile/Particles/Alpha Blended")); 51 | _renderer.material = _material; 52 | } 53 | 54 | if (autoStart) 55 | { 56 | Load(url); 57 | } 58 | 59 | _renderer.enabled = false; 60 | } 61 | 62 | void OnDrawGizmos() 63 | { 64 | 65 | } 66 | #endregion 67 | 68 | #region public 69 | 70 | public virtual void Load(string url) 71 | { 72 | StartCoroutine(_load(url)); 73 | } 74 | #endregion 75 | 76 | #region privates 77 | 78 | IEnumerator _load(string url) 79 | { 80 | using (WWW www = new WWW(url)) 81 | { 82 | yield return www; 83 | 84 | if (string.IsNullOrEmpty(www.error)) 85 | { 86 | SetTexture(www.texture); 87 | this.hasError = false; 88 | this.isLoaed = true; 89 | } 90 | else 91 | { 92 | this.error = www.error; 93 | this.hasError = true; 94 | this.isLoaed = true; 95 | 96 | Debug.LogWarning("error:" + www.error); 97 | } 98 | } 99 | yield return null; 100 | 101 | if (OnFinish != null) 102 | { 103 | OnFinish(this); 104 | } 105 | } 106 | 107 | void SetTexture(Texture2D texture) 108 | { 109 | _material.mainTexture = texture; 110 | 111 | if (aspectFit) 112 | { 113 | Vector3 size = transform.localScale; 114 | float aspect = (float)texture.width / (float)texture.height; 115 | if (aspect < 1) 116 | { 117 | size.x *= aspect; 118 | } 119 | else 120 | { 121 | size.y /= aspect; 122 | } 123 | transform.localScale = size; 124 | } 125 | 126 | _renderer.enabled = true; 127 | } 128 | #endregion 129 | 130 | #region getter setter 131 | public string URL 132 | { 133 | get { return url; } 134 | } 135 | public bool isLoaed 136 | { 137 | get; 138 | protected set; 139 | } 140 | 141 | public string error 142 | { 143 | get; 144 | protected set; 145 | } 146 | 147 | public bool hasError 148 | { 149 | get; 150 | protected set; 151 | } 152 | 153 | #endregion 154 | } 155 | } -------------------------------------------------------------------------------- /Assets/TextureLoader/Scripts/TextureLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b31986a6d005047c7adc1888396d6842 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/TextureLoader/Scripts/TextureStreamingLoader.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | 5 | namespace TextureLoader 6 | { 7 | [AddComponentMenu("Common/TextureLoader (Streaming Assets)")] 8 | public class TextureStreamingLoader : TextureLoader 9 | { 10 | 11 | public override void Load(string url) 12 | { 13 | string path; 14 | 15 | switch (Application.platform) 16 | { 17 | case RuntimePlatform.IPhonePlayer: 18 | path = "file://" + Application.dataPath + "/Raw/"; 19 | break; 20 | case RuntimePlatform.Android: 21 | path = "jar:file://" + Application.dataPath + "!/assets/"; 22 | break; 23 | case RuntimePlatform.OSXEditor: 24 | case RuntimePlatform.WindowsEditor: 25 | case RuntimePlatform.OSXPlayer: 26 | case RuntimePlatform.WindowsPlayer: 27 | path = "file://" + Application.dataPath + "/StreamingAssets/"; 28 | break; 29 | default: 30 | path = Application.dataPath + "/StreamingAssets/"; 31 | Debug.LogWarning("UNKNOWN Platform : " + Application.platform.ToString()); 32 | break; 33 | } 34 | 35 | base.Load(path + url); 36 | } 37 | } 38 | } -------------------------------------------------------------------------------- /Assets/TextureLoader/Scripts/TextureStreamingLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74d6ae70c6ed3466892408567448dcd5 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 Koki Ibukuro 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | m_SpeedOfSound: 347 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_DSPBufferSize: 0 12 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | m_Gravity: {x: 0, y: -9.81000042, z: 0} 7 | m_DefaultMaterial: {fileID: 0} 8 | m_BounceThreshold: 2 9 | m_SleepVelocity: .150000006 10 | m_SleepAngularVelocity: .140000001 11 | m_MaxAngularVelocity: 7 12 | m_MinPenetrationForPenalty: .00999999978 13 | m_SolverIterationCount: 6 14 | m_RaycastsHitTriggers: 1 15 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 16 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/TestTextureLoader.unity 10 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_ExternalVersionControlSupport: Meta Files 8 | m_SerializationMode: 2 9 | m_WebSecurityEmulationEnabled: 0 10 | m_WebSecurityEmulationHostUrl: http://www.mydomain.com/mygame.unity3d 11 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | m_PreloadedShaders: [] 39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 40 | type: 0} 41 | m_CustomRenderPipeline: {fileID: 0} 42 | m_TransparencySortMode: 0 43 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 44 | m_DefaultRenderingPath: 1 45 | m_DefaultMobileRenderingPath: 1 46 | m_TierSettings: [] 47 | m_LightmapStripping: 0 48 | m_FogStripping: 0 49 | m_InstancingStripping: 0 50 | m_LightmapKeepPlain: 1 51 | m_LightmapKeepDirCombined: 1 52 | m_LightmapKeepDynamicPlain: 1 53 | m_LightmapKeepDynamicDirCombined: 1 54 | m_LightmapKeepShadowMask: 1 55 | m_LightmapKeepSubtractive: 1 56 | m_FogKeepLinear: 1 57 | m_FogKeepExp: 1 58 | m_FogKeepExp2: 1 59 | m_AlbedoSwatchInfos: [] 60 | m_LightsUseLinearIntensity: 0 61 | m_LightsUseColorTemperature: 0 62 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | m_Axes: 7 | - serializedVersion: 3 8 | m_Name: Horizontal 9 | descriptiveName: 10 | descriptiveNegativeName: 11 | negativeButton: left 12 | positiveButton: right 13 | altNegativeButton: a 14 | altPositiveButton: d 15 | gravity: 3 16 | dead: .00100000005 17 | sensitivity: 3 18 | snap: 1 19 | invert: 0 20 | type: 0 21 | axis: 0 22 | joyNum: 0 23 | - serializedVersion: 3 24 | m_Name: Vertical 25 | descriptiveName: 26 | descriptiveNegativeName: 27 | negativeButton: down 28 | positiveButton: up 29 | altNegativeButton: s 30 | altPositiveButton: w 31 | gravity: 3 32 | dead: .00100000005 33 | sensitivity: 3 34 | snap: 1 35 | invert: 0 36 | type: 0 37 | axis: 0 38 | joyNum: 0 39 | - serializedVersion: 3 40 | m_Name: Fire1 41 | descriptiveName: 42 | descriptiveNegativeName: 43 | negativeButton: 44 | positiveButton: left ctrl 45 | altNegativeButton: 46 | altPositiveButton: mouse 0 47 | gravity: 1000 48 | dead: .00100000005 49 | sensitivity: 1000 50 | snap: 0 51 | invert: 0 52 | type: 0 53 | axis: 0 54 | joyNum: 0 55 | - serializedVersion: 3 56 | m_Name: Fire2 57 | descriptiveName: 58 | descriptiveNegativeName: 59 | negativeButton: 60 | positiveButton: left alt 61 | altNegativeButton: 62 | altPositiveButton: mouse 1 63 | gravity: 1000 64 | dead: .00100000005 65 | sensitivity: 1000 66 | snap: 0 67 | invert: 0 68 | type: 0 69 | axis: 0 70 | joyNum: 0 71 | - serializedVersion: 3 72 | m_Name: Fire3 73 | descriptiveName: 74 | descriptiveNegativeName: 75 | negativeButton: 76 | positiveButton: left cmd 77 | altNegativeButton: 78 | altPositiveButton: mouse 2 79 | gravity: 1000 80 | dead: .00100000005 81 | sensitivity: 1000 82 | snap: 0 83 | invert: 0 84 | type: 0 85 | axis: 0 86 | joyNum: 0 87 | - serializedVersion: 3 88 | m_Name: Jump 89 | descriptiveName: 90 | descriptiveNegativeName: 91 | negativeButton: 92 | positiveButton: space 93 | altNegativeButton: 94 | altPositiveButton: 95 | gravity: 1000 96 | dead: .00100000005 97 | sensitivity: 1000 98 | snap: 0 99 | invert: 0 100 | type: 0 101 | axis: 0 102 | joyNum: 0 103 | - serializedVersion: 3 104 | m_Name: Mouse X 105 | descriptiveName: 106 | descriptiveNegativeName: 107 | negativeButton: 108 | positiveButton: 109 | altNegativeButton: 110 | altPositiveButton: 111 | gravity: 0 112 | dead: 0 113 | sensitivity: .100000001 114 | snap: 0 115 | invert: 0 116 | type: 1 117 | axis: 0 118 | joyNum: 0 119 | - serializedVersion: 3 120 | m_Name: Mouse Y 121 | descriptiveName: 122 | descriptiveNegativeName: 123 | negativeButton: 124 | positiveButton: 125 | altNegativeButton: 126 | altPositiveButton: 127 | gravity: 0 128 | dead: 0 129 | sensitivity: .100000001 130 | snap: 0 131 | invert: 0 132 | type: 1 133 | axis: 1 134 | joyNum: 0 135 | - serializedVersion: 3 136 | m_Name: Mouse ScrollWheel 137 | descriptiveName: 138 | descriptiveNegativeName: 139 | negativeButton: 140 | positiveButton: 141 | altNegativeButton: 142 | altPositiveButton: 143 | gravity: 0 144 | dead: 0 145 | sensitivity: .100000001 146 | snap: 0 147 | invert: 0 148 | type: 1 149 | axis: 2 150 | joyNum: 0 151 | - serializedVersion: 3 152 | m_Name: Horizontal 153 | descriptiveName: 154 | descriptiveNegativeName: 155 | negativeButton: 156 | positiveButton: 157 | altNegativeButton: 158 | altPositiveButton: 159 | gravity: 0 160 | dead: .189999998 161 | sensitivity: 1 162 | snap: 0 163 | invert: 0 164 | type: 2 165 | axis: 0 166 | joyNum: 0 167 | - serializedVersion: 3 168 | m_Name: Vertical 169 | descriptiveName: 170 | descriptiveNegativeName: 171 | negativeButton: 172 | positiveButton: 173 | altNegativeButton: 174 | altPositiveButton: 175 | gravity: 0 176 | dead: .189999998 177 | sensitivity: 1 178 | snap: 0 179 | invert: 1 180 | type: 2 181 | axis: 1 182 | joyNum: 0 183 | - serializedVersion: 3 184 | m_Name: Fire1 185 | descriptiveName: 186 | descriptiveNegativeName: 187 | negativeButton: 188 | positiveButton: joystick button 0 189 | altNegativeButton: 190 | altPositiveButton: 191 | gravity: 1000 192 | dead: .00100000005 193 | sensitivity: 1000 194 | snap: 0 195 | invert: 0 196 | type: 0 197 | axis: 0 198 | joyNum: 0 199 | - serializedVersion: 3 200 | m_Name: Fire2 201 | descriptiveName: 202 | descriptiveNegativeName: 203 | negativeButton: 204 | positiveButton: joystick button 1 205 | altNegativeButton: 206 | altPositiveButton: 207 | gravity: 1000 208 | dead: .00100000005 209 | sensitivity: 1000 210 | snap: 0 211 | invert: 0 212 | type: 0 213 | axis: 0 214 | joyNum: 0 215 | - serializedVersion: 3 216 | m_Name: Fire3 217 | descriptiveName: 218 | descriptiveNegativeName: 219 | negativeButton: 220 | positiveButton: joystick button 2 221 | altNegativeButton: 222 | altPositiveButton: 223 | gravity: 1000 224 | dead: .00100000005 225 | sensitivity: 1000 226 | snap: 0 227 | invert: 0 228 | type: 0 229 | axis: 0 230 | joyNum: 0 231 | - serializedVersion: 3 232 | m_Name: Jump 233 | descriptiveName: 234 | descriptiveNegativeName: 235 | negativeButton: 236 | positiveButton: joystick button 3 237 | altNegativeButton: 238 | altPositiveButton: 239 | gravity: 1000 240 | dead: .00100000005 241 | sensitivity: 1000 242 | snap: 0 243 | invert: 0 244 | type: 0 245 | axis: 0 246 | joyNum: 0 247 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshLayers: 5 | m_ObjectHideFlags: 0 6 | Built-in Layer 0: 7 | name: Default 8 | cost: 1 9 | editType: 2 10 | Built-in Layer 1: 11 | name: Not Walkable 12 | cost: 1 13 | editType: 0 14 | Built-in Layer 2: 15 | name: Jump 16 | cost: 2 17 | editType: 2 18 | User Layer 0: 19 | name: 20 | cost: 1 21 | editType: 3 22 | User Layer 1: 23 | name: 24 | cost: 1 25 | editType: 3 26 | User Layer 2: 27 | name: 28 | cost: 1 29 | editType: 3 30 | User Layer 3: 31 | name: 32 | cost: 1 33 | editType: 3 34 | User Layer 4: 35 | name: 36 | cost: 1 37 | editType: 3 38 | User Layer 5: 39 | name: 40 | cost: 1 41 | editType: 3 42 | User Layer 6: 43 | name: 44 | cost: 1 45 | editType: 3 46 | User Layer 7: 47 | name: 48 | cost: 1 49 | editType: 3 50 | User Layer 8: 51 | name: 52 | cost: 1 53 | editType: 3 54 | User Layer 9: 55 | name: 56 | cost: 1 57 | editType: 3 58 | User Layer 10: 59 | name: 60 | cost: 1 61 | editType: 3 62 | User Layer 11: 63 | name: 64 | cost: 1 65 | editType: 3 66 | User Layer 12: 67 | name: 68 | cost: 1 69 | editType: 3 70 | User Layer 13: 71 | name: 72 | cost: 1 73 | editType: 3 74 | User Layer 14: 75 | name: 76 | cost: 1 77 | editType: 3 78 | User Layer 15: 79 | name: 80 | cost: 1 81 | editType: 3 82 | User Layer 16: 83 | name: 84 | cost: 1 85 | editType: 3 86 | User Layer 17: 87 | name: 88 | cost: 1 89 | editType: 3 90 | User Layer 18: 91 | name: 92 | cost: 1 93 | editType: 3 94 | User Layer 19: 95 | name: 96 | cost: 1 97 | editType: 3 98 | User Layer 20: 99 | name: 100 | cost: 1 101 | editType: 3 102 | User Layer 21: 103 | name: 104 | cost: 1 105 | editType: 3 106 | User Layer 22: 107 | name: 108 | cost: 1 109 | editType: 3 110 | User Layer 23: 111 | name: 112 | cost: 1 113 | editType: 3 114 | User Layer 24: 115 | name: 116 | cost: 1 117 | editType: 3 118 | User Layer 25: 119 | name: 120 | cost: 1 121 | editType: 3 122 | User Layer 26: 123 | name: 124 | cost: 1 125 | editType: 3 126 | User Layer 27: 127 | name: 128 | cost: 1 129 | editType: 3 130 | User Layer 28: 131 | name: 132 | cost: 1 133 | editType: 3 134 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshLayers.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshLayers: 5 | m_ObjectHideFlags: 0 6 | Built-in Layer 0: 7 | name: Default 8 | cost: 1 9 | editType: 2 10 | Built-in Layer 1: 11 | name: Not Walkable 12 | cost: 1 13 | editType: 0 14 | Built-in Layer 2: 15 | name: Jump 16 | cost: 2 17 | editType: 2 18 | User Layer 0: 19 | name: 20 | cost: 1 21 | editType: 3 22 | User Layer 1: 23 | name: 24 | cost: 1 25 | editType: 3 26 | User Layer 2: 27 | name: 28 | cost: 1 29 | editType: 3 30 | User Layer 3: 31 | name: 32 | cost: 1 33 | editType: 3 34 | User Layer 4: 35 | name: 36 | cost: 1 37 | editType: 3 38 | User Layer 5: 39 | name: 40 | cost: 1 41 | editType: 3 42 | User Layer 6: 43 | name: 44 | cost: 1 45 | editType: 3 46 | User Layer 7: 47 | name: 48 | cost: 1 49 | editType: 3 50 | User Layer 8: 51 | name: 52 | cost: 1 53 | editType: 3 54 | User Layer 9: 55 | name: 56 | cost: 1 57 | editType: 3 58 | User Layer 10: 59 | name: 60 | cost: 1 61 | editType: 3 62 | User Layer 11: 63 | name: 64 | cost: 1 65 | editType: 3 66 | User Layer 12: 67 | name: 68 | cost: 1 69 | editType: 3 70 | User Layer 13: 71 | name: 72 | cost: 1 73 | editType: 3 74 | User Layer 14: 75 | name: 76 | cost: 1 77 | editType: 3 78 | User Layer 15: 79 | name: 80 | cost: 1 81 | editType: 3 82 | User Layer 16: 83 | name: 84 | cost: 1 85 | editType: 3 86 | User Layer 17: 87 | name: 88 | cost: 1 89 | editType: 3 90 | User Layer 18: 91 | name: 92 | cost: 1 93 | editType: 3 94 | User Layer 19: 95 | name: 96 | cost: 1 97 | editType: 3 98 | User Layer 20: 99 | name: 100 | cost: 1 101 | editType: 3 102 | User Layer 21: 103 | name: 104 | cost: 1 105 | editType: 3 106 | User Layer 22: 107 | name: 108 | cost: 1 109 | editType: 3 110 | User Layer 23: 111 | name: 112 | cost: 1 113 | editType: 3 114 | User Layer 24: 115 | name: 116 | cost: 1 117 | editType: 3 118 | User Layer 25: 119 | name: 120 | cost: 1 121 | editType: 3 122 | User Layer 26: 123 | name: 124 | cost: 1 125 | editType: 3 126 | User Layer 27: 127 | name: 128 | cost: 1 129 | editType: 3 130 | User Layer 28: 131 | name: 132 | cost: 1 133 | editType: 3 134 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_AutoSimulation: 1 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_AutoSyncTransforms: 1 46 | m_AlwaysShowColliders: 0 47 | m_ShowColliderSleep: 1 48 | m_ShowColliderContacts: 0 49 | m_ShowColliderAABB: 0 50 | m_ContactArrowScale: 0.2 51 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 52 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 53 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 54 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 55 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 56 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | m_DefaultList: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 15 7 | productGUID: b7ea4c02832f44e579f65b61b597df82 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 0 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: UnityTextureLoader 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 53 | iosShowActivityIndicatorOnLoading: -1 54 | androidShowActivityIndicatorOnLoading: -1 55 | tizenShowActivityIndicatorOnLoading: -1 56 | iosAppInBackgroundBehavior: 0 57 | displayResolutionDialog: 1 58 | iosAllowHTTPDownload: 1 59 | allowedAutorotateToPortrait: 1 60 | allowedAutorotateToPortraitUpsideDown: 1 61 | allowedAutorotateToLandscapeRight: 1 62 | allowedAutorotateToLandscapeLeft: 1 63 | useOSAutorotation: 1 64 | use32BitDisplayBuffer: 1 65 | preserveFramebufferAlpha: 0 66 | disableDepthAndStencilBuffers: 0 67 | androidBlitType: 0 68 | defaultIsNativeResolution: 1 69 | macRetinaSupport: 1 70 | runInBackground: 0 71 | captureSingleScreen: 0 72 | muteOtherAudioSources: 0 73 | Prepare IOS For Recording: 0 74 | Force IOS Speakers When Recording: 0 75 | deferSystemGesturesMode: 0 76 | hideHomeButton: 0 77 | submitAnalytics: 1 78 | usePlayerLog: 1 79 | bakeCollisionMeshes: 0 80 | forceSingleInstance: 0 81 | resizableWindow: 0 82 | useMacAppStoreValidation: 0 83 | macAppStoreCategory: public.app-category.games 84 | gpuSkinning: 0 85 | graphicsJobs: 0 86 | xboxPIXTextureCapture: 0 87 | xboxEnableAvatar: 0 88 | xboxEnableKinect: 0 89 | xboxEnableKinectAutoTracking: 0 90 | xboxEnableFitness: 0 91 | visibleInBackground: 1 92 | allowFullscreenSwitch: 1 93 | graphicsJobMode: 0 94 | fullscreenMode: 2 95 | xboxSpeechDB: 0 96 | xboxEnableHeadOrientation: 0 97 | xboxEnableGuest: 0 98 | xboxEnablePIXSampling: 0 99 | metalFramebufferOnly: 0 100 | n3dsDisableStereoscopicView: 0 101 | n3dsEnableSharedListOpt: 1 102 | n3dsEnableVSync: 0 103 | xboxOneResolution: 0 104 | xboxOneSResolution: 0 105 | xboxOneXResolution: 3 106 | xboxOneMonoLoggingLevel: 0 107 | xboxOneLoggingLevel: 1 108 | xboxOneDisableEsram: 0 109 | xboxOnePresentImmediateThreshold: 0 110 | switchQueueCommandMemory: 0 111 | videoMemoryForVertexBuffers: 0 112 | psp2PowerMode: 0 113 | psp2AcquireBGM: 1 114 | m_SupportedAspectRatios: 115 | 4:3: 1 116 | 5:4: 1 117 | 16:10: 1 118 | 16:9: 1 119 | Others: 1 120 | bundleVersion: 1.0 121 | preloadedAssets: [] 122 | metroInputSource: 2 123 | wsaTransparentSwapchain: 0 124 | m_HolographicPauseOnTrackingLoss: 1 125 | xboxOneDisableKinectGpuReservation: 0 126 | xboxOneEnable7thCore: 0 127 | vrSettings: 128 | cardboard: 129 | depthFormat: 0 130 | enableTransitionView: 0 131 | daydream: 132 | depthFormat: 0 133 | useSustainedPerformanceMode: 0 134 | enableVideoLayer: 0 135 | useProtectedVideoMemory: 0 136 | minimumSupportedHeadTracking: 0 137 | maximumSupportedHeadTracking: 1 138 | hololens: 139 | depthFormat: 1 140 | depthBufferSharingEnabled: 0 141 | enable360StereoCapture: 0 142 | oculus: 143 | sharedDepthBuffer: 0 144 | dashSupport: 0 145 | protectGraphicsMemory: 0 146 | useHDRDisplay: 0 147 | m_ColorGamuts: 00000000 148 | targetPixelDensity: 30 149 | resolutionScalingMode: 0 150 | androidSupportedAspectRatio: 1 151 | androidMaxAspectRatio: 2.1 152 | applicationIdentifier: 153 | Android: 154 | Standalone: unity.DefaultCompany.UnityTextureLoader 155 | Tizen: 156 | iOS: com.Company.ProductName 157 | tvOS: 158 | buildNumber: 159 | iOS: 160 | AndroidBundleVersionCode: 1 161 | AndroidMinSdkVersion: 16 162 | AndroidTargetSdkVersion: 0 163 | AndroidPreferredInstallLocation: 1 164 | aotOptions: 165 | stripEngineCode: 1 166 | iPhoneStrippingLevel: 0 167 | iPhoneScriptCallOptimization: 0 168 | ForceInternetPermission: 0 169 | ForceSDCardPermission: 0 170 | CreateWallpaper: 0 171 | APKExpansionFiles: 0 172 | keepLoadedShadersAlive: 0 173 | StripUnusedMeshComponents: 0 174 | VertexChannelCompressionMask: 4054 175 | iPhoneSdkVersion: 988 176 | iOSTargetOSVersionString: 8.0 177 | tvOSSdkVersion: 0 178 | tvOSRequireExtendedGameController: 0 179 | tvOSTargetOSVersionString: 9.0 180 | uIPrerenderedIcon: 0 181 | uIRequiresPersistentWiFi: 0 182 | uIRequiresFullScreen: 1 183 | uIStatusBarHidden: 1 184 | uIExitOnSuspend: 0 185 | uIStatusBarStyle: 0 186 | iPhoneSplashScreen: {fileID: 0} 187 | iPhoneHighResSplashScreen: {fileID: 0} 188 | iPhoneTallHighResSplashScreen: {fileID: 0} 189 | iPhone47inSplashScreen: {fileID: 0} 190 | iPhone55inPortraitSplashScreen: {fileID: 0} 191 | iPhone55inLandscapeSplashScreen: {fileID: 0} 192 | iPhone58inPortraitSplashScreen: {fileID: 0} 193 | iPhone58inLandscapeSplashScreen: {fileID: 0} 194 | iPadPortraitSplashScreen: {fileID: 0} 195 | iPadHighResPortraitSplashScreen: {fileID: 0} 196 | iPadLandscapeSplashScreen: {fileID: 0} 197 | iPadHighResLandscapeSplashScreen: {fileID: 0} 198 | appleTVSplashScreen: {fileID: 0} 199 | appleTVSplashScreen2x: {fileID: 0} 200 | tvOSSmallIconLayers: [] 201 | tvOSSmallIconLayers2x: [] 202 | tvOSLargeIconLayers: [] 203 | tvOSLargeIconLayers2x: [] 204 | tvOSTopShelfImageLayers: [] 205 | tvOSTopShelfImageLayers2x: [] 206 | tvOSTopShelfImageWideLayers: [] 207 | tvOSTopShelfImageWideLayers2x: [] 208 | iOSLaunchScreenType: 0 209 | iOSLaunchScreenPortrait: {fileID: 0} 210 | iOSLaunchScreenLandscape: {fileID: 0} 211 | iOSLaunchScreenBackgroundColor: 212 | serializedVersion: 2 213 | rgba: 0 214 | iOSLaunchScreenFillPct: 100 215 | iOSLaunchScreenSize: 100 216 | iOSLaunchScreenCustomXibPath: 217 | iOSLaunchScreeniPadType: 0 218 | iOSLaunchScreeniPadImage: {fileID: 0} 219 | iOSLaunchScreeniPadBackgroundColor: 220 | serializedVersion: 2 221 | rgba: 0 222 | iOSLaunchScreeniPadFillPct: 100 223 | iOSLaunchScreeniPadSize: 100 224 | iOSLaunchScreeniPadCustomXibPath: 225 | iOSUseLaunchScreenStoryboard: 0 226 | iOSLaunchScreenCustomStoryboardPath: 227 | iOSDeviceRequirements: [] 228 | iOSURLSchemes: [] 229 | iOSBackgroundModes: 0 230 | iOSMetalForceHardShadows: 0 231 | metalEditorSupport: 1 232 | metalAPIValidation: 1 233 | iOSRenderExtraFrameOnPause: 1 234 | appleDeveloperTeamID: 235 | iOSManualSigningProvisioningProfileID: 236 | tvOSManualSigningProvisioningProfileID: 237 | iOSManualSigningProvisioningProfileType: 0 238 | tvOSManualSigningProvisioningProfileType: 0 239 | appleEnableAutomaticSigning: 0 240 | iOSRequireARKit: 0 241 | appleEnableProMotion: 0 242 | clonedFromGUID: 00000000000000000000000000000000 243 | templatePackageId: 244 | templateDefaultScene: 245 | AndroidTargetArchitectures: 5 246 | AndroidSplashScreenScale: 0 247 | androidSplashScreen: {fileID: 0} 248 | AndroidKeystoreName: 249 | AndroidKeyaliasName: 250 | AndroidTVCompatibility: 1 251 | AndroidIsGame: 1 252 | AndroidEnableTango: 0 253 | androidEnableBanner: 1 254 | androidUseLowAccuracyLocation: 0 255 | m_AndroidBanners: 256 | - width: 320 257 | height: 180 258 | banner: {fileID: 0} 259 | androidGamepadSupportLevel: 0 260 | resolutionDialogBanner: {fileID: 0} 261 | m_BuildTargetIcons: [] 262 | m_BuildTargetPlatformIcons: [] 263 | m_BuildTargetBatching: [] 264 | m_BuildTargetGraphicsAPIs: 265 | - m_BuildTarget: AndroidPlayer 266 | m_APIs: 08000000 267 | m_Automatic: 0 268 | m_BuildTargetVRSettings: [] 269 | m_BuildTargetEnableVuforiaSettings: [] 270 | openGLRequireES31: 0 271 | openGLRequireES31AEP: 0 272 | m_TemplateCustomTags: {} 273 | mobileMTRendering: 274 | iPhone: 1 275 | tvOS: 1 276 | m_BuildTargetGroupLightmapEncodingQuality: 277 | - m_BuildTarget: Standalone 278 | m_EncodingQuality: 1 279 | - m_BuildTarget: XboxOne 280 | m_EncodingQuality: 1 281 | - m_BuildTarget: PS4 282 | m_EncodingQuality: 1 283 | playModeTestRunnerEnabled: 0 284 | runPlayModeTestAsEditModeTest: 0 285 | actionOnDotNetUnhandledException: 1 286 | enableInternalProfiler: 0 287 | logObjCUncaughtExceptions: 1 288 | enableCrashReportAPI: 0 289 | cameraUsageDescription: 290 | locationUsageDescription: 291 | microphoneUsageDescription: 292 | switchNetLibKey: 293 | switchSocketMemoryPoolSize: 6144 294 | switchSocketAllocatorPoolSize: 128 295 | switchSocketConcurrencyLimit: 14 296 | switchScreenResolutionBehavior: 2 297 | switchUseCPUProfiler: 0 298 | switchApplicationID: 0x01004b9000490000 299 | switchNSODependencies: 300 | switchTitleNames_0: 301 | switchTitleNames_1: 302 | switchTitleNames_2: 303 | switchTitleNames_3: 304 | switchTitleNames_4: 305 | switchTitleNames_5: 306 | switchTitleNames_6: 307 | switchTitleNames_7: 308 | switchTitleNames_8: 309 | switchTitleNames_9: 310 | switchTitleNames_10: 311 | switchTitleNames_11: 312 | switchTitleNames_12: 313 | switchTitleNames_13: 314 | switchTitleNames_14: 315 | switchPublisherNames_0: 316 | switchPublisherNames_1: 317 | switchPublisherNames_2: 318 | switchPublisherNames_3: 319 | switchPublisherNames_4: 320 | switchPublisherNames_5: 321 | switchPublisherNames_6: 322 | switchPublisherNames_7: 323 | switchPublisherNames_8: 324 | switchPublisherNames_9: 325 | switchPublisherNames_10: 326 | switchPublisherNames_11: 327 | switchPublisherNames_12: 328 | switchPublisherNames_13: 329 | switchPublisherNames_14: 330 | switchIcons_0: {fileID: 0} 331 | switchIcons_1: {fileID: 0} 332 | switchIcons_2: {fileID: 0} 333 | switchIcons_3: {fileID: 0} 334 | switchIcons_4: {fileID: 0} 335 | switchIcons_5: {fileID: 0} 336 | switchIcons_6: {fileID: 0} 337 | switchIcons_7: {fileID: 0} 338 | switchIcons_8: {fileID: 0} 339 | switchIcons_9: {fileID: 0} 340 | switchIcons_10: {fileID: 0} 341 | switchIcons_11: {fileID: 0} 342 | switchIcons_12: {fileID: 0} 343 | switchIcons_13: {fileID: 0} 344 | switchIcons_14: {fileID: 0} 345 | switchSmallIcons_0: {fileID: 0} 346 | switchSmallIcons_1: {fileID: 0} 347 | switchSmallIcons_2: {fileID: 0} 348 | switchSmallIcons_3: {fileID: 0} 349 | switchSmallIcons_4: {fileID: 0} 350 | switchSmallIcons_5: {fileID: 0} 351 | switchSmallIcons_6: {fileID: 0} 352 | switchSmallIcons_7: {fileID: 0} 353 | switchSmallIcons_8: {fileID: 0} 354 | switchSmallIcons_9: {fileID: 0} 355 | switchSmallIcons_10: {fileID: 0} 356 | switchSmallIcons_11: {fileID: 0} 357 | switchSmallIcons_12: {fileID: 0} 358 | switchSmallIcons_13: {fileID: 0} 359 | switchSmallIcons_14: {fileID: 0} 360 | switchManualHTML: 361 | switchAccessibleURLs: 362 | switchLegalInformation: 363 | switchMainThreadStackSize: 1048576 364 | switchPresenceGroupId: 365 | switchLogoHandling: 0 366 | switchReleaseVersion: 0 367 | switchDisplayVersion: 1.0.0 368 | switchStartupUserAccount: 0 369 | switchTouchScreenUsage: 0 370 | switchSupportedLanguagesMask: 0 371 | switchLogoType: 0 372 | switchApplicationErrorCodeCategory: 373 | switchUserAccountSaveDataSize: 0 374 | switchUserAccountSaveDataJournalSize: 0 375 | switchApplicationAttribute: 0 376 | switchCardSpecSize: -1 377 | switchCardSpecClock: -1 378 | switchRatingsMask: 0 379 | switchRatingsInt_0: 0 380 | switchRatingsInt_1: 0 381 | switchRatingsInt_2: 0 382 | switchRatingsInt_3: 0 383 | switchRatingsInt_4: 0 384 | switchRatingsInt_5: 0 385 | switchRatingsInt_6: 0 386 | switchRatingsInt_7: 0 387 | switchRatingsInt_8: 0 388 | switchRatingsInt_9: 0 389 | switchRatingsInt_10: 0 390 | switchRatingsInt_11: 0 391 | switchLocalCommunicationIds_0: 392 | switchLocalCommunicationIds_1: 393 | switchLocalCommunicationIds_2: 394 | switchLocalCommunicationIds_3: 395 | switchLocalCommunicationIds_4: 396 | switchLocalCommunicationIds_5: 397 | switchLocalCommunicationIds_6: 398 | switchLocalCommunicationIds_7: 399 | switchParentalControl: 0 400 | switchAllowsScreenshot: 1 401 | switchAllowsVideoCapturing: 1 402 | switchAllowsRuntimeAddOnContentInstall: 0 403 | switchDataLossConfirmation: 0 404 | switchSupportedNpadStyles: 3 405 | switchNativeFsCacheSize: 32 406 | switchSocketConfigEnabled: 0 407 | switchTcpInitialSendBufferSize: 32 408 | switchTcpInitialReceiveBufferSize: 64 409 | switchTcpAutoSendBufferSizeMax: 256 410 | switchTcpAutoReceiveBufferSizeMax: 256 411 | switchUdpSendBufferSize: 9 412 | switchUdpReceiveBufferSize: 42 413 | switchSocketBufferEfficiency: 4 414 | switchSocketInitializeEnabled: 1 415 | switchNetworkInterfaceManagerInitializeEnabled: 1 416 | switchPlayerConnectionEnabled: 1 417 | ps4NPAgeRating: 12 418 | ps4NPTitleSecret: 419 | ps4NPTrophyPackPath: 420 | ps4ParentalLevel: 11 421 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 422 | ps4Category: 0 423 | ps4MasterVersion: 01.00 424 | ps4AppVersion: 01.00 425 | ps4AppType: 0 426 | ps4ParamSfxPath: 427 | ps4VideoOutPixelFormat: 0 428 | ps4VideoOutInitialWidth: 1920 429 | ps4VideoOutBaseModeInitialWidth: 1920 430 | ps4VideoOutReprojectionRate: 60 431 | ps4PronunciationXMLPath: 432 | ps4PronunciationSIGPath: 433 | ps4BackgroundImagePath: 434 | ps4StartupImagePath: 435 | ps4StartupImagesFolder: 436 | ps4IconImagesFolder: 437 | ps4SaveDataImagePath: 438 | ps4SdkOverride: 439 | ps4BGMPath: 440 | ps4ShareFilePath: 441 | ps4ShareOverlayImagePath: 442 | ps4PrivacyGuardImagePath: 443 | ps4NPtitleDatPath: 444 | ps4RemotePlayKeyAssignment: -1 445 | ps4RemotePlayKeyMappingDir: 446 | ps4PlayTogetherPlayerCount: 0 447 | ps4EnterButtonAssignment: 1 448 | ps4ApplicationParam1: 0 449 | ps4ApplicationParam2: 0 450 | ps4ApplicationParam3: 0 451 | ps4ApplicationParam4: 0 452 | ps4DownloadDataSize: 0 453 | ps4GarlicHeapSize: 2048 454 | ps4ProGarlicHeapSize: 2560 455 | ps4Passcode: 5xr84P2R391UXaLHbavJvFZGfO47XWS2 456 | ps4pnSessions: 1 457 | ps4pnPresence: 1 458 | ps4pnFriends: 1 459 | ps4pnGameCustomData: 1 460 | playerPrefsSupport: 0 461 | enableApplicationExit: 0 462 | restrictedAudioUsageRights: 0 463 | ps4UseResolutionFallback: 0 464 | ps4ReprojectionSupport: 0 465 | ps4UseAudio3dBackend: 0 466 | ps4SocialScreenEnabled: 0 467 | ps4ScriptOptimizationLevel: 2 468 | ps4Audio3dVirtualSpeakerCount: 14 469 | ps4attribCpuUsage: 0 470 | ps4PatchPkgPath: 471 | ps4PatchLatestPkgPath: 472 | ps4PatchChangeinfoPath: 473 | ps4PatchDayOne: 0 474 | ps4attribUserManagement: 0 475 | ps4attribMoveSupport: 0 476 | ps4attrib3DSupport: 0 477 | ps4attribShareSupport: 0 478 | ps4attribExclusiveVR: 0 479 | ps4disableAutoHideSplash: 0 480 | ps4videoRecordingFeaturesUsed: 0 481 | ps4contentSearchFeaturesUsed: 0 482 | ps4attribEyeToEyeDistanceSettingVR: 0 483 | ps4IncludedModules: [] 484 | monoEnv: 485 | psp2Splashimage: {fileID: 0} 486 | psp2NPTrophyPackPath: 487 | psp2NPSupportGBMorGJP: 0 488 | psp2NPAgeRating: 12 489 | psp2NPTitleDatPath: 490 | psp2NPCommsID: 491 | psp2NPCommunicationsID: 492 | psp2NPCommsPassphrase: 493 | psp2NPCommsSig: 494 | psp2ParamSfxPath: 495 | psp2ManualPath: 496 | psp2LiveAreaGatePath: 497 | psp2LiveAreaBackroundPath: 498 | psp2LiveAreaPath: 499 | psp2LiveAreaTrialPath: 500 | psp2PatchChangeInfoPath: 501 | psp2PatchOriginalPackage: 502 | psp2PackagePassword: qVOw5lxuBEBNue7b9PZS0hoI6pgabi9U 503 | psp2KeystoneFile: 504 | psp2MemoryExpansionMode: 0 505 | psp2DRMType: 0 506 | psp2StorageType: 0 507 | psp2MediaCapacity: 0 508 | psp2DLCConfigPath: 509 | psp2ThumbnailPath: 510 | psp2BackgroundPath: 511 | psp2SoundPath: 512 | psp2TrophyCommId: 513 | psp2TrophyPackagePath: 514 | psp2PackagedResourcesPath: 515 | psp2SaveDataQuota: 10240 516 | psp2ParentalLevel: 1 517 | psp2ShortTitle: Not Set 518 | psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF 519 | psp2Category: 0 520 | psp2MasterVersion: 01.00 521 | psp2AppVersion: 01.00 522 | psp2TVBootMode: 0 523 | psp2EnterButtonAssignment: 2 524 | psp2TVDisableEmu: 0 525 | psp2AllowTwitterDialog: 1 526 | psp2Upgradable: 0 527 | psp2HealthWarning: 0 528 | psp2UseLibLocation: 0 529 | psp2InfoBarOnStartup: 0 530 | psp2InfoBarColor: 0 531 | psp2ScriptOptimizationLevel: 2 532 | splashScreenBackgroundSourceLandscape: {fileID: 0} 533 | splashScreenBackgroundSourcePortrait: {fileID: 0} 534 | spritePackerPolicy: 535 | webGLMemorySize: 256 536 | webGLExceptionSupport: 1 537 | webGLNameFilesAsHashes: 0 538 | webGLDataCaching: 0 539 | webGLDebugSymbols: 0 540 | webGLEmscriptenArgs: 541 | webGLModulesDirectory: 542 | webGLTemplate: APPLICATION:Default 543 | webGLAnalyzeBuildSize: 0 544 | webGLUseEmbeddedResources: 0 545 | webGLCompressionFormat: 1 546 | webGLLinkerTarget: 0 547 | scriptingDefineSymbols: {} 548 | platformArchitecture: {} 549 | scriptingBackend: {} 550 | il2cppCompilerConfiguration: {} 551 | incrementalIl2cppBuild: {} 552 | allowUnsafeCode: 0 553 | additionalIl2CppArgs: 554 | scriptingRuntimeVersion: 0 555 | apiCompatibilityLevelPerPlatform: {} 556 | m_RenderingPath: 1 557 | m_MobileRenderingPath: 1 558 | metroPackageName: UnityTextureLoader 559 | metroPackageVersion: 560 | metroCertificatePath: 561 | metroCertificatePassword: 562 | metroCertificateSubject: 563 | metroCertificateIssuer: 564 | metroCertificateNotAfter: 0000000000000000 565 | metroApplicationDescription: UnityTextureLoader 566 | wsaImages: {} 567 | metroTileShortName: 568 | metroCommandLineArgsFile: 569 | metroTileShowName: 0 570 | metroMediumTileShowName: 0 571 | metroLargeTileShowName: 0 572 | metroWideTileShowName: 0 573 | metroDefaultTileSize: 1 574 | metroTileForegroundText: 1 575 | metroTileBackgroundColor: {r: 0, g: 0, b: 0, a: 1} 576 | metroSplashScreenBackgroundColor: {r: 0, g: 0, b: 0, a: 1} 577 | metroSplashScreenUseBackgroundColor: 0 578 | platformCapabilities: {} 579 | metroFTAName: 580 | metroFTAFileTypes: [] 581 | metroProtocolName: 582 | metroCompilationOverrides: 1 583 | tizenProductDescription: 584 | tizenProductURL: 585 | tizenSigningProfileName: 586 | tizenGPSPermissions: 0 587 | tizenMicrophonePermissions: 0 588 | tizenDeploymentTarget: 589 | tizenDeploymentTargetType: -1 590 | tizenMinOSVersion: 1 591 | n3dsUseExtSaveData: 0 592 | n3dsCompressStaticMem: 1 593 | n3dsExtSaveDataNumber: 0x12345 594 | n3dsStackSize: 131072 595 | n3dsTargetPlatform: 2 596 | n3dsRegion: 7 597 | n3dsMediaSize: 0 598 | n3dsLogoStyle: 3 599 | n3dsTitle: GameName 600 | n3dsProductCode: 601 | n3dsApplicationId: 0xFF3FF 602 | XboxOneProductId: 603 | XboxOneUpdateKey: 604 | XboxOneSandboxId: 605 | XboxOneContentId: 606 | XboxOneTitleId: 607 | XboxOneSCId: 608 | XboxOneGameOsOverridePath: 609 | XboxOnePackagingOverridePath: 610 | XboxOneAppManifestOverridePath: 611 | XboxOnePackageEncryption: 0 612 | XboxOnePackageUpdateGranularity: 2 613 | XboxOneDescription: 614 | XboxOneLanguage: 615 | - enus 616 | XboxOneCapability: [] 617 | XboxOneGameRating: {} 618 | XboxOneIsContentPackage: 0 619 | XboxOneEnableGPUVariability: 0 620 | XboxOneSockets: {} 621 | XboxOneSplashScreen: {fileID: 0} 622 | XboxOneAllowedProductIds: [] 623 | XboxOnePersistentLocalStorageSize: 0 624 | XboxOneXTitleMemory: 8 625 | xboxOneScriptCompiler: 0 626 | vrEditorSettings: 627 | daydream: 628 | daydreamIconForeground: {fileID: 0} 629 | daydreamIconBackground: {fileID: 0} 630 | cloudServicesEnabled: {} 631 | facebookSdkVersion: 7.9.4 632 | apiCompatibilityLevel: 2 633 | cloudProjectId: 634 | projectName: 635 | organizationId: 636 | cloudEnabled: 0 637 | enableNativePlatformBackendsForNewInputSystem: 0 638 | disableOldInputManagerSupport: 0 639 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2018.1.4f1 2 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 3 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Fastest 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | blendWeights: 1 18 | textureQuality: 1 19 | anisotropicTextures: 0 20 | antiAliasing: 0 21 | softParticles: 0 22 | softVegetation: 0 23 | vSyncCount: 0 24 | lodBias: .300000012 25 | maximumLODLevel: 0 26 | particleRaycastBudget: 4 27 | excludedTargetPlatforms: [] 28 | - serializedVersion: 2 29 | name: Fast 30 | pixelLightCount: 0 31 | shadows: 0 32 | shadowResolution: 0 33 | shadowProjection: 1 34 | shadowCascades: 1 35 | shadowDistance: 20 36 | blendWeights: 2 37 | textureQuality: 0 38 | anisotropicTextures: 0 39 | antiAliasing: 0 40 | softParticles: 0 41 | softVegetation: 0 42 | vSyncCount: 0 43 | lodBias: .400000006 44 | maximumLODLevel: 0 45 | particleRaycastBudget: 16 46 | excludedTargetPlatforms: [] 47 | - serializedVersion: 2 48 | name: Simple 49 | pixelLightCount: 1 50 | shadows: 1 51 | shadowResolution: 0 52 | shadowProjection: 1 53 | shadowCascades: 1 54 | shadowDistance: 20 55 | blendWeights: 2 56 | textureQuality: 0 57 | anisotropicTextures: 1 58 | antiAliasing: 0 59 | softParticles: 0 60 | softVegetation: 0 61 | vSyncCount: 0 62 | lodBias: .699999988 63 | maximumLODLevel: 0 64 | particleRaycastBudget: 64 65 | excludedTargetPlatforms: [] 66 | - serializedVersion: 2 67 | name: Good 68 | pixelLightCount: 2 69 | shadows: 2 70 | shadowResolution: 1 71 | shadowProjection: 1 72 | shadowCascades: 2 73 | shadowDistance: 40 74 | blendWeights: 2 75 | textureQuality: 0 76 | anisotropicTextures: 1 77 | antiAliasing: 0 78 | softParticles: 0 79 | softVegetation: 1 80 | vSyncCount: 1 81 | lodBias: 1 82 | maximumLODLevel: 0 83 | particleRaycastBudget: 256 84 | excludedTargetPlatforms: [] 85 | - serializedVersion: 2 86 | name: Beautiful 87 | pixelLightCount: 3 88 | shadows: 2 89 | shadowResolution: 2 90 | shadowProjection: 1 91 | shadowCascades: 2 92 | shadowDistance: 70 93 | blendWeights: 4 94 | textureQuality: 0 95 | anisotropicTextures: 2 96 | antiAliasing: 2 97 | softParticles: 1 98 | softVegetation: 1 99 | vSyncCount: 1 100 | lodBias: 1.5 101 | maximumLODLevel: 0 102 | particleRaycastBudget: 1024 103 | excludedTargetPlatforms: [] 104 | - serializedVersion: 2 105 | name: Fantastic 106 | pixelLightCount: 4 107 | shadows: 2 108 | shadowResolution: 2 109 | shadowProjection: 1 110 | shadowCascades: 4 111 | shadowDistance: 150 112 | blendWeights: 4 113 | textureQuality: 0 114 | anisotropicTextures: 2 115 | antiAliasing: 2 116 | softParticles: 1 117 | softVegetation: 1 118 | vSyncCount: 1 119 | lodBias: 2 120 | maximumLODLevel: 0 121 | particleRaycastBudget: 4096 122 | excludedTargetPlatforms: [] 123 | m_PerPlatformDefaultQuality: 124 | Android: 2 125 | FlashPlayer: 3 126 | GLES Emulation: 3 127 | PS3: 3 128 | Standalone: 3 129 | Web: 3 130 | Wii: 3 131 | XBOX360: 3 132 | iPhone: 2 133 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | tags: 6 | - 7 | Builtin Layer 0: Default 8 | Builtin Layer 1: TransparentFX 9 | Builtin Layer 2: Ignore Raycast 10 | Builtin Layer 3: 11 | Builtin Layer 4: Water 12 | Builtin Layer 5: 13 | Builtin Layer 6: 14 | Builtin Layer 7: 15 | User Layer 8: 16 | User Layer 9: 17 | User Layer 10: 18 | User Layer 11: 19 | User Layer 12: 20 | User Layer 13: 21 | User Layer 14: 22 | User Layer 15: 23 | User Layer 16: 24 | User Layer 17: 25 | User Layer 18: 26 | User Layer 19: 27 | User Layer 20: 28 | User Layer 21: 29 | User Layer 22: 30 | User Layer 23: 31 | User Layer 24: 32 | User Layer 25: 33 | User Layer 26: 34 | User Layer 27: 35 | User Layer 28: 36 | User Layer 29: 37 | User Layer 30: 38 | User Layer 31: 39 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: .0199999996 7 | Maximum Allowed Timestep: .333333343 8 | m_TimeScale: 1 9 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | m_TestInitMode: 0 11 | CrashReportingSettings: 12 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 13 | m_NativeEventUrl: https://perf-events.cloud.unity3d.com/symbolicate 14 | m_Enabled: 0 15 | m_CaptureEditorExceptions: 1 16 | UnityPurchasingSettings: 17 | m_Enabled: 0 18 | m_TestMode: 0 19 | UnityAnalyticsSettings: 20 | m_Enabled: 0 21 | m_InitializeOnStartup: 1 22 | m_TestMode: 0 23 | m_TestEventUrl: 24 | m_TestConfigUrl: 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # TextureLoader Lib 2 | 3 | Loading Texture for Unity3D 4 | from Web or StreamingAssets 5 | 6 | ## How To Use 7 | 8 | 9 | ### 1. Make Templete form "Tools/Create/TextureLoader" 10 | 11 | ![img](http://cdn-ak.f.st-hatena.com/images/fotolife/a/asus4/20130629/20130629003434.png) 12 | 13 | ### 2. enter URL or file path 14 | 15 | ![img](http://cdn-ak.f.st-hatena.com/images/fotolife/a/asus4/20130629/20130629003428.png) 16 | 17 | ### 3. Play it! 18 | 19 | ![img](http://cdn-ak.f.st-hatena.com/images/fotolife/a/asus4/20130629/20130629003421.png) --------------------------------------------------------------------------------