inkle / inkle/ink

Repeating text content when "loading" a saved game

Open
#670 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
4.9k
Forks
540
PR merge metrics
No merged PRs in 30d

Description

Hi all

I'm using the following to load my save from PlayerPrefs in Unity.

` story = new Story(inkJSONAsset.text);
var savedState = PlayerPrefs.GetString("inkSaveState");
story.state.LoadJson(savedState);
RefreshView();`

When I do this, it shows the options suitable for that part of the story, but it doesn't show the content, only the choices. I'm using the standard Ink Example that comes with the ink unity asset.

What should I be doing to have it output the content after loading from PlayerPrefs?

Olly

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.