Quantcast
Channel: Questions in topic: "sprite editor"
Viewing all articles
Browse latest Browse all 190

How can I open the Sprite Editor from script?

$
0
0
I wanted to make a tool that groups several related functions for our game together, to make things more accessible for artists, and one of these is editing the slicing of a sprite. Normally you can open windows which appear in the menus from script, but the Sprite Editor is only available from a button in the inspector after you select a sprite or spritesheet asset. Given a particular sprite or spritesheet asset, how can I make a button in an Editor script which opens the sprite editor window for that sprite?

Viewing all articles
Browse latest Browse all 190

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>