2025-02-02 13:32:07 -05:00

13 lines
313 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class DeselectedAction : MonoBehaviour, IDeselectHandler
{
public void OnDeselect(BaseEventData eventData)
{
Debug.Log("Called to deselect");
Destroy(gameObject);
}
}