using System.Reflection;
public void DebugInfo()
{
var assembly = Assembly.GetAssembly(typeof(UnityEditor.Editor));
var type = assembly.GetType("UnityEditor.LogEntries");
var method = type.GetMethod("Clear");
method.Invoke(new object(), null);
Debug.Log("Debug Message");
}
댓글 없음:
댓글 쓰기