void SlowAmmo() { if (Input.GetKeyDown(KeyCode.Alpha3) && m_finishCoolTimeS) { Slow slow = Slow.FindObjectOfType <Slow>(); slow.SlowAmmo(); m_finishCoolTimeS = false; } else if (!m_finishCoolTimeS) { Debug.Log(m_finishCoolTimeS); m_timerS += Time.deltaTime; if (m_timerS >= m_healCool) { m_finishCoolTimeS = true; m_timerS = 0; } } }