Esempio n. 1
0
 public bool IsPressed(string button)
 {
     return((Source?.IsPressed(button) ?? false)
            | (SourceOr?.IsPressed(button) ?? false));
 }
Esempio n. 2
0
 public bool IsPressed(string button)
 {
     return((Source != null ? Source.IsPressed(button) : false)
            | (SourceOr != null ? SourceOr.IsPressed(button) : false));
 }