示例#1
0
 // Update is called once per frame
 void Update()
 {
     if (!_boardBehaviour.GameIsOverOrEnded())
     {
         _totalTime += Time.deltaTime;
         if (_finishedAnimation == true && !finishedMoviment)
         {
             if (!onlyDownMoviment)
             {
                 MovimentDownWithKey();
                 MovimentRotate();
                 MovimentLeftOrRight();
             }
             MovimentDownAutomatic();
         }
     }
 }