how to go back to title

General development topics: using various Unity tools, publishing games, etc.
Post Reply
ShimaHyou
Posts: 6
Joined: 25 Aug 2020 03:51

how to go back to title

Post by ShimaHyou »

Hello,

At the end of each chapter there this:
@choice "restart chapter"
@choice "continue"

I'd like to get back to title when selected "continue" but using @title is not an option because of the reset engine, is there another way?

Elringus
admin
Posts: 538
Joined: 11 May 2020 18:03

Re: how to go back to title

Post by Elringus »

If you just want to show the title UI, without reset:

Code: Select all

@choice "continue"
    @showUI TitleUI

— be aware, that nested choice callback was added in v1.20, in previous versions use do parameter instead.

ShimaHyou
Posts: 6
Joined: 25 Aug 2020 03:51

Re: how to go back to title

Post by ShimaHyou »

I did think about it, but I'm displaying the user state on the title this is why I wanted to go back there but if it's not possiible I'll simply put everything in 'title script'

Post Reply