Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Draw "Sprite" on custom inspector editor.

Discussion in 'Scripting' started by antonioperez80, Sep 25, 2020.

  1. antonioperez80

    antonioperez80

    Joined:
    Jun 8, 2017
    Posts:
    26
    Hey.

    I was wondering how I could draw the (childs)sprites of a 2D Texture with multiple sprite mode in OnInspectorGUI (), because I can only draw "Textures", not sprites.

    My idea is to develop a "tiles" editor with a grid with sprites to be able to select them.

    Thank you so much.
     
unityunity