public static void Chatting(ProtocolBase protocol) { int start = 0; ProtocolBytes proto = (ProtocolBytes)protocol; proto.GetNameX(start, ref start); string str; Debug.Log(str = proto.GetString(start, ref start)); ClientLauncher.Instance.message = str; }