Merge pull request #70 from Senfee-Cheng/main

[Platform] Supports console
This commit is contained in:
ALEXTANG
2024-05-16 10:26:13 +08:00
committed by GitHub
5 changed files with 12 additions and 2 deletions

View File

@@ -13,4 +13,10 @@
![image](src/Android-RunSuccessed.png)
### IOS真机运行
![image](src/Iphone-RunSuccessed.png)
![image](src/Iphone-RunSuccessed.png)
### 索尼 PS5 真机运行
![image](src/Console Viewer.png)
![image](src/Console Output.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 KiB

View File

@@ -14,7 +14,8 @@ namespace TEngine.Editor
BuildTargetGroup.iOS,
BuildTargetGroup.Android,
BuildTargetGroup.WSA,
BuildTargetGroup.WebGL
BuildTargetGroup.WebGL,
BuildTargetGroup.PS5
};
/// <summary>

View File

@@ -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.");
}