Search Unity

View and edit System.Object in inspector?

Discussion in 'Scripting' started by Maniczombie, Oct 11, 2017.

  1. Maniczombie

    Maniczombie

    Joined:
    Oct 19, 2012
    Posts:
    15
    I've created a scriptable object Database containing none unity objects and wish to edit their properties. Is it possible to edit them through the inspector or would I have to create my own custom inspector editor window to do this?

    Later down the line I would also like to save these objects as assets/prefabs in the assets window as well.
     
  2. GroZZleR

    GroZZleR

    Joined:
    Feb 1, 2015
    Posts:
    3,201
    If you mark the derived object as [System.Serializable], you should get some edit-ability in the inspector, but you'll probably want to write a custom inspector at some point anyways.