
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class startBtn : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void GameStart()
{
SceneManager.LoadScene("MainScene");
}
}
가장 아래 퍼블릭보이드 게임스타트 이하 문구 입력하고 알트 엔터를 치면 위에 using UnityEngine.GameManager가 뜬다고 하셨는데요
일단 SceneManager에 빨간 밑줄이 안나옵니다. 그리고 알트엔터를 치면

이렇게 나옵니다.
