IsRunningUnderCPUEmulation()
Gets a boolean value. This value indicates whether your CPU is unable to execute Unity natively and is running an emulated version.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static bool IsRunningUnderCPUEmulation()
Returns
Type | Description |
|---|---|
| bool |
Remarks
This property returns true if your computer is running Unity via emulation. For instance, if you are using Rosetta 2.