Skip to content

Instantly share code, notes, and snippets.

@videlais

videlais/InkExample.cs Secret

Created Jul 8, 2019
Embed
What would you like to do?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Ink.Runtime;
public class InkExample : MonoBehaviour
{
private Story story;
public TextAsset inkJSONAsset;
// Start is called before the first frame update
void Start()
{
story = new Story(inkJSONAsset.text);
Debug.Log(story.Continue());
}
// Update is called once per frame
void Update()
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment