выдает ошибку Assets/Scripts/SceneLoading.cs(26,8): error CS1002: ; expected. Как мне от нее избавиться ? using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class SceneLoading: MonoBehaviour
{
public int sceneID;
public Image loadingImg;
public Text progressText;
void Start()
{
StartCoroutine (AsyncLoad());
}
IEnumenator AsyncLoad()
{
AsyncOperation operation = SceneManager.LoadSceneAsync(sceneID);
while (!operation.isDone);
{
loadingImg.fillAmount = operation.progress;
yeild return null;
}
}
}