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