示例#1
0
 private void OnValueChanged_ForceCrashlytics()
 {
     if (forceCrashlytics.isOn)
     {
         forceCrashlytics.isOn = false;
         SGDebug.ForceException();
         StartCoroutine(SGEnvironment.Quit());
     }
 }
 void CheckGenuineApp()
 {
     if (checkGenuineApp)
     {
         if (!SGSecurity.CheckGenuine())
         {
             SGDebug.LogWarning("CheckGenuine=false");
             SGDebug.SetCustomKey("CheckGenuine", "False");
             SGDebug.ForceException();
             StartCoroutine(SGEnvironment.Quit());
         }
     }
 }