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

|

|
||||||
|
|
||||||
### IOS真机运行
|
### 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.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