Importing mono modules adds to the build size of the web player?
For example, I needed to parse XML in my unity app. This 10 liner script results in a 600k web player size.
import System.Xml;
function Start()
{
var doc = new XmlDocument();
doc.LoadXml("test.xml");
}
The build log shows Unity adding the System.Xml.dll asset. Was hoping that System.Xml type modules would be part of the Web Player client install or preinstalled .NET/mono framework on the client. But it ain’t working that way it seems.
Any suggestions? Thinking of using a javascript based XML parser in my case (mini-dom or something).
In general, should we avoid importing Mono modules in our scripts?
Just started using Unity. Awesome app!