Ejemplo n.º 1
0
    //Initiates a new game, generates random pins of varying sizes, resets the timer
    public void NewGame()
    {
        if (!m_Pin_Manager_Ref)
        {
            Debug.LogError("[Error] ...");
            return;
        }

        m_Pin_Manager_Ref.GenerateRandomPins();
        SetDifficulty(m_Lockpick_Game_Difficulty);
        m_State     = GameState.Lockpicking;
        m_Time_Left = m_Time_Limit;
        StartTimer(true);
    }