// Use this for initialization
        void Start()
        {
            gameController = GameObject.Find("GameManager").GetComponent <MainGameController>();
            childbuilder   = GameObject.Find("ExplainerSceneManager").GetComponent <ChildBuilder>();

            // level = gameController.levelNumber;

            showOnScreen();
            CorrectTrain();
        }
Exemple #2
0
 void Awake()
 {
     gameController = GameObject.Find("GameManager").GetComponent <MainGameController>();
 }