add : credits screen
This commit is contained in:
@@ -3,6 +3,7 @@ using UnityEngine.UI;
|
||||
using UnityEngine.EventSystems;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using OctoCore.Navigation;
|
||||
|
||||
// Holds a graphic target with its own normal and highlighted colors
|
||||
[Serializable]
|
||||
@@ -59,7 +60,10 @@ public class MultiTargetButton : MonoBehaviour,
|
||||
}
|
||||
|
||||
// Mouse
|
||||
public void OnPointerEnter(PointerEventData e) => Activate();
|
||||
public void OnPointerEnter(PointerEventData e) {
|
||||
if (Time.time < OctoMainMenu.IgnoreMouseUntil) return;
|
||||
Activate();
|
||||
}
|
||||
public void OnPointerExit(PointerEventData e) {
|
||||
// If persist is on, do nothing on exit — next Activate() will clean up
|
||||
if (!PersistLastHovered) SetHighlight(false);
|
||||
|
||||
Reference in New Issue
Block a user