Skip to content

Commit 80de40e

Browse files
committed
fix: add missing override keyword to DetectPython method in platform detectors
1 parent 267755e commit 80de40e

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

UnityMcpBridge/Editor/Dependencies/PlatformDetectors/LinuxPlatformDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class LinuxPlatformDetector : PlatformDetectorBase
1616

1717
public override bool CanDetect => RuntimeInformation.IsOSPlatform(OSPlatform.Linux);
1818

19-
public DependencyStatus DetectPython()
19+
public override DependencyStatus DetectPython()
2020
{
2121
var status = new DependencyStatus("Python", isRequired: true)
2222
{

UnityMcpBridge/Editor/Dependencies/PlatformDetectors/MacOSPlatformDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class MacOSPlatformDetector : PlatformDetectorBase
1616

1717
public override bool CanDetect => RuntimeInformation.IsOSPlatform(OSPlatform.OSX);
1818

19-
public DependencyStatus DetectPython()
19+
public override DependencyStatus DetectPython()
2020
{
2121
var status = new DependencyStatus("Python", isRequired: true)
2222
{

UnityMcpBridge/Editor/Dependencies/PlatformDetectors/PlatformDetectorBase.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnityMcpBridge/Editor/Dependencies/PlatformDetectors/WindowsPlatformDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class WindowsPlatformDetector : PlatformDetectorBase
1616

1717
public override bool CanDetect => RuntimeInformation.IsOSPlatform(OSPlatform.Windows);
1818

19-
public DependencyStatus DetectPython()
19+
public override DependencyStatus DetectPython()
2020
{
2121
var status = new DependencyStatus("Python", isRequired: true)
2222
{

0 commit comments

Comments
 (0)