1
Showcase / 2d toolkit custom materials
« 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
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 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
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
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 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
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