Hi! I have no idea how to do pop ups :((
When my character walks into the collectible object, I would want a pop up to show up and press ENTER to remove the pop up. Please do guide me on how to do this :((
EDITOR: PlayCanvas | HTML5 Game Engine
Hi! I have no idea how to do pop ups :((
When my character walks into the collectible object, I would want a pop up to show up and press ENTER to remove the pop up. Please do guide me on how to do this :((
EDITOR: PlayCanvas | HTML5 Game Engine
If I could help you, then I would. I’m also tying to make them, but using ChatGPT will help a bit :3
any tips?
Please find the following API guides,
For Example:
this.entity.enabled = false; //or true, to disable or enable the entity.
// this.entity is the “Pop ups”
when the entity is collected enable a UI element, and on that element have a script that disabled the entity with enter
Please note that enabled
should be true
or false
. So you probably need to use false
instead of disable
.
Thank you, I have changed it.