UxrCompass.SetTarget Method (Transform, UxrCompassDisplayMode, Single)
Sets the current target.
Namespace: UltimateXR.Guides
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public void SetTarget(
Transform target,
UxrCompassDisplayMode displayMode = UxrCompassDisplayMode.OnlyCompass,
float iconScale = 1f
)
Parameters
- target
- Type: Transform
New target or null to stop - displayMode (Optional)
- Type: UltimateXR.Guides.UxrCompassDisplayMode
The display mode - iconScale (Optional)
- Type: System.Single
The icon size multiplier
See Also
Reference
UxrCompass Class
SetTarget Overload
UltimateXR.Guides Namespace