icon
Specifies the path to an Editor window's default icon.
Read time 1 minuteLast updated 5 days ago
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