Skip to content

Feature/add debugmenu - #25

Open
kochounoyume wants to merge 17 commits into
mainfrom
feature/add-debugmenu
Open

Feature/add debugmenu#25
kochounoyume wants to merge 17 commits into
mainfrom
feature/add-debugmenu

Conversation

@kochounoyume

@kochounoyume kochounoyume commented Jun 29, 2025

Copy link
Copy Markdown
Member

#3

@kochounoyume kochounoyume self-assigned this Jun 29, 2025
Copilot AI review requested due to automatic review settings June 29, 2025 05:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a debug menu feature for LocalPrefs, enabling debug tools in supported builds.

  • Updates project settings to add a new scripting define symbol for WebGL.
  • Adds new package references and assembly definitions for the debug toolkit and UI toolkit support.
  • Introduces runtime and editor utilities (DebugUtils, DebugMenuWindow, DebugToolEntryPoint) for rendering the debug menu UI.

Reviewed Changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/LocalPrefs.Unity/ProjectSettings/ProjectSettings.asset Adds ENABLE_DEBUGTOOLKIT under scriptingDefineSymbols.
src/LocalPrefs.Unity/Packages/packages-lock.json Adds the debug toolkit package dependency.
src/LocalPrefs.Unity/Packages/manifest.json Registers the debug toolkit package.
src/LocalPrefs.Unity/Packages/jp.andantetribe.localprefs/Runtime/LocalPrefs.Unity.asmdef Adds a dependency with ENABLE_UITOOLKIT define.
src/LocalPrefs.Unity/Packages/jp.andantetribe.localprefs/Runtime/DebugUtils.cs Introduces DebugUtils utility with debug menu extension for UIElements.
src/LocalPrefs.Unity/Packages/jp.andantetribe.localprefs/Editor/LocalPrefsDebugMenuWindow.cs Adds an editor window to host the debug menu.
src/LocalPrefs.Unity/Assets/DebugToolEntryPoint.cs Provides a runtime entry point to initialize the debug menu UI.
Other .meta files Auto-generated meta files for new assets.

@AndanteTribe AndanteTribe deleted a comment from Copilot AI Jun 29, 2025
@AndanteTribe AndanteTribe deleted a comment from Copilot AI Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants