Esempio n. 1
0
    void Awake()
    {
        //  установка дефолтных значений
        GameParams.GetMapsNames();
        GameParams.GameMode      = GameModes.Sandbox;
        GameParams.CameraState   = CameraStates.Normal;
        GameParams.MapType       = MapTypes.Generation;
        GameParams.GamePlayState = GamePlayState.Menu;
        GameParams.MapScale      = 1.0f;
        GameParams.Seed          = 1.0f;
        GameParams.MapId         = 0;

        GameParams.Width  = GameConstants.MinWidth;
        GameParams.Height = GameConstants.MaxHeight;
        GameParams.Length = GameConstants.MinLength;
    }