Compare commits
No commits in common. "01654af33dbb4ac3d06fa2ca5dc3d549942348fd" and "b057f48117712221b3cd8f1bc1e7b0d05520fac7" have entirely different histories.
01654af33d
...
b057f48117
@ -303,22 +303,15 @@ namespace HighlightPlus {
|
||||
}
|
||||
|
||||
void OnMouseEnter() {
|
||||
|
||||
if (isActiveAndEnabled && triggerMode == TriggerMode.ColliderEventsOnlyOnThisObject) {
|
||||
if (!CanInteract()) return;
|
||||
Debug.Log("进入");
|
||||
hb.outline = 1;
|
||||
Highlight(true);
|
||||
}
|
||||
}
|
||||
|
||||
void OnMouseExit() {
|
||||
|
||||
|
||||
if (isActiveAndEnabled && triggerMode == TriggerMode.ColliderEventsOnlyOnThisObject) {
|
||||
if (!CanInteract()) return;
|
||||
Debug.Log("退出");
|
||||
hb.outline = 1;
|
||||
Highlight(false);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user