Search Unity

Editor Window Scriptable Object

Discussion in 'Immediate Mode GUI (IMGUI)' started by Abu-Faisal, Mar 6, 2014.

  1. Abu-Faisal

    Abu-Faisal

    Joined:
    Sep 11, 2013
    Posts:
    15
    Hi everyone,

    While I was playing around with unity, I created some files that helped me to understand editorwindows, scriptableobjects and GUI a little. I hope by sharing this someone will benefits from.

    There are two files. As follow,

    • Scriptable Object : contains small object but in this one I undestood how to use InternalsVisibleTo and I can't use Dicitionary to be serialized by default.
    • Editor Script : contains main and context menus and the main editor window. Use the mouse to control the area for zooming, dragging (the whole area or just a gui box) and add or delete a box.
    It still needs some adjustments. i.g. dragging a box and pass another while dragging will drag both boxes, slow...etc.

    I hope you enjoy it as I tried my best to write comments after long time. Even I forgot how I got those math stuff :sad:.


    NOTE : Put them in Plugins folder so InternalsVisibleTo will work and don't change Unity default Build DLL names.
     

    Attached Files: