/// <summary> /// /// </summary> public void ApplyChanges() { bl_InputData.Instance.SaveMappedInstance(); if (ApplyButton != null) { ApplyButton.SetActive(false); } if (RevertButton != null) { RevertButton.SetActive(false); } }
/// <summary> /// /// </summary> void OnDetect() { currentFetchInput.OnChanged(pendingButton); isFetchingKey = false; if (ApplyButton != null) { ApplyButton.SetActive(true); } if (RevertButton != null) { RevertButton.SetActive(true); } }
/// <summary> /// /// </summary> IEnumerator Start() { keyCodeList = Enum.GetValues(typeof(KeyCode)); KeyBindingTemplate.SetActive(false); if (ApplyButton != null) { ApplyButton.SetActive(false); } if (RevertButton != null) { RevertButton.SetActive(false); } while (!bl_GameData.isDataCached) { yield return(null); } if (!initialized) { InstanceKeys(); } }