void Update() { heatmap.SetHeatPoints(heatPoints.Select((v) => new HeatPoint() { point = transform.TransformPoint(v.point), radius = v.radius, intensity = v.intensity })); }