27 lines
624 B
C#
27 lines
624 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace GhostSystem
|
|
{
|
|
[System.Serializable]
|
|
public class GhostFrame
|
|
{
|
|
public string SceneId;
|
|
public string ObjectId;
|
|
public System.DateTime Timestamp;
|
|
public Vector3 Position;
|
|
public Quaternion Rotation;
|
|
|
|
public GhostFrame(string sceneId, string objectId, Vector3 pos, Quaternion rot)
|
|
{
|
|
SceneId = sceneId;
|
|
ObjectId = objectId;
|
|
Position = pos;
|
|
Rotation = rot;
|
|
Timestamp = System.DateTime.UtcNow;
|
|
}
|
|
}
|
|
}
|
|
|