static void ShowNotification(string notif) { ReflectionUtility.FindClass("UnityEditor.GameView").InvokeMethod <EditorWindow>("GetMainGameView").ShowNotification(new GUIContent(notif)); }