// Update is called once per frame
 void FixedUpdate()
 {
     if (gamePlaying == true)
     {
         Time.fixedDeltaTime = timeForNextBoard;
         myBoard.WalkThrough();
         myBoard.SetNewBoard();
     }
 }
Пример #2
0
 // Update is called once per frame
 void FixedUpdate()
 {
     // if the game is playing go through the board and set up the next frame
     if (gamePlaying == true)
     {
         Time.fixedDeltaTime = timeForNextBoard;
         myBoard.WalkThrough();
         myBoard.SetNewBoard();
     }
 }