v2.1.1#16
Merged
Merged
Conversation
Collaborator
hkmt-mmy
commented
May 14, 2026
- Add Unity 6000.x API compatibility for generic TreeView types and InstanceID-to-EntityId transition
qua-iy
approved these changes
May 14, 2026
There was a problem hiding this comment.
Pull request overview
Updates the AudioConductor Unity package to v2.1.1 and adds conditional compilation shims to keep the Editor tooling building across Unity 2022.3 and Unity 6000.x API changes (generic TreeView* types and the InstanceID → EntityId transition).
Changes:
- Bump package version to 2.1.1 and add a corresponding changelog entry.
- Add Unity 6000.x compatibility for generic IMGUI TreeView (
TreeView<T>,TreeViewItem<T>,TreeViewState<T>) via#if UNITY_6000_2_OR_NEWERaliases. - Add Unity 6000.5+ compatibility for OnOpenAsset EntityId callbacks and Unity 6000.4+
GetEntityId()usage in editor history labeling.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Packages/AudioConductor/package.json | Version bump to 2.1.1. |
| Packages/AudioConductor/CHANGELOG.md | Adds v2.1.1 entry describing Unity 6000.x compatibility fixes. |
| Packages/AudioConductor/Editor/Core/Tools/CueSheetEditor/Views/CueListView.cs | Adds TreeViewItem alias for Unity 6000.x generic TreeView API. |
| Packages/AudioConductor/Editor/Core/Tools/CueSheetEditor/Views/CueListTreeView.State.cs | Adds TreeViewState alias for Unity 6000.x generic TreeView API. |
| Packages/AudioConductor/Editor/Core/Tools/CueSheetEditor/Views/CueListTreeView.cs | Adds TreeView/TreeViewItem aliases for Unity 6000.x generic TreeView API. |
| Packages/AudioConductor/Editor/Core/Tools/CueSheetEditor/Models/TrackInspectorModel.cs | Uses GetEntityId() (Unity 6000.4+) for undo action labels; falls back to InstanceID otherwise. |
| Packages/AudioConductor/Editor/Core/Tools/CueSheetEditor/Models/Interfaces/ICueListModel.cs | Updates TreeView item type reference via alias; removes direct IMGUI.Controls dependency. |
| Packages/AudioConductor/Editor/Core/Tools/CueSheetEditor/Models/CueListModel.cs | Updates TreeView item type reference via alias; removes direct IMGUI.Controls dependency. |
| Packages/AudioConductor/Editor/Core/Tools/CueSheetEditor/Models/CueListItem.cs | Updates base TreeView item type reference via alias; removes direct IMGUI.Controls dependency. |
| Packages/AudioConductor/Editor/Core/Tools/CueSheetEditor/CueSheetAssetOpener.cs | Adds Unity 6000.5+ EntityId overload for OnOpenAsset. |
| Packages/AudioConductor/Editor/Core/Tools/CodeGen/CueEnumDefinitionTreeView.State.cs | Adds TreeViewState alias for Unity 6000.x generic TreeView API. |
| Packages/AudioConductor/Editor/Core/Tools/CodeGen/CueEnumDefinitionTreeView.cs | Adds TreeView/TreeViewItem aliases for Unity 6000.x generic TreeView API. |
| Packages/AudioConductor/Editor/Core/Tools/CodeGen/CueEnumDefinitionTreeItem.cs | Updates base TreeView item type reference via alias; removes direct IMGUI.Controls dependency. |
| Packages/AudioConductor/Editor/Core/Tools/CodeGen/CueEnumDefinitionOpener.cs | Adds Unity 6000.5+ EntityId overload for OnOpenAsset. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.