mirror of
https://github.com/hanzoai/ProjectTinySamples.git
synced 2026-09-24 00:01:34 +00:00
16 lines
337 B
C#
16 lines
337 B
C#
using Unity.Entities;
|
|
using Unity.Mathematics;
|
|
|
|
namespace TinyTime
|
|
{
|
|
public enum LoopType {None, Loop, PingPong}
|
|
[GenerateAuthoringComponent]
|
|
public struct Move:IComponentData
|
|
{
|
|
public float Speed;
|
|
public LoopType Loop;
|
|
public float3 Destination;
|
|
public float3 InitialPosition;
|
|
}
|
|
}
|