private void UpdateStage()
 {
     if (this.stages.Count == 0)
     {
         return;
     }
     for (int index = 0; index < this.stages.Count; ++index)
     {
         this.stages[index].instance.SetActive(index == this.stage);
     }
     GroundWatch.PhysicsChanged(((Component)this).get_gameObject());
 }
Beispiel #2
0
 private void UpdateStage()
 {
     if (this.stages.Count == 0)
     {
         return;
     }
     for (int i = 0; i < this.stages.Count; i++)
     {
         this.stages[i].instance.SetActive(i == this.stage);
     }
     GroundWatch.PhysicsChanged(base.gameObject);
 }