void AcceptLicense() { if (IsTickAccept) { UserCommonData.SetAG(true); // AgreementDrag.onAcceptLicense = false; // StopCoroutine ("Popout"); // StartCoroutine ("Popout");this.gameObject.SetActive(false); this.gameObject.SetActive(false); } else { PopupObject.ShowAlertPopup("ไม่สามารถไปต่อได้", "กรุณากดยอมรับข้อตกลงก่อนใช้งาน", "ตกลง"); } }