icon
Specifies the path to an Editor window's default icon.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public string icon { get; set; }
Remarks
The path must be in the Project, and must include the default icon's name and file extension. For example: Any icon variants must be in the same folder as the default icon.
Assets/Editor/MyIcons/MyWindowIcon.png