PlayerHealth.LevelReset C# (CSharp) Method

LevelReset() public method

public LevelReset ( ) : void
return void
    void LevelReset()
    {
        // Increment the timer.
        _timer += Time.deltaTime;

        //If the timer is greater than or equal to the time before the level resets...
        if (_timer >= resetAfterDeathTime)
        {
            // ... reset the level.
            //	sceneFadeInOut.EndScene();
        }
    }