private IEnumerator DisableActionTemporarilyCoroutine(UnityEngine.InputSystem.InputAction action, float seconds) { action.Disable(); Debug.Log("disabled fire"); yield return(new WaitForSeconds(seconds)); action.Enable(); Debug.Log("enabled fire"); }
private void OnDisable() { toggleAction.Disable(); }