Jump to content

Switching Scenes does not disable click events


jroosterman
 Share

Recommended Posts

I am working on a project that switches between a handful of scenes.  To do this I load all of my scenes at the start so you can switch between them quickly.

You start out in an overall view of the area and you can click markers to go into rooms.  In the rooms are more makers that are hooked up to click events.  However If one of the markers in the scene is in the bottom left of the screen per say and I move to a different scene, If I would click in the bottom left of the screen the click event of the previous room triggers. 

How do I make sure that click events are only active for the currently active scene?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...