Added all the other GhostSystem Scripts
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user