Version: 2022.2
言語: 日本語
public static bool TryGetGizmoInfo (Type type, out GizmoInfo info);

パラメーター

type The type to get GizmoInfo for.
info The output argument will contain a valid GizmoInfo when this function returns true.

戻り値

bool Returns true if Unity has a gizmo or icon registered for the requested type.

説明

Get a GizmoInfo for a type if it exists.

Type must be assignable to Component.