public Action(RebindInput self, Input.Actions action, string description) { this.action = action; this.self = self; this.description = description; this.timeoutText = ""; }
private string getActionButtons(Input.Actions act) { string str = ""; for (int i = 0; i < 3; i++) { string tmp = Input.AxisName(act, i); if (tmp.Length > 0) { str += $" or {bold(lightBlue(tmp))}"; } } if (str.Length > 4) { str = str.Substring(4); } return(str); }
public static int idx(this Input.Actions a) { return((int)a); }