So, I have one script for two Scenes (SceneA, SceneB). I want to do something like this:
if (Sup.getScene() === 'SceneA') { //doSomething } else if (Sup.getScene() === 'SceneB') { //doOtherStuff } else { //doNothing }
The point is: I want to get the current scene running. Is it Possible?
@Edit
I tried this: Scene Detection by LukeLanFaust answer, but my Log was: >> activeScene content: undefined