Example #1
0
 public void Init(string label, KeyMapping key, int index)
 {
     Init(label, key, index,
          (int dummy, CustomInput input) =>
     {
         keyMapping.GetInput(keyIndex) = input;
     },
          (int dummy, Text dummy2) =>
     {
         mKeyText.text = keyMapping.GetInput(keyIndex).ToString();
     });
 }