소개
소개글이 비어있어요
게시글
질문&답변
2023.09.26
섹션 13 진행하다 보면 나오는 UnityChan 옆에 빨간 공이 뭘까요?
기즈모는 맞는데 뭘 의미하는지를 모르겠습니다. Unity 2021.3.20f1 버전입니다. (사진)
- 0
- 2
- 203
질문&답변
2023.08.12
nullpointexception 에러가 뜹니다.
Managers 클래스에서 private static void Init() { if (s_instance == null) { GameObject go = GameObject.Find("@Managers"); if (go == null) { go = new GameObject { name = "@Managers" }; go.AddComponent (); } DontDestroyOnLoad(go); // s_instance = go.GetComponent (); // } 아래 두 줄 괄호 위치 잘 확인해 보세요~ 저도 그랬어요~~ ^^ }
- 0
- 2
- 273