17 lines
380 B
C#
17 lines
380 B
C#
using UnityEngine;
|
|
|
|
namespace SepCore.Simulation
|
|
{
|
|
public readonly struct SimulationTickContext
|
|
{
|
|
public SimulationTickContext(float deltaTime, Vector3 playerPosition)
|
|
{
|
|
DeltaTime = deltaTime;
|
|
PlayerPosition = playerPosition;
|
|
}
|
|
|
|
public float DeltaTime { get; }
|
|
public Vector3 PlayerPosition { get; }
|
|
}
|
|
}
|