Unity Engine documentationScript ReferenceUnityEditorGizmoInfohasIconDefines whether a component type renders an icon in the Scene View.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEditor Assembly: UnityEditor public bool hasIcon { get; }