Search Unity

Make mesh show up in mesh picker scene tab

Discussion in 'Immediate Mode GUI (IMGUI)' started by Deleted User, Feb 27, 2017.

  1. Deleted User

    Deleted User



    how do I make a code-generated mesh appear under the Scene tab in the mesh picker?

    The mesh is already being saved in the Scene due to being nested in a ScriptableObject-derived class.
    I looked through AssetDatabase functions but I found no clue. Is there special syntax for CreateAsset() or something?