MrGravity.LevelChoice.Reset C# (CSharp) Method

Reset() public method

Resets this level choice to unlocked/locked depending on rUnlock, and resets scores to 0.
public Reset ( bool rUnlock ) : void
rUnlock bool True if level is locked, false otherwise
return void
        public void Reset(bool rUnlock)
        {
            Unlocked = rUnlock;
            TimerStar = CollectionStar = DeathStar = 0;
            Level.ResetScores();
        }