unity3d - Is it possible to draw in Unity canvas like in html5 canvas? -
some time ago used html5 canvas draw animated background. look here...
now try same effect in unity3d. found unity canvas element. after researches found tutorials how draw buttons, images, etc.
so wondering if there possibility code unity canvas html5 canvas?
i need functions like
canvas.fillrect(0, 0, window.innerwidth, window.innerheight);
or
canvas.beginpath(); canvas.moveto(x, y); canvas.stroke();
but did not found in documentation.
another possibility code texture this. think permanently changing texture of background plane requires many processing power? target platform android , ios.
thanks in advance!
the unity canvas root new ui system. not similar html5 canvas.
Comments
Post a Comment