에디터

    [Unity] 에디터에서만 사용할 수 있는 커스텀 코루틴

    모든 코루틴은 이로부터 접근을 해서 호출한다. 예) EditorCoroutines.EditorCoroutines.StartCoroutine(코루틴 명칭, this); EditorCoroutines.EditorCoroutines.StopCoroutine(코루틴 명칭, this); using EditorCoroutine = EditorCoroutines.EditorCoroutines; 맨 위에 추가시 아래와 같이 생략 가능 EditorCoroutine.StartCoroutine(코루틴 명칭, this); EditorCoroutine.StopCoroutine(코루틴 명칭, this); using UnityEngine; using System.Collections; using UnityEditor; using ..

    [Unity] Debug 클래스 (에디터 출력용)

    유니티 스크립트에서는 게임을 제작하는 동안 디버깅을 도와주기 위해 Debug 클래스를 제공한다. - Debug.Log() Debug.Log() 메소드는 괄호 () 안에 로그 메시지를 넣어주면, 유니티 콘솔창에 로그 메시지를 출력해주는 메소드이다. - Debug.LogError() Debug.LogError() 메소드는 괄호 () 안에 로그 메시지를 넣어주면, 유니티 콘솔창에 로그와 함께 에러 메시지를 표시한다. - Debug.LogWarning() Debug.LogWarning() 메소드는 괄호 () 안에 로그 메시지를 넣어주면, 유니티 콘솔창에 로그와 함께 경고 메시지를 표시한다. 출처 : https://m.blog.naver.com/PostView.naver?blogId=nuberus&logNo=50..

    [실2] 1406 - 에디터

    #include #include #include #include #include #include #include using namespace std; list my_list; auto iter = my_list.end(); int count = 0; void Move_left() { if (iter != my_list.begin()) iter--; } void Move_right() { if (iter != my_list.end()) iter++; } void Delete() { if (iter == my_list.begin()) return; iter = my_list.erase(--iter); } void Add(char _letter) { my_list.insert(iter, _letter); } ..