Esempio n. 1
0
 public void enemySetup()
 {
     wg.setWordList(enemy.WordList);
     enemyGO.GetComponent <SpriteRenderer>().sprite = Resources.Load <Sprite>(enemy.Sprite);
     enemy.CurrentHealth = enemy.MaxHealth;
     enemyGO.GetComponent <SpriteRenderer>().color = enemy.Color;         //Color.white;
     enemy.dead = false;
     wg.wordGeneration();
 }
Esempio n. 2
0
 // Use this for initialization
 void Awake()
 {
     setStage();
     wg.setWordList(am.levels[GameStats.levelIndex].WordListName);
 }