Class CapabilityProfile
Abstract base class from which all capability profiles derive. An asset of this type represents any abstraction that define or change capabilities. For example, this asset can be an abstraction for a platform capability, an OS capability, a device capability or a combination of them.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.XR.CoreUtils.Capabilities
Assembly: Unity.XR.CoreUtils.dll
Syntax
public abstract class CapabilityProfile : ScriptableObject
Methods
ReportCapabilityChanged()
This should be invoked from the editor (including custom editors) and runtime whenever a system changes the capabilities of this profile. This works as a dirty flag to keep all systems updated.
Declaration
public void ReportCapabilityChanged()
See Also
Events
CapabilityChanged
Event that is raised when the capabilities in this profile is changed.
Declaration
public static event Action<CapabilityProfile> CapabilityChanged
Event Type
Type | Description |
---|---|
Action<CapabilityProfile> |