mirror of
https://github.com/hanzoai/ProjectTinySamples.git
synced 2026-09-24 00:01:34 +00:00
17 lines
374 B
C#
17 lines
374 B
C#
using Unity.Entities;
|
|
using Unity.Mathematics;
|
|
|
|
namespace TinyKitchen
|
|
{
|
|
[GenerateAuthoringComponent]
|
|
public struct FanComponent : IComponentData
|
|
{
|
|
public float3 fanHeading;
|
|
public float fanForce;
|
|
public bool isRotating;
|
|
public float rotationSpeed;
|
|
public float3 initialHeading;
|
|
public float3 finalHeading;
|
|
}
|
|
}
|