private void uLink_OnPlayerApproval(uLink.NetworkPlayerApproval approval) { Debug.Log("uLink_OnPlayerApproval"); uLink.BitStream approvalData = new uLink.BitStream(true); approvalData.WriteObject <GlobalParameter>(Global); approval.Approve(approvalData); }
void uLink_OnPlayerApproval(uLink.NetworkPlayerApproval approval) { //Debug.Log (approval.handoverData); if (approval.handoverData != null) { string t = "", s = ""; int n; approval.handoverData.TryRead(out t); approval.handoverData.TryRead(out n); approval.handoverData.TryRead(out s); Debug.Log(t + " " + n + " " + s); } approval.Approve(level); }
void uLink_OnPlayerApproval(uLink.NetworkPlayerApproval approval) { approval.Approve(level); }