public void StartSinking() { GetComponent <UnityEngine.AI.NavMeshAgent> ().enabled = false; GetComponent <Rigidbody> ().isKinematic = true; isSinking = true; ScoreManager.score += (scoreValue * GameInstructions.SCORE_MULTIPLIER) + ScoreManager.HEATLEVELBOOST; if (GameInstructions.GAME_MODE == Literals.GAME_MODES.SURVIVAL_GAME_MODE) { timer.Seconds += timeValue; timer.UpdateBonusTime(); } Destroy(gameObject, 2f); }