private void SetProgress() { Service.SUser sUser = Util.Global.SUser; string url = Service.HttpClient.assetBandleURL + "progress/progress_001.unity3d"; StartCoroutine(sUser.Download(url, 0, InitContent)); }
public override IEnumerator OnLoad(Request request) { yield return(StartCoroutine(base.OnLoad(request))); string url = Service.HttpClient.assetBandleURL + "maps/scenario_001.unity3d"; Service.SUser sUser = Util.Global.SUser; yield return(this.StartCoroutine(sUser.Download(url, 0, InitMap))); LSharpInit(); }
public override IEnumerator OnLoad(Request request) { Model.Master.MBattlefield battlefieldMaster = request.Get <Model.Master.MBattlefield>("mBattlefield"); selectedCharacters = request.Get <List <MCharacter> >("selectedCharacters"); Dictionary <int, bool> characterIds = new Dictionary <int, bool>(); selectedCharacters.ForEach(chara => { characterIds.Add(chara.characterId, true); }); yield return(this.StartCoroutine(base.OnLoad(request))); Service.SUser sUser = Util.Global.SUser; string url = Service.HttpClient.assetBandleURL + "maps/maps_001.unity3d"; yield return(this.StartCoroutine(sUser.Download(url, 0, InitMap))); InitManager(); InitCharacters(characterIds, battlefieldMaster); AddEvents(); this.dispatcher.Notify(); LSharpInit(); }