Search Unity

Draw "Sprite" on custom inspector editor.

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

  1. antonioperez80

    antonioperez80

    Joined:
    Jun 8, 2017
    Posts:
    40
    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.