TryGetGizmoInfo(Type, out GizmoInfo)
Get a GizmoInfo for a type if it exists.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
TryGetGizmoInfo(Type, GizmoInfo)
public static bool TryGetGizmoInfo(Type type, out GizmoInfo info)
Parameters
Returns
Type | Description |
|---|---|
| bool | Returns true if Unity has a gizmo or icon registered for the requested type. |
Remarks
Type must be assignable to Component.