mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 09:08:23 -05:00
13 lines
269 B
C#
13 lines
269 B
C#
|
using UnityEngine;
|
||
|
using UnityEngine.EventSystems;
|
||
|
|
||
|
namespace UnityAtoms
|
||
|
{
|
||
|
public class OnPointerDownHook : VoidHook, IPointerDownHandler
|
||
|
{
|
||
|
public void OnPointerDown(PointerEventData eventData)
|
||
|
{
|
||
|
OnHook(new Void());
|
||
|
}
|
||
|
}
|
||
|
}
|