Photon Realtime Messages
NetworkClient running on SerializableMessage
Requirements
Usage
var networkClient = new NetworkClient(LoadBalancingClient);
networkClient.SendMessage(
new TestSerializableMessage()
{
StringValue = "test"
}
);
if (networkClient.TryTakeMessage<TestSerializableMessage>(out var message))
{
Debug.Log(message.StringValue);
}