public override void Show(Action <int> f, float sizeX, float sizeY, float aT) { this.downloadDescription.text = StringMaster.GetString("AssetDownloadInfo"); this.networkDescription.text = StringMaster.GetString("AssetDownloadCaution"); this.partsGaugePoint = base.gameObject.GetComponentInChildren <PartsGaugePoint>(); this.progressBarUpdatingCoroutine = base.StartCoroutine(this.ProgressBarUpdating()); base.Show(f, sizeX, sizeY, aT); }
protected override void Awake() { base.Awake(); this.downloadingLabel.text = StringMaster.GetString("AssetDownloadTitle"); this.adviceLabel.text = StringMaster.GetString("AssetDownloadCaution"); this.SetFrontUIs(false); this.partsGaugePoint = base.GetComponentInChildren <PartsGaugePoint>(); this.swipeController = base.gameObject.AddComponent <SwipeControllerLR>(); this.swipeController.SetThreshold(30f); this.swipeController.SetActionSwipe(new Action(this.OnPushedRightButton), new Action(this.OnPushedLeftButton)); }
private void Awake() { this.loadDescription.text = StringMaster.GetString("SystemLoadingFarm"); this.partsGaugePoint = base.gameObject.GetComponentInChildren <PartsGaugePoint>(); this.partsGaugePoint.SetDepthDigimonIcons(this.gaugePointDepth); }