Assets\script\diretorDeCena.cs(9,13): error CS0246: The type or namespace name 'Aviao' could not be found (are you missing a using directive or an assembly reference?)
public class diretorDeCena : MonoBehaviour
{
[SerializeField]
private GameObject imagemGameOver;
private Aviao aviao;
private void Start(){
this.aviao = GameObject.FindObjectOfType<Aviao>();
}
public void finalizarJogo(){
Time.timeScale = 0;
this.imagemGameOver.SetActive(true);
}
private void reiniciarJogo(){
this.imagemGameOver.SetActive(false);
Time.timeScale = 1;
this.aviao.reiniciar();
this.DestruirObstaculos();
}