- Home /
Cooldown effect in GUI
Hello. I want do something like that:
Is possible to perform this in OnGUI(GUI.Button) without using big arrays of textures?
Comment
You'd be able to generate the textures at runtime, using the shader method in the linked question. Otherwise no, because OnGUI functions don't use materials.
Thx for comment! this is nice idea, i hope it will be not to expensive for CPU when i use few cooldown on screen in same time
@$$anonymous$$elanina did you get cooldown effect on gui.button? How? I have achieved the effect with shader, but this doesnt work in a gui.button. If you could help me.. :D