Exemple #1
0
 //CharacterSelect selection;
 // Use this for initialization
 void Awake()
 {
     bounds            = GameObject.Find("Boundaries").GetComponent <Boundaries>();
     currentenemycount = enemycount;
     info = GameObject.Find("Selectmanager");
     DontDestroyOnLoad(info);
     choice = info.GetComponent <CharacterSelect>();
     Instantiate(choice.character[choice.getSelected()]);
 }