비주얼 스튜디오 유니코드로 저장하기

.editorconfig로 파일명으로 프로젝트 폴더 안에 저장한다. root = true [*] charset = utf-8 다음과 같이 저장한다.
public class Singleton: MonoBehaviour
{
public static Singleton Instance;
//Awake is always called before any Start functions
void Awake()
{
if (Instance)
{
DestroyImmediate(gameObject);
}
else
{
Instance = this;
DontDestroyOnLoad(gameObject);
}
}
}
댓글
댓글 쓰기