Search Unity

Custom Assets Import Inspector

Discussion in 'Immediate Mode GUI (IMGUI)' started by tsangwailam, Aug 15, 2016.

  1. tsangwailam

    tsangwailam

    Joined:
    Jul 30, 2013
    Posts:
    280
    Hi,

    I am writing a script to modify the mesh uv after import by using the AssetPostprocessor. But i want to have some options when import.

    Can i modify the model import settings inspector? And add some custom UI.

    Screen Shot 2016-08-15 at 9.45.47 PM.png
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    In general, Unity's built-in inspectors are all marked as internal.
    You should check out my post to see a small "hack" i used to allow building upon Unity's inspectors: http://www.li0rtal.com/extending-unity-inspectors/

    Specifically, for this case you would override "UnityEditor.ModelImporterEditor"
     
    Last edited: Jan 24, 2022
    tsangwailam likes this.