I have a unity scene. I try to display a texture that changes dynamically.
I draw some shape on this texture. How can I do it?
If I use onGUI
and Graphics.DrawTexture
method, it works too slow on mobile platform.
I have a unity scene. I try to display a texture that changes dynamically.
I draw some shape on this texture. How can I do it?
If I use onGUI
and Graphics.DrawTexture
method, it works too slow on mobile platform.
Use a canvas with an Image attached to it You can apply a texture through there. The OnGUI method is deprecated, try not to use it.