예제 #1
0
        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);
        }
예제 #2
0
        private void OnConfigComplete(BaseTask sender)
        {
            AssetListInfo assetList = sender.GetDataProvider().GetData <AssetListInfo> (ResponseType.Json);

            UserDataSettings.Instance.AssetList = assetList.AssetLists;
        }