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