Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | OdTogerus |
I have this scene where the node hierarchy made it so that the default root viewport isn’t where the main gameplay occurs and instead happens inside another viewport to make space in the screen. Visual Representation
Now I want to emit a signal from VisibilityNotifier2D each time the node enters/exit the gameplay viewport/screen, but VisibilityNotifier2D doesn’t emit a signal.
What I have in my game:
The gameplay viewport is scrolled via the player’s camera and I want it so that each time an enemy enters/exit the gameplay screen, their VisibilityNotifier2D would a send signal to its parent node to start/stop the parent’s despawn process.