Есть вопросы?

Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!

выдает ошибку 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;

}
}

}

Другие вопросы по: Другие предметы

Знаешь правильный ответ?
выдает ошибку Assets/Scripts/SceneLoading. cs(26,8): error CS1002: ; expected. Как мне от нее избави...

Популярные вопросы