drawlabel 2 - eisclimber/ExPresS-XR GitHub Wiki
Method in GizmoUtils
Draws a text at a position if it is not empty. Defaults to white text with size 11 and text anchor at the top left.
public static void DrawLabel(string text, Vector3 position, Color color, Transform atTransform = null)| Name | Description |
|---|---|
string text |
Text to be displayed. |
UnityEngine.Vector3 position |
Position to draw at. |
UnityEngine.Color color |
Color of the text. |
UnityEngine.Transform atTransform |
Transform context to draw the gizmo. |