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]));
        }
    }
Beispiel #2
0
 public void SetTextAsCurrentKey()
 {
     SetText(GameInputManager.GetKeyCode(keyName).ToString().ToUpper());
 }