차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 다음 판 | 이전 판 | ||
| unity:static_variable [2022/01/06 15:21] – created V_L | unity:static_variable [2022/04/22 09:35] (현재) – V_L | ||
|---|---|---|---|
| 줄 2: | 줄 2: | ||
| ====== | ====== | ||
| - | < | + | 유니티는 다른 씬으로 넘어가면 기본적으로 모든 오브젝트를 파괴한다. |
| + | 그래서 다른 씬으로 넘어가면 이 전에 사용했던 변수나 함수를 사용하지 못한다. | ||
| + | |||
| + | |||
| + | < | ||
| using System.Collections; | using System.Collections; | ||
| using System.Collections.Generic; | using System.Collections.Generic; | ||