修改UI,修改场景

This commit is contained in:
李浩 2025-04-08 10:20:00 +08:00
parent d682a97d93
commit 8cfdc696db
437 changed files with 5931 additions and 576 deletions

View File

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: b73a9f5e24c02fd48af5c4aa2dea1bc8
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because one or more lines are too long

View File

@ -727,7 +727,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: -23}
m_AnchoredPosition: {x: 0, y: 56}
m_SizeDelta: {x: 102, y: 34}
m_Pivot: {x: 0.5, y: 1}
--- !u!222 &2503034876695940267

View File

@ -292,13 +292,18 @@ namespace HighlightPlus {
void OnMouseDown() {
Debug.Log("OnMouseDown111");
if (isActiveAndEnabled && triggerMode == TriggerMode.ColliderEventsOnlyOnThisObject) {
if (!CanInteract()) return;
if (!CanInteract()) {
Debug.Log("OnMouseDown000");
return;
}
if (selectOnClick && InputProxy.GetMouseButtonDown(0)) {
ToggleSelection();
return;
}
Highlight(true);
Debug.Log("OnMouseDown222");
}
}
@ -308,6 +313,7 @@ namespace HighlightPlus {
if (!CanInteract()) return;
hb.outline = 1;
Highlight(true);
Debug.Log("应该高亮???");
}
}

Some files were not shown because too many files have changed in this diff Show More