Пример #1
0
 private void OnTouchWindowOfWeather(WindowOfWeather window)
 {
     if (!window.isOpen)
     {
         VRCPDemoRPCFunctionTable.BoardcastOpenWindowEvent();
         openWindowTriggerCounter.val++;
     }
 }
Пример #2
0
 private void OnTouchIVBottle(IVBottle bottle)
 {
     if (!bottle.isOnGrab)
     {
         bottle.isOnGrab = true;
         bottle.transform.SetParent(transform);
         bottle.transform.localPosition = Vector3.zero;
         VRCPDemoRPCFunctionTable.BoardcastGrabIVEvent(attachedEntity.sceneUID, bottle.id);
     }
 }
Пример #3
0
 protected override void ProcessRemoteCall(RPCMessageBody message)
 {
     VRCPDemoRPCFunctionTable.ProcessRemoteCall(message);
 }