Skip to content

Commit bce4d3c

Browse files
committed
update docs
1 parent 851bb88 commit bce4d3c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/guide/user-interface.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ When `Focus Object` is assigned, `Focus Mode` property allows choosing when to f
7878

7979
`On Show` and `On Hide` Unity events allow hooking custom handlers to react to the UI visibility changes. For example, you can hook an `Animator` triggers to fire some custom animations when the UI becomes visible and vice-versa.
8080

81-
When `Hide On Load` is enabled, the UI will automatically be hidden when the engine is starting a load operation. This usually happens when loading another naninovel script or exiting to title menu.
81+
When `Hide On Load` is enabled, the UI will automatically be hidden when the engine is starting a load operation. This usually happens when loading another naninovel script or exiting to the title menu.
8282

8383
Enabling `Save Visibility State` will make the visibility state of the UI persistent, so that when player loads a saved game, the UI will be in the same state (visible or hidden) as it was when the game was saved.
8484

85-
`Block Input When Visible` allows disabling [input processing](/guide/input-processing) when the UI is visible. This is useful to prevent the player from using various hotkeys (hiding the UI, continue reading, etc) while he's interacting with the UI. `Allowed Samplers` allows adding exceptions to the blocked inputs; eg, you can add `ToggleUI` input name to the list, allowing player to toggle the UI while still preventing activation of any other inputs.
85+
`Block Input When Visible` allows disabling [input processing](/guide/input-processing) when the UI is visible. This is useful to prevent the player from using various hotkeys (hiding the UI, continue reading, etc.) while they're interacting with the UI. `Allowed Samplers` allows adding exceptions to the blocked inputs; eg, you can add `ToggleUI` input name to the list, allowing player to toggle the UI while still preventing activation of any other inputs.
8686

8787
Enabling `Modal UI` makes all other UIs ignore interaction while the UI is visible. This is similar to `Block Input When Visible`, but affects event-based interaction (mouse clicks, touches, UI navigation) instead of direct input processing.
8888

@@ -99,7 +99,7 @@ To specify, which text elements should be affected by font and text size changes
9999

100100
![](https://i.gyazo.com/f8e8b03580940cce72de9e9970512902.png)
101101

102-
Each element in the configuration list has following properties:
102+
Each element in the configuration list has the following properties:
103103

104104
Property | Description
105105
--- | ---
@@ -121,7 +121,7 @@ To change the font outside of `Custom UI` objects (eg, on choice handler button
121121

122122
### Disabling Built-In UI
123123

124-
To disable a built-in UI remove corresponding record from the UI resources list and the prefab won't be instantiated on engine initialization.
124+
To disable a built-in UI, remove the corresponding record from the UI resources list, and the prefab won't be instantiated on engine initialization.
125125

126126
### Modifying Built-In UI
127127

@@ -196,8 +196,8 @@ Find an example on using `Play Script` component in the [UI sample](/guide/sampl
196196

197197
## UI Toolkit
198198

199-
Unity's new UI authoring solution — [UI Toolkit](https://docs.unity3d.com/Packages/com.unity.ui@latest) — is not supported out of the box, but can be used with Naninovel with an adapter, which implements `IManagedUI` interface. Find an example of such adapter in the [UI sample](/guide/samples#ui).
199+
Unity's new UI authoring solution — [UI Toolkit](https://docs.unity3d.com/Packages/com.unity.ui@latest) — is not supported out of the box, but can be used with Naninovel with an adapter, which implements `IManagedUI` interface. Find an example of such an adapter in the [UI sample](/guide/samples#ui).
200200

201201
::: warning
202-
UI Toolkit is still in early development and miss lots of features compared to the default UI solution (uGUI). Do not use it, unless you're an advanced developer and ready to solve all the related issues. Be aware, that we won't be able to provide any support or guidance on using the toolkit with Naninovel.
202+
UI Toolkit is still in early development and lacks some features compared to the default UI solution (uGUI). We do not recommend using it unless you're an advanced developer and ready to solve all the related issues. Be aware that we won't be able to provide any support or guidance on using UI Toolkit with Naninovel.
203203
:::

0 commit comments

Comments
 (0)