Skip to content

Commit

Permalink
Removed debug window from standalone player.
Browse files Browse the repository at this point in the history
  • Loading branch information
macmillan333 committed Jan 4, 2024
1 parent b0847bc commit b3635bb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 443 deletions.
452 changes: 10 additions & 442 deletions TECHMANIA/Assets/Fonts/Noto Sans CJK/NotoSansCJK-Regular SDF.asset

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion TECHMANIA/Assets/Scenes/Main.unity
Original file line number Diff line number Diff line change
Expand Up @@ -38530,7 +38530,7 @@ PrefabInstance:
type: 3}
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 0}
objectReference: {fileID: 377693351}
- target: {fileID: 8111477514770311784, guid: 6d71ded5003a93c4ca74d7e2eb0e4f62,
type: 3}
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
Expand Down
2 changes: 2 additions & 0 deletions TECHMANIA/Assets/Scripts/Components/Main Scene/DebugWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ public class DebugWindow : MonoBehaviour
{
public bool display;

#if UNITY_EDITOR
private Rect debugOverlayRect = new Rect(10, 10, 300, 200);
private float lastDebugUpdate = 0f;
private string lastDebugText = "";
Expand Down Expand Up @@ -61,4 +62,5 @@ private void OnGUI()
GUI.DragWindow(); // Must be at end of window function
}, "Debug information");
}
#endif
}

0 comments on commit b3635bb

Please sign in to comment.