mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
Merge pull request #70 from Senfee-Cheng/main
[Platform] Supports console
This commit is contained in:
@@ -13,4 +13,10 @@
|
||||

|
||||
|
||||
### IOS真机运行
|
||||

|
||||

|
||||
|
||||
### 索尼 PS5 真机运行
|
||||
|
||||

|
||||
|
||||

|
BIN
Books/src/Console Output.png
Normal file
BIN
Books/src/Console Output.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 124 KiB |
BIN
Books/src/Console Viewer.png
Normal file
BIN
Books/src/Console Viewer.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 477 KiB |
@@ -14,7 +14,8 @@ namespace TEngine.Editor
|
||||
BuildTargetGroup.iOS,
|
||||
BuildTargetGroup.Android,
|
||||
BuildTargetGroup.WSA,
|
||||
BuildTargetGroup.WebGL
|
||||
BuildTargetGroup.WebGL,
|
||||
BuildTargetGroup.PS5
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
|
@@ -191,6 +191,9 @@ public static class SettingsUtils
|
||||
return "Android";
|
||||
case RuntimePlatform.WebGLPlayer:
|
||||
return "WebGL";
|
||||
|
||||
case RuntimePlatform.PS5:
|
||||
return "PS5";
|
||||
default:
|
||||
throw new NotSupportedException($"Platform '{Application.platform.ToString()}' is not supported.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user