Exemple #1
0
    private void setImage(Controller.Judge judge)
    {
        switch (judge)
        {
        case Controller.Judge.PERFECT:
            this.JudgeAndCombo.sprite = this.judgeImgs[0];
            break;

        case Controller.Judge.GREAT:
            this.JudgeAndCombo.sprite = this.judgeImgs[1];
            break;

        case Controller.Judge.GOOD:
            this.JudgeAndCombo.sprite = this.judgeImgs[2];
            break;

        case Controller.Judge.BAD:
            this.JudgeAndCombo.sprite = this.judgeImgs[3];
            break;

        case Controller.Judge.MISS:
            this.JudgeAndCombo.sprite = this.judgeImgs[4];
            break;
        }
    }
Exemple #2
0
 public void screenJudgeAndCombo(Controller.Judge judge)
 {
     this.setImage(judge);
     this.JudgeAndCombo.enabled = true;
     this.beginTime             = Music.AudioTimeSec;
 }