Problem with Naninovel Inventory

All about user interface, be it customizing built-in UIs or adding new ones.
Forum rules
Please be aware, that we're not providing official support via forum — it's entirely community-driven; see the support page for more information.
Post Reply
LinkingPixels
Posts: 11
Joined: Tue May 19, 2020 8:48 am

Problem with Naninovel Inventory

Post by LinkingPixels »

When I try to choose an item in the inventory the information text gets below the choice handlers in the scene :shock:
Unable to proceed.

Image

User avatar
Elringus
Admin
Posts: 162
Joined: Mon May 11, 2020 6:03 pm

Re: Problem with Naninovel Inventory

Post by Elringus »

Order your text printer to be below the handlers or vice-versa (sort order in canvas component); or just position them apart.

LinkingPixels
Posts: 11
Joined: Tue May 19, 2020 8:48 am

Re: Problem with Naninovel Inventory

Post by LinkingPixels »

Thanks that worked :) However after the text printer turns upp, the texts shows and then I click the printer doesn't disappears. It just get stucked. The custom printer works when fine I use it to other things.

Image

User avatar
Elringus
Admin
Posts: 162
Joined: Mon May 11, 2020 6:03 pm

Re: Problem with Naninovel Inventory

Post by Elringus »

Not sure why you expect the printer to disappear on click.

LinkingPixels
Posts: 11
Joined: Tue May 19, 2020 8:48 am

Re: Problem with Naninovel Inventory

Post by LinkingPixels »

The printer can't be closed or hidden which makes it in the way and impossible to continue. If I try to close the inventory ui, only the inventory box hides but not the text printer.

User avatar
Elringus
Admin
Posts: 162
Joined: Mon May 11, 2020 6:03 pm

Re: Problem with Naninovel Inventory

Post by Elringus »

The printers can hidden in the same way as all the other actors — with @hide command.

LinkingPixels
Posts: 11
Joined: Tue May 19, 2020 8:48 am

Re: Problem with Naninovel Inventory

Post by LinkingPixels »

That wouldn't work in this case. The printer turns up because it's a part of the inventory UI (controlled by the inventory prefabs with C# scripts.)

It didn't show up by a command in a naninovel script. Besides a hide command in a naninovel script would be problematic cuz the inventory can be open anytime by using a keyboard shortkey.

User avatar
Elringus
Admin
Posts: 162
Joined: Mon May 11, 2020 6:03 pm

Re: Problem with Naninovel Inventory

Post by Elringus »

Printers are not a part of the inventory UI and are showed when you add specific onClick naninovel scenario script for items.

LinkingPixels
Posts: 11
Joined: Tue May 19, 2020 8:48 am

Re: Problem with Naninovel Inventory

Post by LinkingPixels »

Aha, now I got it and found a solution. Thanks very much for the help! :D

Post Reply