// Token: 0x06004DF5 RID: 19957 RVA: 0x001A1938 File Offset: 0x0019FD38 public VirtualButton(string name, bool matchToInputSettings) { this.name = name; this.matchWithInputManager = matchToInputSettings; CrossPlatformInput.RegisterVirtualButton(this); }
private static void AddButton(string name) { // we have not registered this button yet so add it, happens in the constructor CrossPlatformInput.RegisterVirtualButton(new CrossPlatformInput.VirtualButton(name)); }