1
This commit is contained in:
@@ -8,7 +8,7 @@ using Unity.Mathematics;
|
||||
namespace Net.Project.B.World
|
||||
{
|
||||
[MemoryPackable]
|
||||
public partial record SpotterScopeData
|
||||
public partial record SnapshotData
|
||||
{
|
||||
public string FileName { get; set; }
|
||||
public string Name { get; set; }
|
||||
@@ -17,12 +17,12 @@ namespace Net.Project.B.World
|
||||
public float3 Position { get; set; }
|
||||
public quaternion Rotation { get; set; }
|
||||
}
|
||||
public interface ISpotterScopeService
|
||||
public interface ISnapshotService
|
||||
{
|
||||
public string Directory { get; }
|
||||
public UniTask<SpotterScopeData> Snapshot(float3 position, quaternion rotation, int fov);
|
||||
UniTask<IReadOnlyList<SpotterScopeData>> GetSnapshots();
|
||||
public event Action<SpotterScopeData> OnSnapshot;
|
||||
public UniTask<SnapshotData> Snapshot(float3 position, quaternion rotation, int fov);
|
||||
UniTask<IReadOnlyList<SnapshotData>> GetSnapshots();
|
||||
public event Action<SnapshotData> OnSnapshot;
|
||||
}
|
||||
|
||||
}
|
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "Net.Project.B.SpotterScope",
|
||||
"name": "Net.Project.B.Snapshot",
|
||||
"rootNamespace": "",
|
||||
"references": [
|
||||
"GUID:14fe60d984bf9f84eac55c6ea033a8f4",
|
Reference in New Issue
Block a user