public void ClientRPCAttributeTest() { var attrib = new ClientRpcAttribute(); Assert.That(attrib.channel == Channel.Reliable); attrib.channel = Channel.Unreliable; Assert.That(attrib.channel == Channel.Unreliable); }
public void ClientRPCAttributeTest() { ClientRpcAttribute attrib = new ClientRpcAttribute(); Assert.That(attrib.channel == Channels.DefaultReliable); attrib.channel = Channels.DefaultUnreliable; Assert.That(attrib.channel == Channels.DefaultUnreliable); }
public void ClientRPCDefaultsToReliable() { var attrib = new ClientRpcAttribute(); Assert.That(attrib.channel == Channel.Reliable); }