public static void bind(ref ConsoleSystem.Arg args) { if (args.HasArgs(3)) { string strName = args.Args[0]; string a = args.Args[1]; string b = args.Args[2]; GameInput.GameButton button = GameInput.GetButton(strName); if (button != null) { button.Bind(a, b); } } }
public static void bind(ref ConsoleSystem.Arg args) { if (!args.HasArgs(3)) { return; } string str = args.Args[0]; string str1 = args.Args[1]; string str2 = args.Args[2]; GameInput.GameButton button = GameInput.GetButton(str); if (button != null) { button.Bind(str1, str2); } }