예제 #1
0
 private void Update()
 {
     if (networkEntity.clientID == ClientManager.client.ID && Input.GetKeyDown(KeyCode.K))
     {
         EntityRPCManager.RequestRPC(networkEntity, RPCTags.colorTag, new ColorRPC(Random.ColorHSV()));
     }
 }
예제 #2
0
 public void TestFunction()
 {
     EntityRPCManager.RequestRPC(networkEntity, RPCTags.colorTag, new ColorRPC(Random.ColorHSV()));
 }