Compare commits
2 Commits
b057f48117
...
01654af33d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
01654af33d | ||
| fd9c20c8a8 |
@ -303,15 +303,22 @@ 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