Namespace: | Sirenix.Serialization.Utilities.Editor |
Assembly: | Sirenix.Serialization |
public static class AssemblyImportSettingsUtilities
public static readonly ImmutableList<ApiCompatibilityLevel> JITApiCompatibilityLevels
public static readonly ImmutableList<BuildTarget> JITPlatforms
public static readonly ImmutableList<ScriptingImplementation> JITScriptingBackends
public static readonly ImmutableList<BuildTarget> Platforms
public static bool ApiCompatibilityLevelSupportsJIT(ApiCompatibilityLevel apiLevel)
UnityEditor.ApiCompatibilityLevel | apiLevel | The api level to test. |
System.Boolean |
|
public static ApiCompatibilityLevel GetCurrentApiCompatibilityLevel()
UnityEditor.ApiCompatibilityLevel |
public static ScriptingImplementation GetCurrentScriptingBackend()
UnityEditor.ScriptingImplementation |
public static bool IsJITSupported(BuildTarget platform, ScriptingImplementation backend, ApiCompatibilityLevel apiLevel)
UnityEditor.BuildTarget | platform | The platform build setting. |
UnityEditor.ScriptingImplementation | backend | The scripting backend build settting. |
UnityEditor.ApiCompatibilityLevel | apiLevel | The api level build setting. |
System.Boolean |
|
public static bool PlatformSupportsJIT(BuildTarget platform)
UnityEditor.BuildTarget | platform | The platform to test. |
System.Boolean |
|
public static bool ScriptingBackendSupportsJIT(ScriptingImplementation backend)
UnityEditor.ScriptingImplementation | backend | The backend to test. |
System.Boolean |
|
public static void SetAssemblyImportSettings(BuildTarget platform, string assemblyFilePath, OdinAssemblyImportSettings importSettings)
UnityEditor.BuildTarget | platform | |
System.String | assemblyFilePath | The path to the assembly to configure import settings from. |
OdinAssemblyImportSettings | importSettings | The import settings to configure for the assembly at the path. |
public static void SetAssemblyImportSettings(BuildTarget platform, string assemblyFilePath, bool includeInBuild, bool includeInEditor)
UnityEditor.BuildTarget | platform | |
System.String | assemblyFilePath | The path to the assembly to configure import settings from. |
System.Boolean | includeInBuild | Indicates if the assembly should be included in the build. |
System.Boolean | includeInEditor | Indicates if the assembly should be included in the Unity editor. |