void Start()
    {
        //map = GetComponent<MapScript>();
        bms = GetComponent<BunnyManagerScript>();
        if (fade == null)
        {
            fade = GetComponentInChildren<VignetteScript>();
        }
        fade.FadeIn();
        playerRespawnTimer = new Timer(playerRespawnTime, () => ResetPlayer());
        levelEndDelayTimer = new Timer(levelEndDelay, () => NextScene());
	}
Beispiel #2
0
	void Start()
    {
        gms = GetComponent<GameManagerScript>();
        bms = GetComponent<BunnyManagerScript>();
        InitializeMap();
        if (randomLandMines)
        {
            RandomLandMines();
        }
        InitializeSpecialTiles();
        UpdateTileMineProximity();
	}