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