Esempio n. 1
0
		public SiteManager (GameObject siteManagerObj, string indexUrl) {
			this.siteManagerObj = siteManagerObj;
			this.cont = siteManagerObj.GetComponent<BootViewController>() as BootViewController;
			this.basePath = indexUrl.Replace(UnidonSettings.BOOT_HTML_NAME, string.Empty);
			this.targetAssetPathBase = Path.Combine(basePath, "AssetBundles");
			
			Caching.CleanCache();
			sManager = this;
		}
Esempio n. 2
0
        public SiteManager(GameObject siteManagerObj, string indexUrl)
        {
            this.siteManagerObj      = siteManagerObj;
            this.cont                = siteManagerObj.GetComponent <BootViewController>() as BootViewController;
            this.basePath            = indexUrl.Replace(UnidonSettings.BOOT_HTML_NAME, string.Empty);
            this.targetAssetPathBase = Path.Combine(basePath, "AssetBundles");

            Caching.CleanCache();
            sManager = this;
        }