- Home /
Changing texture coordinates in GUI
I want to implement GUI elements with usage of texture atlas, is it possible to notify unity take textures from texture atlas?
Now, to have a highlighted button, i have to provide 3 different textures to GUIStyle: one for normal, one for hover, one for active. Is it possible to combine all this in one single texture?
And one more: How to draw an animated sequence of frames over standard unity GUI?
PS Not using array of separate textures, i need one texture for all frames of sequence. And either, not using GetPixel/SetPixel, i am going to have a 10 such images at one screen and lots of other gui elements :) And not using sprite manager :)
Your answer
![](https://koobas.hobune.stream/wayback/20220612061705im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How do I change GUI elements from outside of the OnGUI function? 3 Answers
Optimizing OnGUI 1 Answer
Deleting GUI Layer creates GC Allocation? 1 Answer
Same Code, Different Variables (Optimization) 1 Answer
Static variables & performance 2 Answers