Exemple #1
0
 void OnMotion(MotionDto e)
 {
     if (handleNode == null)
     {
         return;
     }
     InvokeOnMain(() => handleNode.Rotation = new Quaternion(e.Rotation.X, e.Rotation.Y, e.Rotation.Z));
 }
Exemple #2
0
 public async Task MySuperDuperAction(MotionDto data)
 {
     await Clients.All.SendAsync("motionUpdated", data);
 }