升级XR插件版本
This commit is contained in:
20
Packages/MCPForUnity/Editor/Services/IPlatformService.cs
Normal file
20
Packages/MCPForUnity/Editor/Services/IPlatformService.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace MCPForUnity.Editor.Services
|
||||
{
|
||||
/// <summary>
|
||||
/// Service for platform detection and platform-specific environment access
|
||||
/// </summary>
|
||||
public interface IPlatformService
|
||||
{
|
||||
/// <summary>
|
||||
/// Checks if the current platform is Windows
|
||||
/// </summary>
|
||||
/// <returns>True if running on Windows</returns>
|
||||
bool IsWindows();
|
||||
|
||||
/// <summary>
|
||||
/// Gets the SystemRoot environment variable (Windows-specific)
|
||||
/// </summary>
|
||||
/// <returns>SystemRoot path, or null if not available</returns>
|
||||
string GetSystemRoot();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user