1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- using UnityEngine;
- using System.Collections;
- public class CodeColaCaptchaManager : MonoBehaviour
- {
- public static CodeColaCaptchaManager Instance;
- public bool DoneCaptcha;
- public bool DoneCode;
- void Start()
- {
- Instance = this;
- }
- private void onDoneCaptcha()
- {
- Debug.Log("onDoneCaptcha");
- PlayerPrefs.SetInt("Captcha", 1);
- DoneCaptcha = true;
- }
- private void onDoneCode()
- {
- Debug.Log("onDoneCode");
- PlayerPrefs.SetInt("Code", 1);
- DoneCode = true;
- }
- public bool CheckingCode(string mail)
- {
- return IsValidCode(mail);
- }
- public bool IsValidCode(string mail)
- {
- return true;
- }
- public bool CheckingCaptcha(string mail)
- {
- return IsValidCaptcha(mail);
- }
- public bool IsValidCaptcha(string mail)
- {
- return true;
- }
- }
|