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; }
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; }