예제 #1
0
    /// <summary>
    /// Checks some secret stuff. Not going to use this. Not worth it.
    /// </summary>
    private void checkHash()
    {
        float hash      = SecretStuff.getHash2();
        float savedHash = PlayerPrefs.GetInt("hash");

        Debug.Log("hash: " + hash + ", savedHash: " + savedHash);
    }
 public SendSms(IOptions <SecretStuff> secrets)
 {
     _secrets = secrets.Value ??
                throw new ArgumentNullException(nameof(secrets));
 }
예제 #3
0
 public void OnDestroy()
 {
     PlayerPrefs.SetInt("hash", SecretStuff.getHash2());
 }
예제 #4
0
 void OnApplicationQuit()
 {
     PlayerPrefs.SetInt("hash", SecretStuff.getHash2());
 }