private void Update() { if (Input.GetKeyDown(KeyCode.RightControl)) { Fire(); manaScript.UseManaAttack(1.0f); m_Character.AnimAttack(false); } else if (Input.GetKeyUp(KeyCode.RightControl)) { m_Character.StopAttack(false); } }
private void Update() { if (Input.GetKeyDown(KeyCode.RightControl)) { Fire(); manaScript.UseManaAttack(1.0f); m_Character.AnimAttack(false); } else if (Input.GetKeyUp(KeyCode.RightControl)) { m_Character.StopAttack(false); } }