// Use this for initialization private void Start() { _textMeshProUgui = GetComponent <TextMeshProUGUI>(); _inkExample = GetComponent <BasicInkExample>(); //buttonPrefab.interactable = false; DoneTyping = false; StartCoroutine(Typewrit()); }
private void OnMouseDown() { Debug.Log("Mouse was cliked on " + this.name); BasicInkExample story = GetComponent <BasicInkExample>(); story.StartStory(); }