- Home /
Question by
Jeiel · Jan 09, 2014 at 07:43 AM ·
texture atlas
Getting Packed Material From a Sprite Reference
I'm using texture packing with 2D sprites but I'm also generating a few meshes that I'd like to use the packed atlas texture with. I've found that I can get the packed material from a SpriteRenderer reference on runtime but I'm wondering if there is a way I can get the material from just a reference of the Sprite.
Comment