2D Toolkit Forum

2D Toolkit => Showcase => Topic started by: vevusio on February 07, 2014, 09:54:17 pm

Title: 2d toolkit custom materials
Post by: vevusio on February 07, 2014, 09:54:17 pm
so back a while when i just started with unity and c# and i bought 2d toolkit and was messing around with it, i was wondering about the lack of an option to specify materials for sprites on a per-instance/prefab basis (http://2dtoolkit.com/forum/index.php/topic,2991.0.html)

since then i've changed the impementation for my own project so i could color text and ui elements on-the-fly

setting materials on gameobjects/prefabs also allows you to change the materials on 2d toolkit sprite animations (http://2dtoolkit.com/forum/index.php/topic,3085.0.html) without having to create an extra sprite for every frame and then creating an extra animation clip with all the new sprite variants

als here's a youtube video where i explain how to use it (http://www.youtube.com/watch?v=DIF8YVcPCKs)

attached with this post is the demo scene with the handfull of 2d toolkit files that you have to replace in order for this to work (provided i did not forget something)
so you will have to supply your own tk2d install but replace some files with those in the zip
Title: Re: 2d toolkit custom materials
Post by: x8105 on April 09, 2014, 07:29:13 pm
what does this do for the drawcalls?
Title: Re: 2d toolkit custom materials
Post by: s9999yb on October 16, 2015, 04:17:32 am
where the zip to download?