Skip to content

Commit 18753de

Browse files
committed
don't show the imported object twice in the inspector, see https://forum.unity.com/threads/scriptedimporter-how-to-hide-imported-object-properties.804012/ for problem description.
1 parent 4eb6f2c commit 18753de

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Editor/Texture2DArrayImporterInspector.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ Styles styles
5656
SerializedProperty m_Textures = null;
5757
ReorderableList m_TextureList = null;
5858

59+
public override bool showImportedObject
60+
{
61+
get { return false; }
62+
}
63+
5964
public override void OnEnable()
6065
{
6166
base.OnEnable();

0 commit comments

Comments
 (0)