예제 #1
0
 public IEnumerable <Keys> GetKeys(InputAction inputAction)
 {
     return((from e in _mappings.Keys where _mappings[e].Equals(inputAction) select e).ToArray());
 }
예제 #2
0
 public Keys GetKey(InputAction inputAction)
 {
     return((from e in _mappings.Keys where _mappings[e].Equals(inputAction) select e).SingleOrDefault());
 }