Broadcast message from a scene to an overlay possible?
-
When I broadcast my message with an object ID to a dictionary on an overlay.
How do I make the link between the object ID and the modify dictionary?
Is it really working? Are there any restrictions? -
I meant a dictionary or an array that is on an overlay.
I was wondering if there was some restriction about overlays.
But it’s cool if you say that it works I will find a way to do so -
Here is a working demo: https://bit.ly/4c2S5fd
One restriction is that objects cannot interact with each other across scenes and overlays. If a scene retrieves an object ID from the overlay, it won't be able to reference that object. It can only reference objects from the same scene/overlay.
-
How do you make an inventory then?
An inventory should be able to work in every scene. And it could be put on an overlay how do you manage that? -
So broadcast and receive…
And I can have my inventory on overlay.
Is there not a problem when you close the overlay and you open it again?
It’s like nothing works anymore.. -
Something like an inventory should be on the Global UI layer - Global UI layer is shared across all scenes, and you can easily reference the objects in the behaviors.
Overlays are used for temporary things like custom popups and alerts. You also can't interact with the scene when an overlay is present, and it also resets when closed.
-
Okay, it’s pretty clear now. I understand.
Why you didn’t work.
Thanks, man -
You mean having the inventory always loaded, but visibility turned off.
I need to try that
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login