Exemplo n.º 1
0
 public CustomInputHandler(IEnumerable <EInputKey> inInputs, OnButtonInputHandledDelegate inDelegate)
     : base()
 {
     foreach (var inputKey in inInputs)
     {
         ButtonResponses.Add(inputKey, inDelegate);
     }
 }
Exemplo n.º 2
0
 public void AddButtonResponse(EInputKey inInputKey, OnButtonInputHandledDelegate func)
 {
     ButtonResponses.Add(inInputKey, func);
 }