
Now the dialogue can use tags to add special effects Reorganized project structure, updating may require adding some using statements
19 lines
No EOL
468 B
C#
19 lines
No EOL
468 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace SimpleTools.SceneManagement {
|
|
public class LoadingProgressBar : MonoBehaviour {
|
|
|
|
Image image;
|
|
|
|
// Start is called before the first frame update
|
|
void Awake() {
|
|
image = transform.GetComponent<Image>();
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update() {
|
|
image.fillAmount = Loader.GetLoadingProgress();
|
|
}
|
|
}
|
|
} |