protected override bool SendBytes(byte[] bytes, int channelId = Channels.DefaultReliable) { if (bytes.Length == 0) { Debug.LogError("LocalConnection:SendBytes cannot send zero bytes"); return(false); } return(NetworkServer.InvokeBytes(this, bytes)); }
protected override bool SendBytes(byte[] bytes) { if (bytes.Length == 0) { if (LogFilter.logError) { Debug.LogError("LocalConnection:SendBytes cannot send zero bytes"); } return(false); } return(NetworkServer.InvokeBytes(this, bytes)); }