- Home /
How do I change the default icon of a .asset file ?
Hi guys, How do I change the icon of a .asset file to whatever I want it to be . I would just like to change the icon from being the default unity icon
Answer by Jessespike · Sep 15, 2015 at 06:44 PM
Unity can't do this. This is set up by the OS, such as Windows. A file extension has an associated icon, this can be changed through the registry. By default the icon is whatever is used to open that file, in this case, Unity. Text files have a notepad icon, because the default program to open text is Notepad.
https://msdn.microsoft.com/en-us/library/windows/desktop/hh127427%28v=vs.85%29.aspx
Don't know if you can do this but the assumption that all file icons are derived from the OS is wrong. For example create a shader asset, unity will show the shader icon but windows shows a blank default file icon.
Your answer
Follow this Question
Related Questions
ReImport in c# of GameObjects only for Scene Objects, not assets? 1 Answer
Importing .png via script 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers