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

.editorconfig로 파일명으로 프로젝트 폴더 안에 저장한다. root = true [*] charset = utf-8 다음과 같이 저장한다.
public class ExamOnEnable01 : MonoBehaviour
{
private void Awake()
{
Debug.Log("I'm here Awake");
}
private void OnEnable()
{
Debug.Log("I'm here OnEnable");
}
private void OnDisable()
{
Debug.Log("I'm here OnDisable");
}
private void Start()
{
Debug.Log("I'm here Start");
}
}
public class ExamOnEnable02 : MonoBehaviour
{
public GameObject exam01;
private void Update()
{
if (Input.GetKeyDown(KeyCode.UpArrow))
{
exam01.SetActive(false);
}
if (Input.GetKeyDown(KeyCode.DownArrow))
{
exam01.SetActive(true);
}
}
}
댓글
댓글 쓰기