Ejemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 public void ApplyChanges()
 {
     bl_InputData.Instance.SaveMappedInstance();
     if (ApplyButton != null)
     {
         ApplyButton.SetActive(false);
     }
     if (RevertButton != null)
     {
         RevertButton.SetActive(false);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 void OnDetect()
 {
     currentFetchInput.OnChanged(pendingButton);
     isFetchingKey = false;
     if (ApplyButton != null)
     {
         ApplyButton.SetActive(true);
     }
     if (RevertButton != null)
     {
         RevertButton.SetActive(true);
     }
 }
Ejemplo n.º 3
0
        /// <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();
            }
        }