Пример #1
0
 // Token: 0x06004DEB RID: 19947 RVA: 0x001A18CA File Offset: 0x0019FCCA
 public VirtualAxis(string name, bool matchToInputSettings)
 {
     this.name = name;
     this.matchWithInputManager = matchToInputSettings;
     CrossPlatformInput.RegisterVirtualAxis(this);
 }
Пример #2
0
 private static void AddAxes(string name)
 {
     // we have not registered this button yet so add it, happens in the constructor
     CrossPlatformInput.RegisterVirtualAxis(new CrossPlatformInput.VirtualAxis(name));
 }