mirror of
https://github.com/hanzoai/ProjectTinySamples.git
synced 2026-09-24 00:01:34 +00:00
19 lines
345 B
C#
19 lines
345 B
C#
using Unity.Entities;
|
|
|
|
namespace TinyPhysics.Systems
|
|
{
|
|
public enum CharacterStates
|
|
{
|
|
Idle,
|
|
Run,
|
|
Jump
|
|
}
|
|
|
|
[GenerateAuthoringComponent]
|
|
public struct Character : IComponentData
|
|
{
|
|
public CharacterStates characterStates;
|
|
public bool hasJumped;
|
|
public bool isGrounded;
|
|
}
|
|
} |