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