Skip to content
Snippets Groups Projects
CheckServerPush.cs 429 B
Newer Older
  • Learn to ignore specific revisions
  • using UnityEngine;
    using UnityEngine.EventSystems;
    using static CommunicationEvents;
    
    public class CheckServerPush : MonoBehaviour, IPointerDownHandler, IPointerUpHandler
    {
    
        public void OnPointerDown(PointerEventData eventData)
        {
    
             StartCoroutine(UpdateAllServers()); // There is likely a better way to handle this, but it works fine
    
        public void OnPointerUp(PointerEventData eventData)
        {
    
        }
    }