ink icon indicating copy to clipboard operation
ink copied to clipboard

Expose Knot, Stitch and Path through Unity API

Open JacobChrist opened this issue 3 years ago • 3 comments

This feature may already exist, but my cursory read of the documentation seems to leave this to be desired. After .Continue() or .ContinueMaximally() I would like to have the following methods exposed:

.currentKnot -> returns string yourKnot .currentStitch -> returns string yourStitch

or

.currentPath -> returns string yourKnot.yourStitch

Currently I'm tagging all my Knots with # audio:yourKnot.yourStitch

This creates a lot of extra typing and the ink compiler already nicely assures that Knots are unique.

JacobChrist avatar Sep 13 '20 17:09 JacobChrist

This probably belongs on https://github.com/inkle/ink - this repo is more for Unity Integration as opposed to the C# API :)

tomkail avatar Sep 14 '20 08:09 tomkail

@tomkail I'm confused. I want to be able to extract the Knot in Unity, thus Unity integration. Is there something more fundamental that I'm missing (such as Unity integration cannot be made to do think until added to ink C# API?

JacobChrist avatar Sep 16 '20 05:09 JacobChrist

The ink repo covers the C# API - the unity repo contains the ink repo, and also adds lots of essential tools for unity developers :)

On Wed, 16 Sep 2020 at 06:32, Jacob Christ [email protected] wrote:

@tomkail https://github.com/tomkail I'm confused. I want to be able to extract the Knot in Unity, thus Unity integration. Is there something more fundamental that I'm missing (such as Unity integration cannot be made to do think until added to ink C# API?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/inkle/ink/issues/623#issuecomment-693181056, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJR3UDYBT36TG44VWFHRILSGBEYVANCNFSM4RLKWYRQ .

tomkail avatar Sep 16 '20 07:09 tomkail