Пример #1
0
 void HandleOnClick(int buttonIndex, MouseInputParameters inputParameters, MouseInput sender)
 {
     if (isEventMaster)
     {
         (activePointers[0] as MouseInputPointer).PointerInputTimeClick(buttonIndex, inputParameters, sender, 0, false);
     }
 }
Пример #2
0
 void HandleOnButtonUp(int buttonIndex, MouseInputParameters inputParameters, MouseInput sender)
 {
     if (isEventMaster)
     {
         (activePointers[0] as GearVRPointer).PointerInputUp(buttonIndex, inputParameters, sender, 0, false);
     }
 }