コード例 #1
0
 public void ResetStage()
 {
     foreach (Transform obj in _stageContainer.transform)
     {
         if (obj.name != "Static" && !obj.CompareTag("Player"))
         {
             _gameObjectManager.DestroyObject(obj.gameObject);
         }
     }
     _halfFills.Clear();
     //reset fullFillCount
     _fullFillCount    = 0;
     _lastStopPosition = new Vector3(_levelMatrix._width / 2, 0, 0);
 }