LogError() private method

private LogError ( object message ) : void
message object
return void
示例#1
0
 public static void Assert(bool condition, object message)
 {
     if (condition == false)
     {
         RailDebug.LogError("Assert Failed: " + message);
     }
 }
示例#2
0
 public static void Assert(bool condition)
 {
     if (condition == false)
     {
         RailDebug.LogError("Assert Failed!");
     }
 }
示例#3
0
        protected void OnPayloadReceived(IRailNetPeer peer, byte[] buffer, int length)
        {
            RailBitBuffer bitBuffer = this.interpreter.LoadData(buffer, length);

            this.reusableIncoming.Decode(bitBuffer);
            if (bitBuffer.IsFinished)
            {
                this.ProcessPacket(this.reusableIncoming);
            }
            else
            {
                RailDebug.LogError("Bad packet read, discarding...");
            }
            this.reusableIncoming.Reset();
        }