コード例 #1
0
 // Token: 0x0600389E RID: 14494 RVA: 0x0002BE79 File Offset: 0x0002A079
 public void Init(Func <KeyCode[]> getKeys, Action <KeyCode[]> setKeys, CustomSettingsScreen owner)
 {
     this.owner   = owner;
     this.GetKeys = getKeys;
     this.SetKeys = setKeys;
     this.messageBox.SetMessage(new MessageDescriptor(KeybindControl.KeyBindingToString(getKeys())));
 }
コード例 #2
0
 public void Init(Func <PlayerInputRebinding.ControllerButton[]> getKeys, Action <PlayerInputRebinding.ControllerButton[]> setKeys, CustomSettingsScreen owner)
 {
     this.owner   = owner;
     this.GetKeys = getKeys;
     this.SetKeys = setKeys;
     this.messageBox.SetMessage(new MessageDescriptor(ControllerBindControl.KeyBindingToString(getKeys())));
 }