コード例 #1
0
 public void Show()
 {
     mover.StartMoving(currentData.Speed);
     visibility.Show();
     objectVisibility.Show();
     state = State.Moving;
 }
コード例 #2
0
 private void ShowHighScoreMarker()
 {
     if (ScoreKeeper.Score == ScoreKeeper.HighScore - 1)
     {
         visibility.Show();
         //return;
     }
 }
コード例 #3
0
        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();
        }