public void Firing(InputAction.CallbackContext context) { if (context.started) { m_firing = true; m_currentGadget.IsFiring(m_firing); } else if (context.canceled) { m_firing = false; m_currentGadget.IsFiring(m_firing); } }