コード例 #1
0
 public float GetWandScrollAmount()
 {
     // Check controller scroll direction.
     if (App.VrSdk.VrControls.PrimaryScrollDirectionIsX(ControllerName.Wand))
     {
         return(Wand.GetScrollXDelta());
     }
     return(Wand.GetScrollYDelta());
 }