NUnityNet INuggetaPlatform.getNet()
 {
     if(unityNet == null) {
         unityNet = new NUnityNetDefault();
     }
     return unityNet;
 }
        public NuggetaPlatform()
        {
            #if UNITY_EDITOR
            unityNet = new NUnityNetEditor();

            #elif UNITY_ANDROID
            unityNet = new NUnityNetAndroid();
            unityStorage = new NUnityStorageAndroid();
            unityWebView = new NUnityWebViewAndroid();

            #elif UNITY_IPHONE
            unityNet = new NUnityNetIOS();
            unityStorage = new NUnityStorageIOS();
            unityWebView = new NUnityWebViewIOS();

            #elif UNITY_WEBPLAYER
            unityNet = new NUnityNetWP();
            unityWebView = new NUnityWebViewWP();
            #endif
        }