IEnumerator StartLoad() { stream = new WWW("http://cm-game.no-ip.biz/data/webinterface/unity_lifedemos/fremd/whale.unity3d"); while(!stream.isDone) { yield return null; } stream.LoadUnityWeb(); }
static public int LoadUnityWeb(IntPtr l) { try{ UnityEngine.WWW self = (UnityEngine.WWW)checkSelf(l); self.LoadUnityWeb(); return(0); } catch (Exception e) { LuaDLL.luaL_error(l, e.ToString()); return(0); } }
static public int LoadUnityWeb(IntPtr l) { try { UnityEngine.WWW self = (UnityEngine.WWW)checkSelf(l); self.LoadUnityWeb(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int LoadUnityWeb(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UnityEngine.WWW obj = (UnityEngine.WWW)ToLua.CheckObject(L, 1, typeof(UnityEngine.WWW)); obj.LoadUnityWeb(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }