Created
February 15, 2014 20:15
-
-
Save anchan828/9024678 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static void ClearConsoleLogs() | |
{ | |
var type = Types.GetType("UnityEditorInternal.LogEntries", "UnityEditor"); | |
var info = type.GetMethod("Clear", BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance); | |
info.Invoke(null, new object[0]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment