Version: 2021.2

EditorUtility.IsRunningUnderCPUEmulation

切换到手册
public static bool IsRunningUnderCPUEmulation ();

描述

Gets a boolean value. This value indicates whether your CPU is unable to execute Unity natively and is running an emulated version.

This property returns true if your computer is running Unity via emulation. For instance, if you are using Rosetta 2.