inkle / inkle/ink

[Question] Access compiler from unity

Open
#506 1 comment 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 currently working on a tool in Unity to create dialog with Ink. I store those into ScriptableObject with all other data (sprite to show who is talking mainly). And then I play them.

The next goal I have is to check if the .ink has been changed and if it's the case, then update all ScriptableObject to keep my dialogs updated. But until now i've failed to find a way to access the compiler and to check if it has compile some inkFile. Does anyone have an idea on how to do it (i'm working on a different assembly than the compiler).

I've tried to:
- using Ink.UnityIntegration: Unity told me that I have a reference error
- read the debug.Log() when compilation is finish: Did not achieved to read it in edit mode
- use action from compiler: unable to access them from outside the assembly

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.