Exemplo n.º 1
0
 private void OnTouchWindowOfWeather(WindowOfWeather window)
 {
     if (!window.isOpen)
     {
         VRCPDemoRPCFunctionTable.BoardcastOpenWindowEvent();
         openWindowTriggerCounter.val++;
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 3
0
 protected override void ProcessRemoteCall(RPCMessageBody message)
 {
     VRCPDemoRPCFunctionTable.ProcessRemoteCall(message);
 }