コード例 #1
0
 /// <summary>
 /// On every frame fill the bar according to delta time * progressbarspeed
 /// </summary>
 protected virtual void Update()
 {
     LoadingProgressBar.GetComponent <Image> ().fillAmount = MiscTools.MoveFromTo(LoadingProgressBar.GetComponent <Image> ().fillAmount, filltarget, Time.deltaTime * ProgressBarSpeed);
 }