- Home /
Why is the System.Drawing namespace not supported in Unity 3.0 Beta?
I am currently working on making a graph control within unity for Android and one very useful namespace for this would have been the System.Drawing namespace which has objects like the pen class, text rendering, brushes, etc. It would have been a nice procedural way of drawing to textures or to the screen. Why is this namespace absent from the beta since this was suppose to be an upgrade of the Mono Framework?
Answer by qJake · Sep 03, 2010 at 03:58 PM
System.Drawing (and related graphics libraries) are not compatible with OpenGL/DirectX (which Unity uses), and as such, are disabled in all versions of Unity. You'll need to find another way to do whatever it is that you're doing (which could very possibly include "Rolling your own" Drawing class which mimics the functionality of the System.Drawing class (or at least the parts that you need).