Created
July 28, 2018 06:42
-
-
Save Syy9/7c30d4d9f0f17ead4d61ff79d26b3824 to your computer and use it in GitHub Desktop.
How to Show Notification in UnityEditor
This file contains 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
using UnityEngine; | |
using UnityEditor; | |
public static class ShowNotification | |
{ | |
public static void Show(EditorWindow window,string message) | |
{ | |
window.ShowNotification(new GUIContent(message)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment