Supported Unity 2019.4+
- Open context menu: Window > Package Manager
- Click the âž•â–ľ in the top left and choose Add Package from git URL
- Enter
https://github.com/ErnSur/unity-editor-icons.git
and press Add
You can change script icon using icons file id
- Open
*.cs.meta
in Text Editor - Modify line
icon: {instanceID: 0}
toicon: {fileID: <FILE ID>, guid: 0000000000000000d000000000000000, type: 0}
- Save and focus Unity Editor
You can load Icons below by using EditorGUIUtility.IconContent
with the icon name.
e.g., var content = EditorGUIUtility.IconContent("console.warnicon");
Click on an Icon to get its details.
Icons from Unity 2021.3.0f1