Ejemplo n.º 1
0
 void TriggerScript()
 {
     if (passingJudge.playerJudge == false)
     {
         passingJudge.playerJudge = true;
     }
     else
     {
         roadController.InstantiateAndDestroy();
         passingJudge.ColliderOn();
         passingJudge.playerJudge = false;
         ChekcRun();
     }
 }
Ejemplo n.º 2
0
    void TrigerScript()
    {
        if (passingJudge.playerJudge == false)
        {
            passingJudge.playerJudge = true;
        }
        else
        {
            roadController.InstantiateAndDestroy();
            passingJudge.ColliderOn();
            passingJudge.playerJudge = false;
            ///<summary>
            /// TODO
            /// Subject管理するのでSubjectで実装
            /// 前Verなので修正の必要なし
            /// </summary>

            //playerRunning.checkRun.Value = playerRunning.CheckRunning(obj);
        }
    }