Пример #1
0
    // Start is called before the first frame update
    void Start()
    {
        bool test = saveGameManager.LoadSpeed() == (int)GameSpeed.Slow;

        CurrentSpeedState = test ? CurrentSpeedState = GameSpeed.Slow :  CurrentSpeedState = GameSpeed.Fast;
    }