Is anyone familiar with Programatic Drawing?

Hi, Is it possible to use HTML 5 Canvas plugin within a JS in Unity?

Has anybody tried this?

If not, Is there another way to draw programatically in Unity? Just simple things like 2D triangles or other shapes.

Thanks!

RJ :slight_smile:

It is called immediate mode. This functionality is given by following classes: GL and Graphics in UnityEngine namespace, but it is not recommended due to them being slow as hell. The best solution is to construct meshes from vector data instead.