You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
395 B
C#

3 years ago
using System;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.EventSystems;
namespace MalbersAnimations
{
public class PointClickData : ScriptableObject
{
public Action<BaseEventData> baseDataPointerClick;
// public Action<BaseEventData> baseDataPointerDrag;
public void Invoke(BaseEventData data) => baseDataPointerClick?.Invoke(data);
}
}