Refactor "Missile" -> "Interceptor"
This commit is contained in:
@@ -11,7 +11,7 @@ public class BotStatusDialog : UIDialog
|
||||
|
||||
|
||||
UISelectableEntry missiles = CreateSelectableEntry();
|
||||
missiles.SetTextContent(new List<string>(new string[] { "Missiles" }));
|
||||
missiles.SetTextContent(new List<string>(new string[] { "Interceptors" }));
|
||||
missiles.SetIsSelectable(false);
|
||||
|
||||
UISelectableEntry submunitions = CreateSelectableEntry();
|
||||
|
||||
@@ -5,18 +5,15 @@ using UnityEngine.EventSystems;
|
||||
|
||||
public class UIElementMouseCapturer : EventTrigger
|
||||
{
|
||||
private bool _hasPointerEntered = false;
|
||||
public override void OnPointerEnter(PointerEventData eventData)
|
||||
{
|
||||
InputManager.Instance.mouseActive = false;
|
||||
_hasPointerEntered = true;
|
||||
base.OnPointerEnter(eventData);
|
||||
}
|
||||
|
||||
public override void OnPointerExit(PointerEventData eventData)
|
||||
{
|
||||
InputManager.Instance.mouseActive = true;
|
||||
_hasPointerEntered = false;
|
||||
base.OnPointerExit(eventData);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user