修修补补

Signed-off-by: TRADER_FOER <lhf190@outlook.com>
This commit is contained in:
2026-07-17 21:09:34 +08:00
parent df453844e4
commit 19bf49289e
26 changed files with 228698 additions and 47852 deletions

View File

@@ -62,7 +62,6 @@ public class SimpleGridController : MonoBehaviour
}
GameObject coordTextObj = null;
[System.Obsolete]
IEnumerator Pressing()
{
if (coordTextObj != null)
@@ -107,7 +106,7 @@ public class SimpleGridController : MonoBehaviour
if (coordText == null) coordText = coordTextObj.GetComponent<TextMeshPro>();
coordText.text = $"({xz.x:F2}, {xz.y:F2})\n({Mathf.Round(xz.x):F2}, {Mathf.Round(xz.y):F2})";
coordText.fontSize = 8;
coordText.enableWordWrapping = false;
coordText.textWrappingMode = TextWrappingModes.NoWrap;
coordText.color = Color.yellow;
}
yield return null;
@@ -196,4 +195,4 @@ public class SimpleGridController : MonoBehaviour
mesh.RecalculateBounds();
mf.mesh = mesh;
}
}
}