Ok, second error gone but first persists:
Assets/Scripts/Quests/QuestNodeControllerSaver.cs(6,14): error CS0737: `QuestNodeControllerSaver' does not implement interface member `PixelCrushers.IMessageHandler.OnMessage(PixelCrushers.MessageArgs)' and the best implementing candidate `QuestNodeControllerSaver.OnMessage(PixelCrushers.MessageArgs)' is not public
Restoring a previous state
Re: Restoring a previous state
Change this line:
to this:
This way the MessageSystem can call the method.
I updated the code in my previous reply, too.
Code: Select all
void OnMessage(MessageArgs messageArgs) {
Code: Select all
public void OnMessage(MessageArgs messageArgs) {
I updated the code in my previous reply, too.
-
- Posts: 178
- Joined: Fri Sep 21, 2018 8:38 pm
Re: Restoring a previous state
Everything starts to work great now, Thanks!!
Re: Restoring a previous state
I'm glad things are working well now! Glad to help.