inkle / inkle/ink

Calling a stitch from Unity

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

Description

I'm able to call a knot inside C# in Unity through this:
Choice choice = _inkstory.currentChoices[0];
currentpathname = choice.sourcePath.Substring(0, choice.sourcePath.IndexOf("."));
_inkstory.ChoosePathString(currentpathname);
This successfully diverts the story anytime to the knot named currentpathname.

But is there a way to get the knot name with the stitch and call the stitch in it later on?

Thanks in advance...

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.