popup panel

This commit is contained in:
dungdq 2025-05-08 10:45:08 +07:00
parent 285f0e75e3
commit e4d9a10c2e
3 changed files with 4 additions and 5 deletions

View File

@ -421,8 +421,8 @@ If the game have design animation for background, we will do this step.
The popup panel is already integrated into main scenes. It is separated into two parts for modular use: The popup panel is already integrated into main scenes. It is separated into two parts for modular use:
|![Popup overview exit](./img/05-main-scene/popup-disconnet.png)|![Popup overview disconnect](./img/05-main-scene/popup-exit-game.png)| |![Popup overview exit](./img/05-main-scene/popup-disconnet.png)|![Popup overview disconnect](./img/05-main-scene/popup-exit-game.png)|![Popup overview disconnect](./img/05-main-scene/popup-credit-game.png)|
|---------------------------------------------------------------|---------------------------------------------------------------------| |---------------------------------------------------------------|---------------------------------------------------------------------|---------------------------------------------------------------------|
### Popup in the Game ### Popup in the Game
@ -442,9 +442,8 @@ The popup panel is already integrated into the main scenes.
![Popup Position](./img/05-main-scene/popup-multi-panel.png) ![Popup Position](./img/05-main-scene/popup-multi-panel.png)
To use the Multiple Popup layout, reference the core prefab: To use the Multiple Popup layout, reference target `hyper-multiple-popup.prefab` in core:
:::info :::info
**Prefab** : *hyper-multiple-popup.prefab*
**Path** : *assets/core-assets/hyper-core/packages/popup-panel/prefabs/hyper-multiple-popup.prefab* **Path** : *assets/core-assets/hyper-core/packages/popup-panel/prefabs/hyper-multiple-popup.prefab*
::: :::
@ -462,7 +461,7 @@ The **Exit Game** Popup only appears in **Desktop**.
:::info :::info
**Path**: *assets\game-assets\textures\desktop\preloads\main-game\exit* **Path**: *assets\game-assets\textures\desktop\preloads\main-game\exit*
::: :::
**Preview Result**: **Preview Result**:
![Popup overview exit](./img/05-main-scene/popup-exit-game.png) ![Popup overview exit](./img/05-main-scene/popup-exit-game.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 KiB

After

Width:  |  Height:  |  Size: 269 KiB