I have a class GameEditor that is using UnityEditor, every frame it gets the Scene name as a string and sets a public string currentScene as it.
I want to get currentScene from GameEditor through a non-editor class and display it as a GUILayout Label on the screen.
How do i do this?
EDIT: Could Application.loadedLevelName provide the same function?