Ejemplo n.º 1
0
 // Start is called before the first frame update
 public void Start()
 {
     if (mySceneGraph != null)
     {
         mySceneGraph.AddHandIDToList(HandID, this);
     }
 }
Ejemplo n.º 2
0
 public void Update()
 {
     if (mySceneGraph == null)
     {
         if (EskyClient.myClient != null)
         {
             mySceneGraph = EskyClient.myClient.GetComponent <EskySceneGraphSync>();
             mySceneGraph.AddHandIDToList(HandID, this);
         }
     }
     else
     {
         if (isNetworkSync)
         {
             NetworkHandInfo.UpdateHand(myHandGraph, SynchronizeType, TranslationSmoothModifier, RotationSmoothModifier);
         }
     }
 }