示例#1
0
    // Update is called once per frame
    void Update()
    {
        //スコアを更新
        int score = CalcScore();

        scoreText.text = "Score:" + score + "m";

        //ライフパネルを更新
        lifePanel.UpdateLite(nejiko.Lite());
    }