public void Show() { mover.StartMoving(currentData.Speed); visibility.Show(); objectVisibility.Show(); state = State.Moving; }
private void ShowHighScoreMarker() { if (ScoreKeeper.Score == ScoreKeeper.HighScore - 1) { visibility.Show(); //return; } }
private void Activate(PickupType powerupType) { if (powerupType != PickupType.Shield) { return; } if (state == State.Active) { autoKillTween.Restart(); return; } state = State.Active; shieldVisibility.Show(); shieldTween.Restart(); autoKillTween.Restart(); }