TryGetGizmoInfo(Type, out GizmoInfo)
Get a GizmoInfo for a type if it exists.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
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.