Skip to content

Commit da66128

Browse files
committed
Some logs are now wrapped inside BETAHUB_DEBUG
1 parent 36cf11a commit da66128

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Runtime/Scripts/GameRecorder.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,12 @@ public string StopRecordingAndSaveLastMinute()
141141

142142
private IEnumerator CaptureFrames()
143143
{
144+
#if BETAHUB_DEBUG
145+
144146
UnityEngine.Debug.Log($"Game resolution: {_gameWidth}x{_gameHeight}");
145147
UnityEngine.Debug.Log($"Output resolution: {_outputWidth}x{_outputHeight}");
148+
149+
#endif
146150

147151
RenderTexture scaledRT = null;
148152
Texture2D scaledTexture = null;

0 commit comments

Comments
 (0)