2025-05-30 13:32:29 +08:00
|
|
|
|
using UnityEditor;
|
2025-05-21 09:23:29 +08:00
|
|
|
|
|
|
|
|
|
namespace Obfuz.Utils
|
|
|
|
|
{
|
|
|
|
|
public static class PlatformUtil
|
|
|
|
|
{
|
|
|
|
|
public static bool IsMonoBackend()
|
|
|
|
|
{
|
|
|
|
|
return PlayerSettings.GetScriptingBackend(EditorUserBuildSettings.selectedBuildTargetGroup)
|
|
|
|
|
== ScriptingImplementation.Mono2x;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|