Esempio n. 1
0
        public static void LogGame()
        {
            if (PlayerPrefs.TryGetInt("meymun", out int intResult))
            {
                Debug.Log("int getted result: " + intResult);
            }

            if (PlayerPrefs.TryGetFloat("new float value", out float floatResult))
            {
                Debug.Log("float getted result: " + floatResult);
            }

            if (PlayerPrefs.TryGetBool("is sick", out bool boolResult))
            {
                Debug.Log("bool getted result: " + boolResult);
            }
        }