Show / Hide Table of Contents

Class PlayerSettings

Inheritance
Object
Object
PlayerSettings
Inherited Members
Object.GetInstanceID()
Object.GetHashCode()
Object.Equals(Object)
Object.name
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate(Object, Transform, Boolean)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Instantiate<T>(T, Transform, Boolean)
Object.Destroy(Object, Single)
Object.Destroy(Object)
Object.DestroyImmediate(Object, Boolean)
Object.DestroyImmediate(Object)
Object.FindObjectsOfType(Type)
Object.DontDestroyOnLoad(Object)
Object.hideFlags
Object.DestroyObject(Object, Single)
Object.DestroyObject(Object)
Object.FindSceneObjectsOfType(Type)
Object.FindObjectsOfTypeIncludingAssets(Type)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.FindObjectsOfTypeAll(Type)
Object.FindObjectOfType(Type)
Object.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditor
Assembly: UnityEditor.dll
Syntax
public sealed class PlayerSettings : Object

Properties

accelerometerFrequency

Declaration
public static int accelerometerFrequency { get; set; }
Property Value
Type Description
Int32

actionOnDotNetUnhandledException

Declaration
public static ActionOnDotNetUnhandledException actionOnDotNetUnhandledException { get; set; }
Property Value
Type Description
ActionOnDotNetUnhandledException

advancedLicense

Declaration
public static bool advancedLicense { get; }
Property Value
Type Description
Boolean

allowedAutorotateToLandscapeLeft

Declaration
public static bool allowedAutorotateToLandscapeLeft { get; set; }
Property Value
Type Description
Boolean

allowedAutorotateToLandscapeRight

Declaration
public static bool allowedAutorotateToLandscapeRight { get; set; }
Property Value
Type Description
Boolean

allowedAutorotateToPortrait

Declaration
public static bool allowedAutorotateToPortrait { get; set; }
Property Value
Type Description
Boolean

allowedAutorotateToPortraitUpsideDown

Declaration
public static bool allowedAutorotateToPortraitUpsideDown { get; set; }
Property Value
Type Description
Boolean

allowFullscreenSwitch

Declaration
public static bool allowFullscreenSwitch { get; set; }
Property Value
Type Description
Boolean

allowUnsafeCode

Declaration
public static bool allowUnsafeCode { get; set; }
Property Value
Type Description
Boolean

aotOptions

Declaration
public static string aotOptions { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

apiCompatibilityLevel

Declaration
[Obsolete("apiCompatibilityLevel is deprecated. Use PlayerSettings.GetApiCompatibilityLevel()/PlayerSettings.SetApiCompatibilityLevel() instead.")]
public static ApiCompatibilityLevel apiCompatibilityLevel { get; set; }
Property Value
Type Description
ApiCompatibilityLevel
| Improve this Doc View Source

applicationIdentifier

Declaration
public static string applicationIdentifier { get; set; }
Property Value
Type Description
String

bakeCollisionMeshes

Declaration
public static bool bakeCollisionMeshes { get; set; }
Property Value
Type Description
Boolean

bundleVersion

Declaration
public static string bundleVersion { get; set; }
Property Value
Type Description
String

captureSingleScreen

Declaration
public static bool captureSingleScreen { get; set; }
Property Value
Type Description
Boolean

cloudProjectId

Declaration
[Obsolete("cloudProjectId is deprecated, use CloudProjectSettings.projectId instead")]
public static string cloudProjectId { get; }
Property Value
Type Description
String

colorSpace

Declaration
public static ColorSpace colorSpace { get; set; }
Property Value
Type Description
ColorSpace

companyName

Declaration
public static string companyName { get; set; }
Property Value
Type Description
String

cursorHotspot

Declaration
public static Vector2 cursorHotspot { get; set; }
Property Value
Type Description
Vector2

d3d11FullscreenMode

Declaration
[Obsolete("d3d11FullscreenMode is deprecated, use fullScreenMode instead")]
public static D3D11FullscreenMode d3d11FullscreenMode { get; set; }
Property Value
Type Description
D3D11FullscreenMode

d3d9FullscreenMode

Declaration
[Obsolete("d3d9FullscreenMode is deprecated, use fullScreenMode instead")]
public static D3D9FullscreenMode d3d9FullscreenMode { get; set; }
Property Value
Type Description
D3D9FullscreenMode

defaultCursor

Declaration
public static Texture2D defaultCursor { get; set; }
Property Value
Type Description
Texture2D

defaultInterfaceOrientation

Declaration
public static UIOrientation defaultInterfaceOrientation { get; set; }
Property Value
Type Description
UIOrientation

defaultIsFullScreen

Declaration
[Obsolete("(defaultIsFullScreen is deprecated, use fullScreenMode instead")]
public static bool defaultIsFullScreen { get; set; }
Property Value
Type Description
Boolean

defaultIsNativeResolution

Declaration
public static bool defaultIsNativeResolution { get; set; }
Property Value
Type Description
Boolean

defaultScreenHeight

Declaration
public static int defaultScreenHeight { get; set; }
Property Value
Type Description
Int32

defaultScreenWidth

Declaration
public static int defaultScreenWidth { get; set; }
Property Value
Type Description
Int32

defaultWebScreenHeight

Declaration
public static int defaultWebScreenHeight { get; set; }
Property Value
Type Description
Int32

defaultWebScreenWidth

Declaration
public static int defaultWebScreenWidth { get; set; }
Property Value
Type Description
Int32

displayResolutionDialog

Declaration
public static ResolutionDialogSetting displayResolutionDialog { get; set; }
Property Value
Type Description
ResolutionDialogSetting
| Improve this Doc View Source

enable360StereoCapture

Declaration
public static bool enable360StereoCapture { get; set; }
Property Value
Type Description
Boolean

enableCrashReportAPI

Declaration
public static bool enableCrashReportAPI { get; set; }
Property Value
Type Description
Boolean

enableFrameTimingStats

Declaration
public static bool enableFrameTimingStats { get; set; }
Property Value
Type Description
Boolean

enableInternalProfiler

Declaration
public static bool enableInternalProfiler { get; set; }
Property Value
Type Description
Boolean

enableMetalAPIValidation

Declaration
public static bool enableMetalAPIValidation { get; set; }
Property Value
Type Description
Boolean

forceSingleInstance

Declaration
public static bool forceSingleInstance { get; set; }
Property Value
Type Description
Boolean

fullScreenMode

Declaration
public static FullScreenMode fullScreenMode { get; set; }
Property Value
Type Description
FullScreenMode

gpuSkinning

Declaration
public static bool gpuSkinning { get; set; }
Property Value
Type Description
Boolean

graphicsJobMode

Declaration
public static GraphicsJobMode graphicsJobMode { get; set; }
Property Value
Type Description
GraphicsJobMode

graphicsJobs

Declaration
public static bool graphicsJobs { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

iPhoneBundleIdentifier

Declaration
[Obsolete("iPhoneBundleIdentifier is deprecated. Use PlayerSettings.SetApplicationIdentifier(BuildTargetGroup.iOS) instead.")]
public static string iPhoneBundleIdentifier { get; set; }
Property Value
Type Description
String

keyaliasPass

Declaration
public static string keyaliasPass { get; set; }
Property Value
Type Description
String

keystorePass

Declaration
public static string keystorePass { get; set; }
Property Value
Type Description
String

legacyClampBlendShapeWeights

Declaration
public static bool legacyClampBlendShapeWeights { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

locationUsageDescription

Declaration
[Obsolete("Use PlayerSettings.iOS.locationUsageDescription instead (UnityUpgradable) -> UnityEditor.PlayerSettings/iOS.locationUsageDescription", false)]
public static string locationUsageDescription { get; set; }
Property Value
Type Description
String

logObjCUncaughtExceptions

Declaration
public static bool logObjCUncaughtExceptions { get; set; }
Property Value
Type Description
Boolean

macFullscreenMode

Declaration
[Obsolete("macFullscreenMode is deprecated, use fullScreenMode instead")]
public static MacFullscreenMode macFullscreenMode { get; set; }
Property Value
Type Description
MacFullscreenMode

macRetinaSupport

Declaration
public static bool macRetinaSupport { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

mobileRenderingPath

Declaration
[Obsolete("mobileRenderingPath is ignored, use UnityEditor.Rendering.TierSettings with UnityEditor.Rendering.SetTierSettings/GetTierSettings instead", false)]
public static RenderingPath mobileRenderingPath { get; set; }
Property Value
Type Description
RenderingPath

MTRendering

Declaration
public static bool MTRendering { get; set; }
Property Value
Type Description
Boolean

muteOtherAudioSources

Declaration
public static bool muteOtherAudioSources { get; set; }
Property Value
Type Description
Boolean

openGLRequireES31

Declaration
public static bool openGLRequireES31 { get; set; }
Property Value
Type Description
Boolean

openGLRequireES31AEP

Declaration
public static bool openGLRequireES31AEP { get; set; }
Property Value
Type Description
Boolean

preserveFramebufferAlpha

Declaration
public static bool preserveFramebufferAlpha { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

productGUID

Declaration
public static Guid productGUID { get; }
Property Value
Type Description
Guid

productName

Declaration
public static string productName { get; set; }
Property Value
Type Description
String

protectGraphicsMemory

Declaration
public static bool protectGraphicsMemory { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

renderingPath

Declaration
[Obsolete("renderingPath is ignored, use UnityEditor.Rendering.TierSettings with UnityEditor.Rendering.SetTierSettings/GetTierSettings instead", false)]
public static RenderingPath renderingPath { get; set; }
Property Value
Type Description
RenderingPath

resizableWindow

Declaration
public static bool resizableWindow { get; set; }
Property Value
Type Description
Boolean

resolutionDialogBanner

Declaration
public static Texture2D resolutionDialogBanner { get; set; }
Property Value
Type Description
Texture2D

runInBackground

Declaration
public static bool runInBackground { get; set; }
Property Value
Type Description
Boolean

scriptingRuntimeVersion

Declaration
public static ScriptingRuntimeVersion scriptingRuntimeVersion { get; set; }
Property Value
Type Description
ScriptingRuntimeVersion

showUnitySplashScreen

Declaration
[Obsolete("Use PlayerSettings.SplashScreen.show instead")]
public static bool showUnitySplashScreen { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

singlePassStereoRendering

Declaration
[Obsolete("singlePassStereoRendering will be deprecated. Use stereoRenderingPath instead.")]
public static bool singlePassStereoRendering { get; set; }
Property Value
Type Description
Boolean

splashScreenStyle

Declaration
[Obsolete("Use PlayerSettings.SplashScreen.unityLogoStyle instead")]
public static SplashScreenStyle splashScreenStyle { get; set; }
Property Value
Type Description
SplashScreenStyle

statusBarHidden

Declaration
public static bool statusBarHidden { get; set; }
Property Value
Type Description
Boolean

stereoRenderingPath

Declaration
public static StereoRenderingPath stereoRenderingPath { get; set; }
Property Value
Type Description
StereoRenderingPath

stereoscopic3D

Declaration
[Obsolete("Use VREditor.GetStereoDeviceEnabled instead")]
public static bool stereoscopic3D { get; set; }
Property Value
Type Description
Boolean

stripEngineCode

Declaration
public static bool stripEngineCode { get; set; }
Property Value
Type Description
Boolean

strippingLevel

Declaration
[Obsolete("strippingLevel is deprecated, Use PlayerSettings.GetManagedStrippingLevel()/PlayerSettings.SetManagedStrippingLevel() instead. StripByteCode and UseMicroMSCorlib are no longer supported.")]
public static StrippingLevel strippingLevel { get; set; }
Property Value
Type Description
StrippingLevel

stripUnusedMeshComponents

Declaration
public static bool stripUnusedMeshComponents { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

targetGlesGraphics

Declaration
[Obsolete("targetGlesGraphics is ignored, use SetGraphicsAPIs/GetGraphicsAPIs APIs", false)]
public static TargetGlesGraphics targetGlesGraphics { get; set; }
Property Value
Type Description
TargetGlesGraphics
| Improve this Doc View Source

targetIOSGraphics

Declaration
[Obsolete("targetIOSGraphics is ignored, use SetGraphicsAPIs/GetGraphicsAPIs APIs", false)]
public static TargetIOSGraphics targetIOSGraphics { get; set; }
Property Value
Type Description
TargetIOSGraphics

use32BitDisplayBuffer

Declaration
public static bool use32BitDisplayBuffer { get; set; }
Property Value
Type Description
Boolean

useAnimatedAutorotation

Declaration
public static bool useAnimatedAutorotation { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

useDirect3D11

Declaration
[Obsolete("Use UnityEditor.PlayerSettings.SetGraphicsAPIs/GetGraphicsAPIs instead")]
public static bool useDirect3D11 { get; set; }
Property Value
Type Description
Boolean

useHDRDisplay

Declaration
public static bool useHDRDisplay { get; set; }
Property Value
Type Description
Boolean

useMacAppStoreValidation

Declaration
public static bool useMacAppStoreValidation { get; set; }
Property Value
Type Description
Boolean

usePlayerLog

Declaration
public static bool usePlayerLog { get; set; }
Property Value
Type Description
Boolean

virtualRealitySplashScreen

Declaration
public static Texture2D virtualRealitySplashScreen { get; set; }
Property Value
Type Description
Texture2D

virtualRealitySupported

Declaration
public static bool virtualRealitySupported { get; set; }
Property Value
Type Description
Boolean

visibleInBackground

Declaration
public static bool visibleInBackground { get; set; }
Property Value
Type Description
Boolean

vulkanEnableSetSRGBWrite

Declaration
public static bool vulkanEnableSetSRGBWrite { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

vulkanUseSWCommandBuffers

Declaration
[Obsolete("Vulkan SW command buffers are deprecated, vulkanUseSWCommandBuffers will be ignored.")]
public static bool vulkanUseSWCommandBuffers { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

xboxAdditionalTitleMemorySize

Declaration
[Obsolete("Xbox 360 has been removed in >=5.5")]
public static int xboxAdditionalTitleMemorySize { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

xboxDeployKinectHeadOrientation

Declaration
[Obsolete("Xbox 360 has been removed in >=5.5")]
public static bool xboxDeployKinectHeadOrientation { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

xboxDeployKinectHeadPosition

Declaration
[Obsolete("Xbox 360 has been removed in >=5.5")]
public static bool xboxDeployKinectHeadPosition { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

xboxDeployKinectResources

Declaration
[Obsolete("Xbox 360 has been removed in >=5.5")]
public static bool xboxDeployKinectResources { get; }
Property Value
Type Description
Boolean

xboxEnableAvatar

Declaration
public static bool xboxEnableAvatar { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

xboxEnableGuest

Declaration
[Obsolete("Xbox 360 has been removed in >=5.5")]
public static bool xboxEnableGuest { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

xboxEnableKinect

Declaration
[Obsolete("Xbox 360 has been removed in >=5.5")]
public static bool xboxEnableKinect { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

xboxEnableKinectAutoTracking

Declaration
[Obsolete("Xbox 360 has been removed in >=5.5")]
public static bool xboxEnableKinectAutoTracking { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

xboxEnableSpeech

Declaration
[Obsolete("Xbox 360 has been removed in >=5.5")]
public static bool xboxEnableSpeech { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

xboxGenerateSpa

Declaration
[Obsolete("Xbox 360 has been removed in >=5.5")]
public static bool xboxGenerateSpa { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

xboxImageXexFilePath

Declaration
[Obsolete("Xbox 360 has been removed in >=5.5")]
public static string xboxImageXexFilePath { get; }
Property Value
Type Description
String

xboxOneResolution

Declaration
public static int xboxOneResolution { get; }
Property Value
Type Description
Int32

xboxPIXTextureCapture

Declaration
public static bool xboxPIXTextureCapture { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

xboxSpaFilePath

Declaration
[Obsolete("Xbox 360 has been removed in >=5.5")]
public static string xboxSpaFilePath { get; }
Property Value
Type Description
String
| Improve this Doc View Source

xboxSpeechDB

Declaration
[Obsolete("Xbox 360 has been removed in >=5.5")]
public static uint xboxSpeechDB { get; }
Property Value
Type Description
UInt32
| Improve this Doc View Source

xboxSplashScreen

Declaration
[Obsolete("Xbox 360 has been removed in >=5.5")]
public static Texture2D xboxSplashScreen { get; }
Property Value
Type Description
Texture2D
| Improve this Doc View Source

xboxTitleId

Declaration
[Obsolete("Xbox 360 has been removed in >=5.5")]
public static string xboxTitleId { get; set; }
Property Value
Type Description
String

Methods

GetAdditionalIl2CppArgs()

Declaration
public static string GetAdditionalIl2CppArgs()
Returns
Type Description
String

GetApiCompatibilityLevel(BuildTargetGroup)

Declaration
public static ApiCompatibilityLevel GetApiCompatibilityLevel(BuildTargetGroup buildTargetGroup)
Parameters
Type Name Description
BuildTargetGroup buildTargetGroup
Returns
Type Description
ApiCompatibilityLevel

GetApplicationIdentifier(BuildTargetGroup)

Declaration
public static string GetApplicationIdentifier(BuildTargetGroup targetGroup)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Returns
Type Description
String

GetArchitecture(BuildTargetGroup)

Declaration
public static int GetArchitecture(BuildTargetGroup targetGroup)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Returns
Type Description
Int32
| Improve this Doc View Source

GetAvailableVirtualRealitySDKs(BuildTargetGroup)

Declaration
public static string[] GetAvailableVirtualRealitySDKs(BuildTargetGroup targetGroup)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Returns
Type Description
String[]

GetDefaultScriptingBackend(BuildTargetGroup)

Declaration
public static ScriptingImplementation GetDefaultScriptingBackend(BuildTargetGroup targetGroup)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Returns
Type Description
ScriptingImplementation

GetGraphicsAPIs(BuildTarget)

Declaration
public static GraphicsDeviceType[] GetGraphicsAPIs(BuildTarget platform)
Parameters
Type Name Description
BuildTarget platform
Returns
Type Description
GraphicsDeviceType[]
| Improve this Doc View Source

GetIconsForTargetGroup(BuildTargetGroup)

Declaration
public static Texture2D[] GetIconsForTargetGroup(BuildTargetGroup platform)
Parameters
Type Name Description
BuildTargetGroup platform
Returns
Type Description
Texture2D[]
| Improve this Doc View Source

GetIconsForTargetGroup(BuildTargetGroup, IconKind)

Declaration
public static Texture2D[] GetIconsForTargetGroup(BuildTargetGroup platform, IconKind kind)
Parameters
Type Name Description
BuildTargetGroup platform
IconKind kind
Returns
Type Description
Texture2D[]
| Improve this Doc View Source

GetIconSizesForTargetGroup(BuildTargetGroup)

Declaration
public static int[] GetIconSizesForTargetGroup(BuildTargetGroup platform)
Parameters
Type Name Description
BuildTargetGroup platform
Returns
Type Description
Int32[]
| Improve this Doc View Source

GetIconSizesForTargetGroup(BuildTargetGroup, IconKind)

Declaration
public static int[] GetIconSizesForTargetGroup(BuildTargetGroup platform, IconKind kind)
Parameters
Type Name Description
BuildTargetGroup platform
IconKind kind
Returns
Type Description
Int32[]

GetIl2CppCompilerConfiguration(BuildTargetGroup)

Declaration
public static Il2CppCompilerConfiguration GetIl2CppCompilerConfiguration(BuildTargetGroup targetGroup)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Returns
Type Description
Il2CppCompilerConfiguration

GetIncrementalIl2CppBuild(BuildTargetGroup)

Declaration
public static bool GetIncrementalIl2CppBuild(BuildTargetGroup targetGroup)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Returns
Type Description
Boolean

GetManagedStrippingLevel(BuildTargetGroup)

Declaration
public static ManagedStrippingLevel GetManagedStrippingLevel(BuildTargetGroup targetGroup)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Returns
Type Description
ManagedStrippingLevel

GetMobileMTRendering(BuildTargetGroup)

Declaration
public static bool GetMobileMTRendering(BuildTargetGroup targetGroup)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Returns
Type Description
Boolean
| Improve this Doc View Source

GetPlatformIcons(BuildTargetGroup, PlatformIconKind)

Declaration
public static PlatformIcon[] GetPlatformIcons(BuildTargetGroup platform, PlatformIconKind kind)
Parameters
Type Name Description
BuildTargetGroup platform
PlatformIconKind kind
Returns
Type Description
PlatformIcon[]

GetPlatformVuforiaEnabled(BuildTargetGroup)

Declaration
public static bool GetPlatformVuforiaEnabled(BuildTargetGroup targetGroup)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Returns
Type Description
Boolean

GetPreloadedAssets()

Declaration
public static Object[] GetPreloadedAssets()
Returns
Type Description
Object[]
| Improve this Doc View Source

GetPropertyBool(String)

Declaration
[Obsolete("Use explicit API instead.")]
public static bool GetPropertyBool(string name)
Parameters
Type Name Description
String name
Returns
Type Description
Boolean

GetPropertyBool(String, BuildTargetGroup)

Declaration
[Obsolete("Use explicit API instead.")]
public static bool GetPropertyBool(string name, BuildTargetGroup target)
Parameters
Type Name Description
String name
BuildTargetGroup target
Returns
Type Description
Boolean
| Improve this Doc View Source

GetPropertyInt(String)

Declaration
[Obsolete("Use explicit API instead.")]
public static int GetPropertyInt(string name)
Parameters
Type Name Description
String name
Returns
Type Description
Int32

GetPropertyInt(String, BuildTargetGroup)

Declaration
[Obsolete("Use explicit API instead.")]
public static int GetPropertyInt(string name, BuildTargetGroup target)
Parameters
Type Name Description
String name
BuildTargetGroup target
Returns
Type Description
Int32
| Improve this Doc View Source

GetPropertyOptionalBool(String, ref Boolean)

Declaration
[Obsolete("Use explicit API instead.")]
public static bool GetPropertyOptionalBool(string name, ref bool value)
Parameters
Type Name Description
String name
Boolean value
Returns
Type Description
Boolean
| Improve this Doc View Source

GetPropertyOptionalBool(String, ref Boolean, BuildTargetGroup)

Declaration
[Obsolete("Use explicit API instead.")]
public static bool GetPropertyOptionalBool(string name, ref bool value, BuildTargetGroup target)
Parameters
Type Name Description
String name
Boolean value
BuildTargetGroup target
Returns
Type Description
Boolean
| Improve this Doc View Source

GetPropertyOptionalInt(String, ref Int32)

Declaration
[Obsolete("Use explicit API instead.")]
public static bool GetPropertyOptionalInt(string name, ref int value)
Parameters
Type Name Description
String name
Int32 value
Returns
Type Description
Boolean
| Improve this Doc View Source

GetPropertyOptionalInt(String, ref Int32, BuildTargetGroup)

Declaration
[Obsolete("Use explicit API instead.")]
public static bool GetPropertyOptionalInt(string name, ref int value, BuildTargetGroup target)
Parameters
Type Name Description
String name
Int32 value
BuildTargetGroup target
Returns
Type Description
Boolean
| Improve this Doc View Source

GetPropertyOptionalString(String, ref String)

Declaration
[Obsolete("Use explicit API instead.")]
public static bool GetPropertyOptionalString(string name, ref string value)
Parameters
Type Name Description
String name
String value
Returns
Type Description
Boolean
| Improve this Doc View Source

GetPropertyOptionalString(String, ref String, BuildTargetGroup)

Declaration
[Obsolete("Use explicit API instead.")]
public static bool GetPropertyOptionalString(string name, ref string value, BuildTargetGroup target)
Parameters
Type Name Description
String name
String value
BuildTargetGroup target
Returns
Type Description
Boolean
| Improve this Doc View Source

GetPropertyString(String)

Declaration
[Obsolete("Use explicit API instead.")]
public static string GetPropertyString(string name)
Parameters
Type Name Description
String name
Returns
Type Description
String

GetPropertyString(String, BuildTargetGroup)

Declaration
[Obsolete("Use explicit API instead.")]
public static string GetPropertyString(string name, BuildTargetGroup target)
Parameters
Type Name Description
String name
BuildTargetGroup target
Returns
Type Description
String

GetScriptingBackend(BuildTargetGroup)

Declaration
public static ScriptingImplementation GetScriptingBackend(BuildTargetGroup targetGroup)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Returns
Type Description
ScriptingImplementation

GetScriptingDefineSymbolsForGroup(BuildTargetGroup)

Declaration
public static string GetScriptingDefineSymbolsForGroup(BuildTargetGroup targetGroup)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Returns
Type Description
String

GetStackTraceLogType(LogType)

Declaration
public static StackTraceLogType GetStackTraceLogType(LogType logType)
Parameters
Type Name Description
LogType logType
Returns
Type Description
StackTraceLogType
| Improve this Doc View Source

GetSupportedIconKindsForPlatform(BuildTargetGroup)

Declaration
public static PlatformIconKind[] GetSupportedIconKindsForPlatform(BuildTargetGroup platform)
Parameters
Type Name Description
BuildTargetGroup platform
Returns
Type Description
PlatformIconKind[]

GetUseDefaultGraphicsAPIs(BuildTarget)

Declaration
public static bool GetUseDefaultGraphicsAPIs(BuildTarget platform)
Parameters
Type Name Description
BuildTarget platform
Returns
Type Description
Boolean
| Improve this Doc View Source

GetVirtualRealitySDKs(BuildTargetGroup)

Declaration
public static string[] GetVirtualRealitySDKs(BuildTargetGroup targetGroup)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Returns
Type Description
String[]
| Improve this Doc View Source

GetVirtualRealitySupported(BuildTargetGroup)

Declaration
public static bool GetVirtualRealitySupported(BuildTargetGroup targetGroup)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Returns
Type Description
Boolean

GetWsaHolographicRemotingEnabled()

Declaration
public static bool GetWsaHolographicRemotingEnabled()
Returns
Type Description
Boolean

HasAspectRatio(AspectRatio)

Declaration
public static bool HasAspectRatio(AspectRatio aspectRatio)
Parameters
Type Name Description
AspectRatio aspectRatio
Returns
Type Description
Boolean

SetAdditionalIl2CppArgs(String)

Declaration
public static void SetAdditionalIl2CppArgs(string additionalArgs)
Parameters
Type Name Description
String additionalArgs

SetApiCompatibilityLevel(BuildTargetGroup, ApiCompatibilityLevel)

Declaration
public static void SetApiCompatibilityLevel(BuildTargetGroup buildTargetGroup, ApiCompatibilityLevel value)
Parameters
Type Name Description
BuildTargetGroup buildTargetGroup
ApiCompatibilityLevel value

SetApplicationIdentifier(BuildTargetGroup, String)

Declaration
public static void SetApplicationIdentifier(BuildTargetGroup targetGroup, string identifier)
Parameters
Type Name Description
BuildTargetGroup targetGroup
String identifier

SetArchitecture(BuildTargetGroup, Int32)

Declaration
public static void SetArchitecture(BuildTargetGroup targetGroup, int architecture)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Int32 architecture

SetAspectRatio(AspectRatio, Boolean)

Declaration
public static void SetAspectRatio(AspectRatio aspectRatio, bool enable)
Parameters
Type Name Description
AspectRatio aspectRatio
Boolean enable
| Improve this Doc View Source

SetGraphicsAPIs(BuildTarget, GraphicsDeviceType[])

Declaration
public static void SetGraphicsAPIs(BuildTarget platform, GraphicsDeviceType[] apis)
Parameters
Type Name Description
BuildTarget platform
GraphicsDeviceType[] apis
| Improve this Doc View Source

SetIconsForTargetGroup(BuildTargetGroup, Texture2D[])

Declaration
public static void SetIconsForTargetGroup(BuildTargetGroup platform, Texture2D[] icons)
Parameters
Type Name Description
BuildTargetGroup platform
Texture2D[] icons
| Improve this Doc View Source

SetIconsForTargetGroup(BuildTargetGroup, Texture2D[], IconKind)

Declaration
public static void SetIconsForTargetGroup(BuildTargetGroup platform, Texture2D[] icons, IconKind kind)
Parameters
Type Name Description
BuildTargetGroup platform
Texture2D[] icons
IconKind kind

SetIl2CppCompilerConfiguration(BuildTargetGroup, Il2CppCompilerConfiguration)

Declaration
public static void SetIl2CppCompilerConfiguration(BuildTargetGroup targetGroup, Il2CppCompilerConfiguration configuration)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Il2CppCompilerConfiguration configuration

SetIncrementalIl2CppBuild(BuildTargetGroup, Boolean)

Declaration
public static void SetIncrementalIl2CppBuild(BuildTargetGroup targetGroup, bool enabled)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Boolean enabled

SetManagedStrippingLevel(BuildTargetGroup, ManagedStrippingLevel)

Declaration
public static void SetManagedStrippingLevel(BuildTargetGroup targetGroup, ManagedStrippingLevel level)
Parameters
Type Name Description
BuildTargetGroup targetGroup
ManagedStrippingLevel level

SetMobileMTRendering(BuildTargetGroup, Boolean)

Declaration
public static void SetMobileMTRendering(BuildTargetGroup targetGroup, bool enable)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Boolean enable
| Improve this Doc View Source

SetPlatformIcons(BuildTargetGroup, PlatformIconKind, PlatformIcon[])

Declaration
public static void SetPlatformIcons(BuildTargetGroup platform, PlatformIconKind kind, PlatformIcon[] icons)
Parameters
Type Name Description
BuildTargetGroup platform
PlatformIconKind kind
PlatformIcon[] icons

SetPlatformVuforiaEnabled(BuildTargetGroup, Boolean)

Declaration
public static void SetPlatformVuforiaEnabled(BuildTargetGroup targetGroup, bool enabled)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Boolean enabled

SetPreloadedAssets(Object[])

Declaration
public static void SetPreloadedAssets(Object[] assets)
Parameters
Type Name Description
Object[] assets
| Improve this Doc View Source

SetPropertyBool(String, Boolean)

Declaration
[Obsolete("Use explicit API instead.")]
public static void SetPropertyBool(string name, bool value)
Parameters
Type Name Description
String name
Boolean value
| Improve this Doc View Source

SetPropertyBool(String, Boolean, BuildTarget)

Declaration
[Obsolete("Use explicit API instead.")]
public static void SetPropertyBool(string name, bool value, BuildTarget target)
Parameters
Type Name Description
String name
Boolean value
BuildTarget target

SetPropertyBool(String, Boolean, BuildTargetGroup)

Declaration
[Obsolete("Use explicit API instead.")]
public static void SetPropertyBool(string name, bool value, BuildTargetGroup target)
Parameters
Type Name Description
String name
Boolean value
BuildTargetGroup target
| Improve this Doc View Source

SetPropertyInt(String, Int32)

Declaration
[Obsolete("Use explicit API instead.")]
public static void SetPropertyInt(string name, int value)
Parameters
Type Name Description
String name
Int32 value
| Improve this Doc View Source

SetPropertyInt(String, Int32, BuildTarget)

Declaration
[Obsolete("Use explicit API instead.")]
public static void SetPropertyInt(string name, int value, BuildTarget target)
Parameters
Type Name Description
String name
Int32 value
BuildTarget target

SetPropertyInt(String, Int32, BuildTargetGroup)

Declaration
[Obsolete("Use explicit API instead.")]
public static void SetPropertyInt(string name, int value, BuildTargetGroup target)
Parameters
Type Name Description
String name
Int32 value
BuildTargetGroup target
| Improve this Doc View Source

SetPropertyString(String, String)

Declaration
[Obsolete("Use explicit API instead.")]
public static void SetPropertyString(string name, string value)
Parameters
Type Name Description
String name
String value
| Improve this Doc View Source

SetPropertyString(String, String, BuildTarget)

Declaration
[Obsolete("Use explicit API instead.")]
public static void SetPropertyString(string name, string value, BuildTarget target)
Parameters
Type Name Description
String name
String value
BuildTarget target

SetPropertyString(String, String, BuildTargetGroup)

Declaration
[Obsolete("Use explicit API instead.")]
public static void SetPropertyString(string name, string value, BuildTargetGroup target)
Parameters
Type Name Description
String name
String value
BuildTargetGroup target

SetScriptingBackend(BuildTargetGroup, ScriptingImplementation)

Declaration
public static void SetScriptingBackend(BuildTargetGroup targetGroup, ScriptingImplementation backend)
Parameters
Type Name Description
BuildTargetGroup targetGroup
ScriptingImplementation backend
| Improve this Doc View Source

SetScriptingDefineSymbolsForGroup(BuildTargetGroup, String)

Declaration
public static void SetScriptingDefineSymbolsForGroup(BuildTargetGroup targetGroup, string defines)
Parameters
Type Name Description
BuildTargetGroup targetGroup
String defines

SetStackTraceLogType(LogType, StackTraceLogType)

Declaration
public static void SetStackTraceLogType(LogType logType, StackTraceLogType stackTraceType)
Parameters
Type Name Description
LogType logType
StackTraceLogType stackTraceType

SetUseDefaultGraphicsAPIs(BuildTarget, Boolean)

Declaration
public static void SetUseDefaultGraphicsAPIs(BuildTarget platform, bool automatic)
Parameters
Type Name Description
BuildTarget platform
Boolean automatic
| Improve this Doc View Source

SetVirtualRealitySDKs(BuildTargetGroup, String[])

Declaration
public static void SetVirtualRealitySDKs(BuildTargetGroup targetGroup, string[] sdks)
Parameters
Type Name Description
BuildTargetGroup targetGroup
String[] sdks
| Improve this Doc View Source

SetVirtualRealitySupported(BuildTargetGroup, Boolean)

Declaration
public static void SetVirtualRealitySupported(BuildTargetGroup targetGroup, bool value)
Parameters
Type Name Description
BuildTargetGroup targetGroup
Boolean value

SetWsaHolographicRemotingEnabled(Boolean)

Declaration
public static void SetWsaHolographicRemotingEnabled(bool enabled)
Parameters
Type Name Description
Boolean enabled

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX