void Start()
    {
        LevelRandomizer tmp = GetComponent <LevelRandomizer>();

        xOffset = tmp.xOffset;
        yOffset = tmp.yOffset;
        //print("offsets " + xOffset + " " + yOffset);
        daLight = GetComponent <WarningLightManager>();

        Init(tmp.startX, tmp.startY, tmp.startZ, tmp.xTileSize, tmp.yTileSize, tmp.WarnForXManyFrames);
    }
    void Start()
    {
        LevelRandomizer tmp = GetComponent <LevelRandomizer>();

        warnFramesCount = tmp.WarnForXManyFrames;
        if (warnFramesCount == 0)
        {
            warnFramesCount++;
        }

        WarningLightManager tmp2 = GetComponent <WarningLightManager>();

        WarningLight = tmp2.WarningLight;
        wMax         = tmp2.wMax;
        wMin         = tmp2.wMin;
    }