Esempio n. 1
0
 protected override void Print()
 {
     for (int i = 0; i < items.Length; i++)
     {
         Text t = items[i].GetComponentInChildren <Text>();
         t.text = "Stage " + (i + 1).ToString();
         Image img = items[i].GetComponent <Image>();
         img.overrideSprite = ResourceImages.GetStageImage(i);
     }
 }
Esempio n. 2
0
 public void SetNextStage()
 {
     stageImage.overrideSprite = ResourceImages.GetStageImage(level);
     enemy.Set(level);
     level += 1;
 }