예제 #1
0
파일: X3DObj.cs 프로젝트: rwth-acis/GaMR
 /// <summary>
 /// Downloads the gameobjects
 /// When finished it calls the callback-method
 /// </summary>
 /// <param name="callback">Method which is called when the download has finished</param>
 public void LoadGameObjects(System.Action callback)
 {
     this.callback = callback;
     // only get the first piece of the X3D object
     // the first piece contains information if there are successive pieces
     restManager.GET(url + "0", OnFinished, null);
 }