void OnGUI() { y = 10; GUIShowString("asdasda"); NMHello_SYN h = m.HelloSyn; int i = h.Version; GUIShowString(m.ToString()); GUIShowString(h.ToString()); LocalHostInfo(); }
// Use this for initialization void Start() { NMHello_SYN h = NMHello_SYN.CreateBuilder() .SetVersion(1000) .SetUsername(GameData.Account) .SetPassword(GameData.Password) .Build(); m = NetMessage.CreateBuilder() .SetId(NetMessage.Types.MessageType.HELLO_SYN) .SetHelloSyn(h) .Build(); //Thread t1 = new Thread( new ThreadStart( Thread1 ) ); //t1.Start(); //smp = new EatAppleSmp(); Connect(); }