Which mono classes are available in the webplayer?
I assuming System.IO isn’t because of security issues - but what about System classes like System.Array, this must be available or I wouldn’t be able to use arrays.
Also, is there a list somewhere of which Unity classes and functions are available to the webplayer?
It would be nice to a have a quick reference list somewhere or perhaps a legend next to each class or function in the on-line documentation.
It turns out my earlier assumption was incorrect. Some System.IO classes are available in the webplayer, BinaryReader to name one.
It also seems that if a class removed due to security is used in the webplayer then the script simply fails to continue running instead of returning null e.g.
DebugConsole.Log("Start");
var fs = new FileStream( blah blah blah );
if( null == fs )
DebugConsole.Log("Warning Will Robinson, fs is null!");
DebugConsole.Log("You are here");
In this case only the first console message will be displayed.