Created
May 24, 2019 03:48
-
-
Save timmeh4242/7151a26ec921c75030ee5ed92432e2d0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public struct PointerEvent : IComponentData | |
{ | |
public Entity Entity; | |
public PointerEventType EventType; | |
public PointerEvent(Entity entity, PointerEventType eventType) | |
{ | |
Entity = entity; | |
EventType = eventType; | |
} | |
} | |
public enum PointerEventType | |
{ | |
Enter, | |
Exit, | |
Down, | |
Up, | |
Click, | |
Drag, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment