inkle / inkle/ink

How to use TagsForContentAtPath?

Open
#727 0 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

Hello. I'm trying to use TagsForContentAtPath for displaying tags of not yet selected choice, but can not get it's info:
`foreach (var choice in _inkStory.currentChoices)
{
var tags = _inkStory.TagsForContentAtPath(choice.pathStringOnChoice);
if (tags != null)
{
foreach (var message in tags)
{
DebugLogger.Log(message);
}
DebugLogger.Log("---");
}
}`
choise is defined like this:
`* [take tutorial]
-> first_tutorial`
` === first_tutorial ===
Welcome to tutorial! {currentPlatform} # tag1: 10 tag2: blue
-> DONE`
Is it possible for now to get choice info by it's path string on choise, or TagsForContentAtPath must be used differently?

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.