Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/claude-nl-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:
cancel-in-progress: true

env:
UNITY_IMAGE: unityci/editor:ubuntu-2021.3.45f1-linux-il2cpp-3
UNITY_IMAGE: unityci/editor:ubuntu-2021.3.45f2-linux-il2cpp-3

jobs:
nl-suite:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unity-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
testMode:
- editmode
unityVersion:
- 2021.3.45f1
- 2021.3.45f2
steps:
# Checkout
- name: Checkout repository
Expand Down
3 changes: 3 additions & 0 deletions MCPForUnity/Editor/Windows/MCPForUnityEditorWindowNew.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ private enum ConnectionProtocol
}

// Settings UI Elements
private Label versionLabel;
private Toggle debugLogsToggle;
private EnumField validationLevelField;
private Label validationDescription;
Expand Down Expand Up @@ -191,6 +192,7 @@ private void RefreshAllData()
private void CacheUIElements()
{
// Settings
versionLabel = rootVisualElement.Q<Label>("version-label");
debugLogsToggle = rootVisualElement.Q<Toggle>("debug-logs-toggle");
validationLevelField = rootVisualElement.Q<EnumField>("validation-level");
validationDescription = rootVisualElement.Q<Label>("validation-description");
Expand Down Expand Up @@ -240,6 +242,7 @@ private void CacheUIElements()
private void InitializeUI()
{
// Settings Section
versionLabel.text = AssetPathUtility.GetPackageVersion();
debugLogsToggle.value = EditorPrefs.GetBool("MCPForUnity.DebugLogs", false);

validationLevelField.Init(ValidationLevel.Standard);
Expand Down
2 changes: 1 addition & 1 deletion MCPForUnity/Editor/Windows/MCPForUnityEditorWindowNew.uxml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ui:VisualElement class="section-content">
<ui:VisualElement class="setting-row">
<ui:Label text="Version:" class="setting-label" />
<ui:Label text="5.0.0" name="version-label" class="setting-value" />
<ui:Label text="..." name="version-label" class="setting-value" />
</ui:VisualElement>
<ui:VisualElement class="setting-row">
<ui:Label text="Show Debug Logs:" class="setting-label" />
Expand Down
4 changes: 2 additions & 2 deletions TestProjects/UnityMCPTests/ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
m_EditorVersion: 2021.3.45f1
m_EditorVersionWithRevision: 2021.3.45f1 (0da89fac8e79)
m_EditorVersion: 2021.3.45f2
m_EditorVersionWithRevision: 2021.3.45f2 (88f88f591b2e)