// Use this for initialization void Start() { net = new Networking(); int loading = 1; while (loading == 1) { net.Receive(); loading = Serializer.Unserialize(net.recbuf); // loading = UpdateWorldFromServer(net.recbuf); } net.EnterReceiveLoop(); }
// Use this for initialization void Start() { net = new Networking(); int loading = 1; while (loading == 1) { net.Receive(); loading = Serializer.Unserialize(net.recbuf); // loading = UpdateWorldFromServer(net.recbuf); } net.EnterReceiveLoop(); }