mirror of
https://github.com/hanzoai/ProjectTinySamples.git
synced 2026-09-24 00:01:34 +00:00
16 lines
378 B
C#
16 lines
378 B
C#
using Unity.Entities;
|
|
|
|
namespace TinyPhysics
|
|
{
|
|
[GenerateAuthoringComponent]
|
|
public struct Tappable : IComponentData
|
|
{
|
|
public int PointerId { get; set; }
|
|
public double TimePressed { get; set; }
|
|
public float PointerMoveSqrDistance { get; set; }
|
|
|
|
public bool IsPressed { get; set; }
|
|
public bool IsTapped { get; set; }
|
|
}
|
|
}
|