Question by
DincaAlin · Apr 13, 2018 at 02:17 PM ·
editorscene viewmessagepop-up
Show message text in scene view
Hi! So I want to show a message notification/pop-up like the one you get in the Game View in play mode when trying to save the scene, example in the image:
But I want to show it not in the game view, but in the scene view. And this during editor mode, not play mode. Is this possible?
notification.png
(106.4 kB)
Comment
Answer by Marcelo-Nery · Aug 19, 2019 at 10:01 PM
Old, but I was with the same issue and this is working for me (I realise some delay after call the function, maybe because of "foreach").
foreach (SceneView scene in SceneView.sceneViews) scene.ShowNotification(new GUIContent("Your message here."));