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