void GetUID() { if (Application.platform == RuntimePlatform.IPhonePlayer) { IOSMgr.GetUID("", new EventDelegate(this, "GotUID")); } else { GotUID(); } }
void CheckDevice() { if (Application.platform == RuntimePlatform.IPhonePlayer) { EventDelegate eventd = new EventDelegate(CheckUID); IOSMgr.GetUID("", eventd); } else { CheckUID(); } }
public void GuestClicked() { if (Application.platform == RuntimePlatform.IPhonePlayer) { EventDelegate eventd = new EventDelegate(this, "GotUidWithGuest"); IOSMgr.GetUID("", eventd); } else { GotUidWithGuest(); } }
public void MemberClicked() { transform.root.FindChild("Title").FindChild("Label").gameObject.SetActive(false); if (Application.platform == RuntimePlatform.IPhonePlayer) { EventDelegate eventd = new EventDelegate(this, "GotUidWithMember"); IOSMgr.GetUID("", eventd); } else { GotUidWithMember(); } }
public void CompleteGCM() { Debug.Log("CompleteGCM"); #if (UNITY_EDITOR) mMemInfo.MemUID = ""; mMemInfo.DeviceID = SystemInfo.deviceUniqueIdentifier; DoJoin(); #elif (UNITY_ANDROID) mMemInfo.MemUID = AndroidMgr.GetMsg(); mMemInfo.DeviceID = SystemInfo.deviceUniqueIdentifier; DoJoin(); #else mMemInfo.MemUID = IOSMgr.GetMsg(); EventDelegate eventd = new EventDelegate(this, "DoJoin"); IOSMgr.GetUID("", eventd); #endif }
// public void GuestCompelte(){ // Login (mLoginEvent.Response.data.memberEmail, mLoginEvent.Response.data.memberPwd); // } public void SetGCMId() { UtilMgr.DismissLoading(); #if (UNITY_EDITOR) mLoginInfo.memUID = AndroidMgr.GetMsg(); mLoginInfo.DeviceID = SystemInfo.deviceUniqueIdentifier; DoLogin(); #elif (UNITY_ANDROID) mLoginInfo.memUID = AndroidMgr.GetMsg(); mLoginInfo.DeviceID = SystemInfo.deviceUniqueIdentifier; DoLogin(); #else StopCoroutine(WaitingToken()); mLoginInfo.memUID = IOSMgr.GetMsg(); EventDelegate eventd = new EventDelegate(this, "DoLogin"); IOSMgr.GetUID("", eventd); #endif }