차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

다음 판
이전 판
unity:static_variable [2022/01/07 00:21] – created V_Lunity:static_variable [2022/04/22 18:35] (현재) V_L
줄 2: 줄 2:
 ======  Static variable  ====== ======  Static variable  ======
  
- <file>+유니티는 다른 씬으로 넘어가면 기본적으로 모든 오브젝트를 파괴한다. 
 +그래서 다른 씬으로 넘어가면 이 전에 사용했던 변수나 함수를 사용하지 못한다. 
 + 
 +  
 +<file csharp>
 using System.Collections; using System.Collections;
 using System.Collections.Generic; using System.Collections.Generic;