Class ARKitSettings
Holds settings that are used to configure the ARKit XR Plugin.
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEditor.XR.ARKit
Syntax
[Serializable]
public class ARKitSettings : ScriptableObject
Properties
currentSettings
Get or set the ARKitSettings that will be used for the player build.
Declaration
public static ARKitSettings currentSettings { get; set; }
Property Value
Type | Description |
---|---|
ARKitSettings |
requirement
Determines whether ARKit is required for this app: will make app only downloadable by devices with ARKit support if set to Required.
Declaration
public ARKitSettings.Requirement requirement { get; set; }
Property Value
Type | Description |
---|---|
ARKitSettings.Requirement |
Methods
GetOrCreateSettings()
Gets the currently selected settings, or create a default one if no ARKitSettings has been set in Player Settings.
Declaration
public static ARKitSettings GetOrCreateSettings()
Returns
Type | Description |
---|---|
ARKitSettings | The ARKit settings to use for the current Player build. |