旧资源清理
This commit is contained in:
@@ -72,7 +72,6 @@ public class HeatMapController : MonoBehaviour
|
||||
heatmapGameobject.transform.localPosition = outPos;
|
||||
heatmapGameobject.SetActive(true);
|
||||
heatmapGameobject.transform.DOLocalMove(inPos, 1f);
|
||||
heatmapGameobject.GetComponent<DraggableUI>().isDone = false;
|
||||
yield return new WaitForSeconds(1f); // 等待动画完成
|
||||
heatmapGameobject.GetComponent<DraggableUI>().UnlockDrag();
|
||||
coolingButton.interactable = false;
|
||||
@@ -207,9 +206,4 @@ public class HeatMapController : MonoBehaviour
|
||||
{
|
||||
DOTween.To(() => tempture, x => Tempture = x, targetValue, duration);
|
||||
}
|
||||
|
||||
float Map(float value, float minSource, float maxSource, float minTarget, float maxTarget)
|
||||
{
|
||||
return minTarget + (value - minSource) * (maxTarget - minTarget) / (maxSource - minSource);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user