/// <summary>
 /// Reads the room game object from the file path and sends it to the TangoDatabase with it's name
 /// </summary>
 /// <param name="filePath"></param>
 /// <param name="name"></param>
 private void ReadRoom(string filePath, string name)
 {
     byte[] b = File.ReadAllBytes(filePath);
     TangoDatabase.UpdateMesh(b, name);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Reads the room game object from the file path and sends it to the TangoDatabase with it's name
 /// </summary>
 /// <param name="filePath"></param>
 /// <param name="name"></param>
 private void ReadRoom(string filePath, string name)
 {
     byte[] b = File.ReadAllBytes(filePath);
     TangoDatabase.UpdateMesh(b, name, parent.GetComponent <PhotonView>().viewID);
 }