I have a texture (png) that I would like to HideFlags or similar. My intent is to stop it (and its sprites) from coming up while searching in the Project/Inspector but still work as normal.
For a ScriptableObject, I was able to achieve this with HideFlags, but Textures don’t seem to respond to flags being set?
I’ve tried both on the texture itself and the TextureImporter.
textureImporter.hideFlags = HideFlags.Inspector | HideFlags.Hierarchy;
Then SaveAndReimport().
texture2D.hideFlags = HideFlags.Inspector | HideFlags.Hierarchy;
Then setting it dirty.
Neither of these work. Is there any way to do this? It’s driving me crazy I might even resort to putting it in an asset bundle or something.