Skip to content

Commit 19f051c

Browse files
committed
Renamed DebugLogPopup.Reset to avoid Unity's special Reset functionality
1 parent 0ef957c commit 19f051c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Plugins/IngameDebugConsole/Scripts/DebugLogPopup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public void NewLogsArrived( int newInfo, int newWarning, int newError )
9797
backgroundImage.color = alertColorInfo;
9898
}
9999

100-
private void Reset()
100+
private void ResetValues()
101101
{
102102
newInfoCount = 0;
103103
newWarningCount = 0;
@@ -140,7 +140,7 @@ public void Show()
140140
canvasGroup.alpha = 1f;
141141

142142
// Reset the counters
143-
Reset();
143+
ResetValues();
144144

145145
// Update position in case resolution was changed while the popup was hidden
146146
UpdatePosition( true );

0 commit comments

Comments
 (0)