private void Update() { if (isTimerPressed && (Time.time - timestamp) >= 5f) { speechManager.NextText(); Destroy(this.gameObject); } }