Exemplo n.º 1
0
 public void OnChangeTab(InputAction.CallbackContext context)
 {
     if (context.phase == InputActionPhase.Performed)
     {
         TabSwitched.Invoke(context.ReadValue <float>());
     }
 }
Exemplo n.º 2
0
 private void FireTabSwitched(bool switchedToSingleTemplateEditor)
 {
     TabSwitched?.Invoke(switchedToSingleTemplateEditor);
 }