예제 #1
0
    public void SaveAllKeybinds()
    {
        foreach (var b in bufferKeybind)
        {
            KeyScheme.SaveKeycodeToPlayerPrefs(b.Key, b.Value);
            //Lookup.GetBtnText(b.Key).text = Lookup.GetKeycode(b.Key).ToString();
        }

        KeyScheme.LoadKeycodesFromPlayerPrefs();
    }
예제 #2
0
    public void Initialize()
    {
        //Reference
        Lookup     = GetComponent <KeyRemappingUILookup>();
        sfxManager = SfxManager.instance;

        //Load keyscheme and update display
        KeyScheme.LoadKeycodesFromPlayerPrefs();
        UpdateAllUiButtonText();
    }
예제 #3
0
 void Awake()
 {
     KeyScheme.LoadKeycodesFromPlayerPrefs();
 }