void determineScene() { currentAScene = aScenes [aSceneNumber]; s2d = currentAScene.GetComponent <StringsToDisplay> (); }
// Update is called once per frame void Update() { currentAScene = dtd.currentAScene; s2d = currentAScene.GetComponent <StringsToDisplay> (); determineBox(); }