├── .gitignore ├── .vscode ├── launch.json └── settings.json ├── Assets ├── HeatMap.meta └── HeatMap │ ├── Sample.meta │ ├── Sample │ ├── TestHeatMap.cs │ ├── TestHeatMap.cs.meta │ ├── heatmap.unity │ ├── heatmap.unity.meta │ ├── heattex.psd │ └── heattex.psd.meta │ ├── Script.meta │ └── Script │ ├── Heatmap.cs │ ├── Heatmap.cs.meta │ ├── Heatmap.shader │ └── Heatmap.shader.meta ├── LICENSE ├── Packages └── manifest.json ├── ProjectSettings ├── AudioManager.asset ├── AudioManager.asset.meta ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── DynamicsManager.asset.meta ├── EditorBuildSettings.asset ├── EditorBuildSettings.asset.meta ├── EditorSettings.asset ├── EditorSettings.asset.meta ├── GraphicsSettings.asset.meta ├── InputManager.asset ├── InputManager.asset.meta ├── NavMeshAreas.asset ├── NavMeshAreas.asset.meta ├── NetworkManager.asset ├── NetworkManager.asset.meta ├── Physics2DSettings.asset ├── Physics2DSettings.asset.meta ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectSettings.asset.meta ├── ProjectVersion.txt ├── QualitySettings.asset ├── QualitySettings.asset.meta ├── TagManager.asset ├── TagManager.asset.meta ├── TimeManager.asset ├── TimeManager.asset.meta ├── UnityConnectSettings.asset ├── VFXManager.asset └── graphicssettings.asset └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | # 3 | # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /[Bb]uilds/ 10 | /[Ll]ogs/ 11 | /[Mm]emoryCaptures/ 12 | 13 | # Asset meta data should only be ignored when the corresponding asset is also ignored 14 | !/[Aa]ssets/**/*.meta 15 | 16 | # Uncomment this line if you wish to ignore the asset store tools plugin 17 | # /[Aa]ssets/AssetStoreTools* 18 | 19 | # Autogenerated Jetbrains Rider plugin 20 | [Aa]ssets/Plugins/Editor/JetBrains* 21 | 22 | # Visual Studio cache directory 23 | .vs/ 24 | 25 | # Gradle cache directory 26 | .gradle/ 27 | 28 | # Autogenerated VS/MD/Consulo solution and project files 29 | ExportedObj/ 30 | .consulo/ 31 | *.csproj 32 | *.unityproj 33 | *.sln 34 | *.suo 35 | *.tmp 36 | *.user 37 | *.userprefs 38 | *.pidb 39 | *.booproj 40 | *.svd 41 | *.pdb 42 | *.mdb 43 | *.opendb 44 | *.VC.db 45 | 46 | # Unity3D generated meta files 47 | *.pidb.meta 48 | *.pdb.meta 49 | *.mdb.meta 50 | 51 | # Unity3D generated file on crash reports 52 | sysinfo.txt 53 | 54 | # Builds 55 | *.apk 56 | *.unitypackage 57 | 58 | # Crashlytics generated file 59 | crashlytics-build.properties 60 | 61 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // 使用 IntelliSense 了解相关属性。 3 | // 悬停以查看现有属性的描述。 4 | // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "name": "Unity Editor", 9 | "type": "unity", 10 | "path": "/e:/UnityProj/HotmapControl/Library/EditorInstance.json", 11 | "request": "launch" 12 | }, 13 | { 14 | "name": "Windows Player", 15 | "type": "unity", 16 | "request": "launch" 17 | }, 18 | { 19 | "name": "OSX Player", 20 | "type": "unity", 21 | "request": "launch" 22 | }, 23 | { 24 | "name": "Linux Player", 25 | "type": "unity", 26 | "request": "launch" 27 | }, 28 | { 29 | "name": "iOS Player", 30 | "type": "unity", 31 | "request": "launch" 32 | }, 33 | { 34 | "name": "Android Player", 35 | "type": "unity", 36 | "request": "launch" 37 | } 38 | ] 39 | } -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "files.exclude": 3 | { 4 | "**/.DS_Store":true, 5 | "**/.git":true, 6 | "**/.gitignore":true, 7 | "**/.gitmodules":true, 8 | "**/*.booproj":true, 9 | "**/*.pidb":true, 10 | "**/*.suo":true, 11 | "**/*.user":true, 12 | "**/*.userprefs":true, 13 | "**/*.unityproj":true, 14 | "**/*.dll":true, 15 | "**/*.exe":true, 16 | "**/*.pdf":true, 17 | "**/*.mid":true, 18 | "**/*.midi":true, 19 | "**/*.wav":true, 20 | "**/*.gif":true, 21 | "**/*.ico":true, 22 | "**/*.jpg":true, 23 | "**/*.jpeg":true, 24 | "**/*.png":true, 25 | "**/*.psd":true, 26 | "**/*.tga":true, 27 | "**/*.tif":true, 28 | "**/*.tiff":true, 29 | "**/*.3ds":true, 30 | "**/*.3DS":true, 31 | "**/*.fbx":true, 32 | "**/*.FBX":true, 33 | "**/*.lxo":true, 34 | "**/*.LXO":true, 35 | "**/*.ma":true, 36 | "**/*.MA":true, 37 | "**/*.obj":true, 38 | "**/*.OBJ":true, 39 | "**/*.asset":true, 40 | "**/*.cubemap":true, 41 | "**/*.flare":true, 42 | "**/*.mat":true, 43 | "**/*.meta":true, 44 | "**/*.prefab":true, 45 | "**/*.unity":true, 46 | "build/":true, 47 | "Build/":true, 48 | "Library/":true, 49 | "library/":true, 50 | "obj/":true, 51 | "Obj/":true, 52 | "ProjectSettings/":true, 53 | "temp/":true, 54 | "Temp/":true 55 | } 56 | } -------------------------------------------------------------------------------- /Assets/HeatMap.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f5627b963346b06489f4d1454f3b955c 3 | folderAsset: yes 4 | timeCreated: 1453891197 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/HeatMap/Sample.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5bd04e904ffd19443bcc4162e8e713c0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/HeatMap/Sample/TestHeatMap.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * @Author: huosk 3 | * @Date: 2019-12-30 10:58:46 4 | * @Last Modified by: huosk 5 | * @Last Modified time: 2019-12-30 11:48:38 6 | */ 7 | 8 | using UnityEngine; 9 | using System.Collections.Generic; 10 | using System.Linq; 11 | 12 | public class TestHeatMap : MonoBehaviour 13 | { 14 | 15 | public int count = 50; 16 | public List heatPoints; 17 | public Heatmap heatmap; 18 | void Start() 19 | { 20 | heatPoints.Clear(); 21 | 22 | for (int i = 0; i < count; i++) 23 | { 24 | heatPoints.Add(new HeatPoint() 25 | { 26 | point = new Vector3(Random.Range(-0.5f, 0.5f), Random.Range(-0.5f, 0.5f)), 27 | radius = Random.Range(0.1f, 0.2f), 28 | intensity = Random.Range(0.25f, 1f), 29 | }); 30 | } 31 | } 32 | 33 | void Update() 34 | { 35 | heatmap.SetHeatPoints(heatPoints.Select((v) => new HeatPoint() 36 | { 37 | point = transform.TransformPoint(v.point), 38 | radius = v.radius, 39 | intensity = v.intensity 40 | }).ToList()); 41 | } 42 | } -------------------------------------------------------------------------------- /Assets/HeatMap/Sample/TestHeatMap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 134cd42cb1cd8584ea04f565bf8d226d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/HeatMap/Sample/heatmap.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huosk/Heatmap-Unity/ca11bdd2252e127e18c17f017a44ba357aa360f9/Assets/HeatMap/Sample/heatmap.unity -------------------------------------------------------------------------------- /Assets/HeatMap/Sample/heatmap.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8c59294dd34b524fae24d98b99e3a38 3 | timeCreated: 1449601048 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/HeatMap/Sample/heattex.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huosk/Heatmap-Unity/ca11bdd2252e127e18c17f017a44ba357aa360f9/Assets/HeatMap/Sample/heattex.psd -------------------------------------------------------------------------------- /Assets/HeatMap/Sample/heattex.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bba736ac15e141443a79960c95dcdd3a 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 9 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: Android 85 | maxTextureSize: 2048 86 | resizeAlgorithm: 0 87 | textureFormat: -1 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 0 93 | androidETC2FallbackOverride: 0 94 | spriteSheet: 95 | serializedVersion: 2 96 | sprites: [] 97 | outline: [] 98 | physicsShape: [] 99 | bones: [] 100 | spriteID: 101 | vertices: [] 102 | indices: 103 | edges: [] 104 | weights: [] 105 | spritePackingTag: 106 | pSDRemoveMatte: 0 107 | pSDShowRemoveMatteOption: 1 108 | userData: 109 | assetBundleName: 110 | assetBundleVariant: 111 | -------------------------------------------------------------------------------- /Assets/HeatMap/Script.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0521a19717c401e4da9e84aaf6e8b127 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/HeatMap/Script/Heatmap.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | using UnityEngine; 4 | 5 | [RequireComponent(typeof(Renderer))] 6 | public class Heatmap : MonoBehaviour 7 | { 8 | public Texture2D heatTex; 9 | public Shader heatShader; 10 | 11 | Renderer meshRenderer; 12 | Material material; 13 | int pointCount; 14 | ComputeBuffer pointBuffer; 15 | Renderer MeshRenderer 16 | { 17 | get 18 | { 19 | if (meshRenderer == null) 20 | meshRenderer = GetComponent(); 21 | 22 | return meshRenderer; 23 | } 24 | } 25 | 26 | void Start() 27 | { 28 | GenerateMeterial(); 29 | } 30 | 31 | private void OnDestroy() 32 | { 33 | if (pointBuffer != null) 34 | { 35 | pointBuffer.Release(); 36 | pointBuffer = null; 37 | } 38 | } 39 | 40 | /// 41 | /// 重新生成材质 42 | /// 43 | private void GenerateMeterial() 44 | { 45 | if (this.material != null) 46 | Destroy(this.material); 47 | 48 | this.material = new Material(heatShader); 49 | this.material.SetTexture("_HeatTex", heatTex); 50 | 51 | this.MeshRenderer.sharedMaterial = material; 52 | } 53 | 54 | /// 55 | /// 将参数信息提交到 Shader Program 56 | /// 57 | private void CommitToShaderProgram() 58 | { 59 | material.SetInt("_Points_Length", pointCount); 60 | material.SetBuffer("_PointBuffer", pointBuffer); 61 | } 62 | 63 | /// 64 | /// 根据指定的热点,设置热力图 65 | /// 66 | /// 67 | public void SetHeatPoints(List points) 68 | { 69 | if (pointBuffer != null) 70 | pointBuffer.Release(); 71 | 72 | this.pointCount = points.Count; 73 | this.pointBuffer = new ComputeBuffer(points.Count(), 20); 74 | this.pointBuffer.SetData(points); 75 | 76 | CommitToShaderProgram(); 77 | } 78 | } 79 | 80 | [System.Serializable] 81 | public struct HeatPoint 82 | { 83 | /// 84 | /// 世界坐标系位置 85 | /// 86 | public Vector3 point; 87 | 88 | /// 89 | /// 半径 90 | /// 91 | public float radius; 92 | 93 | /// 94 | /// 强度 95 | /// 96 | public float intensity; 97 | } -------------------------------------------------------------------------------- /Assets/HeatMap/Script/Heatmap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: edd53bd701618cf48a8ce9dfe1d4aa9f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: 7 | - heatTex: {fileID: 2800000, guid: c41aec77444d1d74991b1e3c7611a0fe, type: 3} 8 | - heatShader: {fileID: 4800000, guid: c76715d1e23a9054e93aea581f91ec1b, type: 3} 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/HeatMap/Script/Heatmap.shader: -------------------------------------------------------------------------------- 1 | Shader "Custom/Heatmap" { 2 | Properties{ 3 | _HeatTex("Texture", 2D) = "white" {} 4 | } 5 | 6 | SubShader{ 7 | Tags{ "Queue" = "Transparent" } 8 | Blend SrcAlpha OneMinusSrcAlpha // Alpha blend 9 | 10 | Pass{ 11 | CGPROGRAM 12 | #pragma vertex vert 13 | #pragma fragment frag 14 | 15 | struct vertInput { 16 | float4 pos : POSITION; 17 | }; 18 | 19 | struct vertOutput { 20 | float4 pos : SV_POSITION; 21 | half3 worldPos : TEXCOORD1; 22 | }; 23 | 24 | struct PointInfo { 25 | float3 position; // (x, y, z) = world space position 26 | float radius; // radius 27 | float intensity; // intensity 28 | }; 29 | 30 | StructuredBuffer _PointBuffer; 31 | int _Points_Length = 0; 32 | 33 | sampler2D _HeatTex; 34 | 35 | vertOutput vert(vertInput input) { 36 | vertOutput o; 37 | o.pos = UnityObjectToClipPos(input.pos); 38 | o.worldPos = mul(unity_ObjectToWorld,input.pos); 39 | return o; 40 | } 41 | 42 | float Blob(float3 position,float3 center, float radius) 43 | { 44 | float dis = distance(position,center); 45 | float result = 0.0; 46 | if( dis < radius) 47 | { 48 | float f = dis / radius; 49 | result = pow((1.0-pow(f,2.0)),2.0); 50 | } 51 | return result; 52 | } 53 | 54 | half4 frag(vertOutput output) : SV_TARGET 55 | { 56 | float blobValue = 0.0; 57 | 58 | for (int i = 0; i < _Points_Length; i++) 59 | { 60 | float blob = Blob(output.worldPos.xyz, _PointBuffer[i].position, _PointBuffer[i].radius) * _PointBuffer[i].intensity; 61 | blobValue += blob; 62 | } 63 | 64 | half4 color = tex2D(_HeatTex,fixed2(blobValue,0.5)); 65 | return color; 66 | } 67 | ENDCG 68 | } 69 | } 70 | Fallback "Diffuse" 71 | } -------------------------------------------------------------------------------- /Assets/HeatMap/Script/Heatmap.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c76715d1e23a9054e93aea581f91ec1b 3 | timeCreated: 1449600873 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 huosk 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.ads": "2.0.8", 4 | "com.unity.analytics": "3.2.2", 5 | "com.unity.collab-proxy": "1.2.15", 6 | "com.unity.package-manager-ui": "2.0.7", 7 | "com.unity.purchasing": "2.0.3", 8 | "com.unity.textmeshpro": "1.3.0", 9 | "com.unity.modules.ai": "1.0.0", 10 | "com.unity.modules.animation": "1.0.0", 11 | "com.unity.modules.assetbundle": "1.0.0", 12 | "com.unity.modules.audio": "1.0.0", 13 | "com.unity.modules.cloth": "1.0.0", 14 | "com.unity.modules.director": "1.0.0", 15 | "com.unity.modules.imageconversion": "1.0.0", 16 | "com.unity.modules.imgui": "1.0.0", 17 | "com.unity.modules.jsonserialize": "1.0.0", 18 | "com.unity.modules.particlesystem": "1.0.0", 19 | "com.unity.modules.physics": "1.0.0", 20 | "com.unity.modules.physics2d": "1.0.0", 21 | "com.unity.modules.screencapture": "1.0.0", 22 | "com.unity.modules.terrain": "1.0.0", 23 | "com.unity.modules.terrainphysics": "1.0.0", 24 | "com.unity.modules.tilemap": "1.0.0", 25 | "com.unity.modules.ui": "1.0.0", 26 | "com.unity.modules.uielements": "1.0.0", 27 | "com.unity.modules.umbra": "1.0.0", 28 | "com.unity.modules.unityanalytics": "1.0.0", 29 | "com.unity.modules.unitywebrequest": "1.0.0", 30 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 31 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 32 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 33 | "com.unity.modules.unitywebrequestwww": "1.0.0", 34 | "com.unity.modules.vehicles": "1.0.0", 35 | "com.unity.modules.video": "1.0.0", 36 | "com.unity.modules.vr": "1.0.0", 37 | "com.unity.modules.wind": "1.0.0", 38 | "com.unity.modules.xr": "1.0.0" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huosk/Heatmap-Unity/ca11bdd2252e127e18c17f017a44ba357aa360f9/ProjectSettings/AudioManager.asset -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00000000000000006000000000000000 3 | LibraryAssetImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /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: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huosk/Heatmap-Unity/ca11bdd2252e127e18c17f017a44ba357aa360f9/ProjectSettings/DynamicsManager.asset -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00000000000000008000000000000000 3 | LibraryAssetImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huosk/Heatmap-Unity/ca11bdd2252e127e18c17f017a44ba357aa360f9/ProjectSettings/EditorBuildSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0000000000000000b000000000000000 3 | LibraryAssetImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huosk/Heatmap-Unity/ca11bdd2252e127e18c17f017a44ba357aa360f9/ProjectSettings/EditorSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0000000000000000c000000000000000 3 | LibraryAssetImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00000000000000006100000000000000 3 | LibraryAssetImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huosk/Heatmap-Unity/ca11bdd2252e127e18c17f017a44ba357aa360f9/ProjectSettings/InputManager.asset -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00000000000000002000000000000000 3 | LibraryAssetImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huosk/Heatmap-Unity/ca11bdd2252e127e18c17f017a44ba357aa360f9/ProjectSettings/NavMeshAreas.asset -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00000000000000004100000000000000 3 | LibraryAssetImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huosk/Heatmap-Unity/ca11bdd2252e127e18c17f017a44ba357aa360f9/ProjectSettings/NetworkManager.asset -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0000000000000000a000000000000000 3 | LibraryAssetImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huosk/Heatmap-Unity/ca11bdd2252e127e18c17f017a44ba357aa360f9/ProjectSettings/Physics2DSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00000000000000005100000000000000 3 | LibraryAssetImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /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 | - type: 8 | m_NativeTypeID: 108 9 | m_ManagedTypePPtr: {fileID: 0} 10 | m_ManagedTypeFallback: 11 | defaultPresets: 12 | - m_Preset: {fileID: 2655988077585873504, guid: c1cf8506f04ef2c4a88b64b6c4202eea, 13 | type: 2} 14 | - type: 15 | m_NativeTypeID: 1020 16 | m_ManagedTypePPtr: {fileID: 0} 17 | m_ManagedTypeFallback: 18 | defaultPresets: 19 | - m_Preset: {fileID: 2655988077585873504, guid: 0cd792cc87e492d43b4e95b205fc5cc6, 20 | type: 2} 21 | - type: 22 | m_NativeTypeID: 1006 23 | m_ManagedTypePPtr: {fileID: 0} 24 | m_ManagedTypeFallback: 25 | defaultPresets: 26 | - m_Preset: {fileID: 2655988077585873504, guid: 7a99f8aa944efe94cb9bd74562b7d5f9, 27 | type: 2} 28 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huosk/Heatmap-Unity/ca11bdd2252e127e18c17f017a44ba357aa360f9/ProjectSettings/ProjectSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00000000000000004000000000000000 3 | LibraryAssetImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2018.4.0f1 2 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huosk/Heatmap-Unity/ca11bdd2252e127e18c17f017a44ba357aa360f9/ProjectSettings/QualitySettings.asset -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00000000000000009000000000000000 3 | LibraryAssetImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huosk/Heatmap-Unity/ca11bdd2252e127e18c17f017a44ba357aa360f9/ProjectSettings/TagManager.asset -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00000000000000003000000000000000 3 | LibraryAssetImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huosk/Heatmap-Unity/ca11bdd2252e127e18c17f017a44ba357aa360f9/ProjectSettings/TimeManager.asset -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00000000000000007000000000000000 3 | LibraryAssetImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /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 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 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 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_RenderPipeSettingsPath: 10 | m_FixedTimeStep: 0.016666668 11 | m_MaxDeltaTime: 0.05 12 | -------------------------------------------------------------------------------- /ProjectSettings/graphicssettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huosk/Heatmap-Unity/ca11bdd2252e127e18c17f017a44ba357aa360f9/ProjectSettings/graphicssettings.asset -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Heatmap-Unity 2 | unity3d热力图实现 3 | --------------------------------------------------------------------------------