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