Class CanvasTracker
Helper object for the CanvasOptimizer. Monitors for hierarchy changes to ensure that only a top-level canvas is in place.
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: UnityEngine.XR.Interaction.Toolkit.UI
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
[AddComponentMenu("")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.interaction.toolkit@3.0/api/UnityEngine.XR.Interaction.Toolkit.UI.CanvasTracker.html")]
public class CanvasTracker : MonoBehaviour
Properties
transformDirty
Keeps track of if this canvas' place in the transform hierarchy has changed at all (parent added/removed, etc.).
Declaration
public bool transformDirty { get; set; }
Property Value
Type | Description |
---|---|
bool |