So I tried making a custom editor for the TextureImporter class but I guess there is already a built in editor that seems to disappear when I make a custom editor for it. How can I keep the built in editor but add my own stuff?
[CustomEditor(typeof(TextureImporter))]
public class OverrideImportSettings : Editor
{
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
if (GUILayout.Button("Test"))
{
}
}
}
*The insperctor after I apply the script above:*
![alt text][1]
[1]: /storage/temp/171290-screenshot-1.png
↧