Merge pull request 'register landing and tension' (#26) from feature/add-setup-ui-panel-main-game into develop
Reviewed-on: #26
This commit is contained in:
commit
9f650ee83f
@ -88,6 +88,16 @@ The setup is very straightforward by using the `Generate Panel` command in each
|
||||
|
||||

|
||||
|
||||
To define Landing Panel, create the following script:
|
||||
|
||||
:::warning
|
||||
```jsx title="assets/game-assets/scripts/slotty-settings/extend-slotty-setting.js"
|
||||
SlottySetting.prototype._registerInjection = function () {
|
||||
DIContainer.Register('landingGenerator', require('landing-generator'));
|
||||
};
|
||||
```
|
||||
:::
|
||||
|
||||
- Present Win Cell Panel:
|
||||
|
||||

|
||||
@ -103,6 +113,17 @@ The setup is very straightforward by using the `Generate Panel` command in each
|
||||
If the tension use a custom size frame, we can change the option **sizeMode** to **Custom** and set the static frame and size.
|
||||
|
||||

|
||||
**check toggle General Panel**
|
||||

|
||||
To define Tension Panel, create the following script:
|
||||
:::warning
|
||||
```jsx title="assets/game-assets/scripts/slotty-settings/extend-slotty-setting.js"
|
||||
SlottySetting.prototype._registerInjection = function () {
|
||||
DIContainer.Register('tensionGenerator', require('tension-generator'));
|
||||
};
|
||||
```
|
||||
:::
|
||||
|
||||
|
||||
## Setup UI Panel
|
||||
|
||||
|
BIN
docs/02-setup-main-game/img/05-main-scene/note-bug-tension.png
Normal file
BIN
docs/02-setup-main-game/img/05-main-scene/note-bug-tension.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 95 KiB |
Loading…
x
Reference in New Issue
Block a user