// Token: 0x06002916 RID: 10518 RVA: 0x0009676C File Offset: 0x0009496C public void Setup(global::GameInput.GameButton button) { this.labelName.Text = button.Name; this.keyOne.Text = button.bindingOne.ToString(); this.keyTwo.Text = button.bindingTwo.ToString(); if (this.keyOne.Text == "None") { this.keyOne.Text = " "; } if (this.keyTwo.Text == "None") { this.keyTwo.Text = " "; } }
public static void bind(ref global::ConsoleSystem.Arg args) { if (!args.HasArgs(3)) { return; } string strName = args.Args[0]; string a = args.Args[1]; string b = args.Args[2]; global::GameInput.GameButton button = global::GameInput.GetButton(strName); if (button != null) { button.Bind(a, b); } }