Beispiel #1
0
    public static void SaveGameInputs()
    {
        string[] keyMaps = GameInputManager.GetKeyMaps();

        for (int i = 0; i < keyMaps.Length; ++i)
        {
            PlayerPrefs.SetInt(keyMaps[i], (int)GameInputManager.GetKeyCode(keyMaps[i]));
        }
    }