// Update is called once per frame void Update() { if (!ApplicationControls.isGamePaused()) { GetMovement(); GetAttack(); } }
void FixedUpdate() { if (!ApplicationControls.isGamePaused()) { UpdateRapidTimer(); GetRapidFire(); if (playerHealth <= 0) { Destroy(this.gameObject); audioScript.blueWinSfx(transform.position); ApplicationControls.GameOver(2); } } }
void Awake() { instance = this; }