示例#1
0
 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);
 }
示例#2
0
 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);
 }
示例#3
0
 void uLink_OnPlayerApproval(uLink.NetworkPlayerApproval approval)
 {
     approval.Approve(level);
 }