public GeneralTest() { ChildList = new List <Child>(); Director = new ChildDirector(); Builder = new ChildBuilder(); GenerateChildren(20); }
// Use this for initialization void Start() { gameController = GameObject.Find("GameManager").GetComponent <MainGameController>(); childbuilder = GameObject.Find("ExplainerSceneManager").GetComponent <ChildBuilder>(); // level = gameController.levelNumber; showOnScreen(); CorrectTrain(); }