add : credits screen

This commit is contained in:
Ferlat Thibaud
2026-06-12 17:55:30 +02:00
parent 6c22a6bd2e
commit 882230fba4
6 changed files with 21179 additions and 21 deletions
@@ -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);