Search Unity

Question How to display Sprite variable with a preview in the editor?

Discussion in 'Scripting' started by no00ob, Mar 27, 2021.

  1. no00ob

    no00ob

    Joined:
    Dec 13, 2017
    Posts:
    65
    Hello! I was just wondering today if there's any way to display a sprite variable similarly to a custom shader in a scriptable object? This is mostly just an aesthetic thing and not anything necessary. See the pic below for what I mean.
     

    Attached Files:

    • how.png
      how.png
      File size:
      21 KB
      Views:
      285
    shellka likes this.