Class PolySpatialUserSettings
Class that holds the PolySpatial user settings values per project. This class is serialized in the project UserSettings folder.
Inheritance
PolySpatialUserSettings
Inherited Members
ScriptableSingleton<PolySpatialUserSettings>.GetFilePath()
ScriptableSingleton<PolySpatialUserSettings>.instance
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.PolySpatial
Assembly: Unity.PolySpatial.dll
Syntax
[FilePath("UserSettings/PolySpatialUserSettings.asset", FilePathAttribute.Location.ProjectFolder)]
public class PolySpatialUserSettings : ScriptableSingleton<PolySpatialUserSettings>
Properties
ConnectToPlayToDevice
Reports if Play To Device is enabled or not.
Declaration
public bool ConnectToPlayToDevice { get; }
Property Value
Type | Description |
---|---|
bool |
Instance
Returns a reference to the singleton instance of PolySpatialUserSettings.
Declaration
public static PolySpatialUserSettings Instance { get; }
Property Value
Type | Description |
---|---|
PolySpatialUserSettings |