去掉注释
This commit is contained in:
parent
a1e4fa933a
commit
b6cf68a2c1
@ -292,10 +292,9 @@ namespace HighlightPlus {
|
|||||||
|
|
||||||
|
|
||||||
void OnMouseDown() {
|
void OnMouseDown() {
|
||||||
Debug.Log("OnMouseDown111");
|
|
||||||
if (isActiveAndEnabled && triggerMode == TriggerMode.ColliderEventsOnlyOnThisObject) {
|
if (isActiveAndEnabled && triggerMode == TriggerMode.ColliderEventsOnlyOnThisObject) {
|
||||||
if (!CanInteract()) {
|
if (!CanInteract()) {
|
||||||
Debug.Log("OnMouseDown000");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (selectOnClick && InputProxy.GetMouseButtonDown(0)) {
|
if (selectOnClick && InputProxy.GetMouseButtonDown(0)) {
|
||||||
@ -303,7 +302,7 @@ namespace HighlightPlus {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Highlight(true);
|
Highlight(true);
|
||||||
Debug.Log("OnMouseDown222");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -313,7 +312,7 @@ namespace HighlightPlus {
|
|||||||
if (!CanInteract()) return;
|
if (!CanInteract()) return;
|
||||||
hb.outline = 1;
|
hb.outline = 1;
|
||||||
Highlight(true);
|
Highlight(true);
|
||||||
Debug.Log("应该高亮???");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user