Adventure Creator - Load save mid-conversation

Announcements, support questions, and discussion for the Dialogue System.
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: Adventure Creator - Load save mid-conversation

Post by Tony Li »

AC's Remember Visibility component works on renderers such as SpriteRenderer, not on GameObjects. It also requires the GameObject to be active or Remember Visibility won't be able to function.

The solution is to set all of the GameObjects active, set their Visibility on start to Off, and change the sequences from:

Code: Select all

SetActive(black,false);
SetActive(pink,true);
to:

Code: Select all

SetEnabled(SpriteRenderer,false,black);
SetEnabled(SpriteRenderer,true,pink)
DragoonHP
Posts: 62
Joined: Tue Jan 15, 2019 8:17 am

Re: Adventure Creator - Load save mid-conversation

Post by DragoonHP »

Thanks a lot. :)
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: Adventure Creator - Load save mid-conversation

Post by Tony Li »

Glad to help!
Post Reply