mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
新的平台支持[Sony Console]
This commit is contained in:
@@ -14,7 +14,8 @@ namespace TEngine.Editor
|
|||||||
BuildTargetGroup.iOS,
|
BuildTargetGroup.iOS,
|
||||||
BuildTargetGroup.Android,
|
BuildTargetGroup.Android,
|
||||||
BuildTargetGroup.WSA,
|
BuildTargetGroup.WSA,
|
||||||
BuildTargetGroup.WebGL
|
BuildTargetGroup.WebGL,
|
||||||
|
BuildTargetGroup.PS5
|
||||||
};
|
};
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@@ -191,6 +191,9 @@ public static class SettingsUtils
|
|||||||
return "Android";
|
return "Android";
|
||||||
case RuntimePlatform.WebGLPlayer:
|
case RuntimePlatform.WebGLPlayer:
|
||||||
return "WebGL";
|
return "WebGL";
|
||||||
|
|
||||||
|
case RuntimePlatform.PS5:
|
||||||
|
return "PS5";
|
||||||
default:
|
default:
|
||||||
throw new NotSupportedException($"Platform '{Application.platform.ToString()}' is not supported.");
|
throw new NotSupportedException($"Platform '{Application.platform.ToString()}' is not supported.");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user