void Awake() { bg = this.GetComponentInChildren <BackgroundMaker>(); bg.scale = Scale; missionNum = 0; finalMission = false; }
void Awake() { bg = this.GetComponentInChildren<BackgroundMaker>(); bg.scale = Scale; missionNum = 0; finalMission = false; }
// Initializes the background pattern private void CreateBackground() { BackgroundMaker background = new BackgroundMaker(size, mazeRows, mazeColumns, pattern); background.Generate(); }