fix: prevent repeated clicks breaking undo stack and properly hide chanrao on undo
This commit is contained in:
@@ -58,6 +58,7 @@ public class TouchPositionHandler : MonoBehaviour
|
||||
|
||||
private void OnMouseDown()
|
||||
{
|
||||
if (_meshRenderer == null || !_meshRenderer.enabled) return; // 防止重复点击
|
||||
Debug.Log($"[TouchPosition] {name}: 被点击");
|
||||
|
||||
if (womanObject != null && targetPosition != null)
|
||||
|
||||
Reference in New Issue
Block a user