Exemplo n.º 1
0
    void Awake()
    {
        bg       = this.GetComponentInChildren <BackgroundMaker>();
        bg.scale = Scale;

        missionNum   = 0;
        finalMission = false;
    }
Exemplo n.º 2
0
    void Awake()
    {
        bg = this.GetComponentInChildren<BackgroundMaker>();
        bg.scale = Scale;

        missionNum = 0;
        finalMission = false;
    }
Exemplo n.º 3
0
    // Initializes the background pattern
    private void CreateBackground()
    {
        BackgroundMaker background = new BackgroundMaker(size, mazeRows, mazeColumns, pattern);

        background.Generate();
    }