mirror of
https://github.com/hanzoai/ProjectTinySamples.git
synced 2026-09-24 00:01:34 +00:00
26 lines
469 B
C#
26 lines
469 B
C#
using Unity.Entities;
|
|
|
|
namespace TinyKitchen
|
|
{
|
|
public enum GameState
|
|
{
|
|
Initialization = 0,
|
|
Idle,
|
|
Aiming,
|
|
Flying,
|
|
Landed,
|
|
Missed,
|
|
Scored
|
|
}
|
|
|
|
[GenerateAuthoringComponent]
|
|
public struct Game : IComponentData
|
|
{
|
|
public GameState gameState;
|
|
public Entity FoodOnSpatula;
|
|
public int currentLevel;
|
|
public int score;
|
|
public bool scoredLast;
|
|
}
|
|
}
|