Example #1
0
 // Update is called once per frame
 void Update()
 {
     if (Export)
     {
         var obbjs = new TNet.List <TNObject>();
         obbjs.Add(gameObject.GetComponent <TNObject>());
         TNManager.ExportObjects(obbjs, delegate(DataNode n){
             Debug.Log("exported" + n.ToString());
         });
         Export = false;
     }
 }