Exemple #1
0
        public RemoteLoaderInfo LoadRemoteUrlByWWW(string url)
        {
            RemoteLoaderInfo info = new RemoteLoaderInfo();

            info.url = url;
            //ResourceManager.Instance.GetMonoEntry().StartCoroutine(LoadRemoteUrlByWWW(info));
            LoadRemoteUrlByWWW(info);
            return(info);
        }
Exemple #2
0
        /*
         * IEnumerator LoadRemoteUrlByWWW(RemoteLoaderInfo info)
         * {
         *  WWW www = new WWW(info.url);
         *  info.www = www;
         *  yield return www;
         * }
         * */

        void LoadRemoteUrlByWWW(RemoteLoaderInfo info)
        {
            WWW www = new WWW(info.url);

            info.www = www;
        }