Skip to content

Fix/inject toolbar#92

Merged
alexanderlarsen merged 3 commits intomainfrom
fix/inject-toolbar
Apr 21, 2026
Merged

Fix/inject toolbar#92
alexanderlarsen merged 3 commits intomainfrom
fix/inject-toolbar

Conversation

@alexanderlarsen
Copy link
Copy Markdown
Owner

Added

  • Added Inject toolbar support for Unity 6000.3 and newer using Unity's MainToolbar API.
  • Kept a legacy Inject toolbar implementation for earlier supported Unity versions that do not expose the new toolbar API.

Improved

  • Optimized both Inject toolbar implementations to use proper editor callbacks instead of polling.
  • Simplified the legacy toolbar flow while preserving the required fallback attachment approach for older Unity versions.

…ion.

- Added Inject toolbar support for Unity 6000.3 and up using Unity's new `MainToolbar` API.
- Kept the legacy Inject toolbar implementation for earlier Unity versions that do not expose the new toolbar API.
- Optimized both toolbar implementations to use proper editor/engine callbacks instead of polling.
- Simplified the legacy toolbar flow while preserving the required reflection-based attachment for older Unity versions.
- Added new tests for the new `InjectToolbarState`.
@alexanderlarsen alexanderlarsen merged commit 7a501ae into main Apr 21, 2026
22 checks passed
@alexanderlarsen alexanderlarsen deleted the fix/inject-toolbar branch April 21, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant