旧资源清理

This commit is contained in:
2025-03-21 15:31:50 +08:00
parent 290c925997
commit a6d5c91907
928 changed files with 60 additions and 96252 deletions
@@ -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);
}
}