예제 #1
0
    // ================================================================ //
    // MonoBehaviour에서의 상속.

    void    Start()
    {
        this.score_disp = GameObject.FindGameObjectWithTag("Score Disp").GetComponent <ScoreDisp>();
        this.high_score = GlobalParam.getInstance().getHighScore();
        this.last_socre = GlobalParam.getInstance().getLastScore();
        this.next_step  = STEP.RESULT;

        this.sound_control = GameObject.Find("SoundRoot").GetComponent <SoundControl>();
    }
예제 #2
0
    // ================================================================ //
    // MonoBehaviour에서의 상속.
    void Start()
    {
        this.score_disp = GameObject.FindGameObjectWithTag("Score Disp").GetComponent<ScoreDisp>();
        this.high_score = GlobalParam.getInstance().getHighScore();
        this.last_socre = GlobalParam.getInstance().getLastScore();
        this.next_step = STEP.RESULT;

        this.sound_control = GameObject.Find("SoundRoot").GetComponent<SoundControl>();
    }