Example #1
0
 private void OnEnable()
 {
     controls.Store.Confirm.started += TryBuy;
     controls.Store.Cancel.started  += Cancel;
     controls.Enable();
 }
Example #2
0
 private void OnEnable()
 {
     controls.Player.Interact.started  += Interact;
     controls.Player.Interact.canceled += Interact;
     controls.Enable();
 }