private void OnLogoImageCompleted(BaseTask sender) { Sprite sprite = sender.GetDataProvider().GetData <Sprite> (ResponseType.Jpg); UserDataSettings.Instance.ClientLogo = sprite; HUDEvent evt = new HUDEvent(HUDEvent.ON_LOGO_IMAGE_WAS_LOADED); evt.arguments ["imageLoaded"] = true; EventManager.instance.dispatchEvent(evt); }
private void OnConfigComplete(BaseTask sender) { AssetListInfo assetList = sender.GetDataProvider().GetData <AssetListInfo> (ResponseType.Json); UserDataSettings.Instance.AssetList = assetList.AssetLists; }