using Ink.Runtime;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Comic: MonoBehaviour
{
public TextAsset (ShadesofInk); (<- This is where I'm having trouble
private Story (ShadesofInk); (<-This is where I'm having trouble)
// Start is called before the first frame update
void Start()
{
story = new Story(ShadesofInk.txt);
Debug.Log(story.Continue());
}
// Update is called once per frame
void Update()
{
}
}
У меня ошибка CS1001 в строках 8 и 9. Я не уверен, что ее вызывает; Я следовал учебному пособию, но использовал свои собственные файлы.