티스토리 뷰
반응형
public void ClearLog()
{
var assembly = System.Reflection.Assembly.GetAssembly(typeof(UnityEditor.Editor));
var type = assembly.GetType("UnityEditor.LogEntries");
var method = type.GetMethod("Clear");
method.Invoke(new object(), null);
}
반응형
'Programming > Unity' 카테고리의 다른 글
에디터 윈도우 커스텀하게 변경하기 (0) | 2021.03.24 |
---|---|
Resources 폴더 말고 다른 폴더에서 불러오기 (1) | 2021.02.15 |
스크롤안에 스크롤 사용하기 (0) | 2020.11.16 |
Scroll loop (0) | 2020.11.12 |
Changes WorldPosition to CanvasPosition (0) | 2020.10.21 |
댓글