예제 #1
0
 void TriggerScript()
 {
     if (passingJudge.playerJudge == false)
     {
         passingJudge.playerJudge = true;
     }
     else
     {
         roadController.InstantiateAndDestroy();
         passingJudge.ColliderOn();
         passingJudge.playerJudge = false;
         ChekcRun();
     }
 }
예제 #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);
        }
    }