register landing and tension #26
@ -86,7 +86,17 @@ The setup is very straightforward by using the `Generate Panel` command in each
|
||||
|
||||
- Landing Panel:
|
||||
|
||||

|
||||

|
||||
|
||||
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:
|
||||
|
||||
@ -102,7 +112,18 @@ 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