Changes

Jump to navigation Jump to search
m
Text replacement - "(e.g. " to "(''e.g.'', "
Line 107: Line 107:  
</syntaxhighlight>
 
</syntaxhighlight>
   −
You can also convert <samp>SButton</samp> to the other constants. This uses a <samp>TryGet</samp> approach since <samp>SButton</samp> is a superset of the others (e.g. you can't convert <samp>SButton.ControllerA</samp> to a keyboard value):
+
You can also convert <samp>SButton</samp> to the other constants. This uses a <samp>TryGet</samp> approach since <samp>SButton</samp> is a superset of the others (''e.g.'', you can't convert <samp>SButton.ControllerA</samp> to a keyboard value):
 
<syntaxhighlight lang="c#">
 
<syntaxhighlight lang="c#">
 
SButton value = SButton.A;
 
SButton value = SButton.A;
Line 195: Line 195:  
|-
 
|-
 
| <code>ToString()</code>
 
| <code>ToString()</code>
| Get a string representation of the input binding (e.g. <code>"F2, LeftShift + S"</code>).
+
| Get a string representation of the input binding (''e.g.'', <code>"F2, LeftShift + S"</code>).
 
|}
 
|}
  
106,387

edits

Navigation menu