Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

No overload method

$
0
0
Hello. I've been having trouble with writing text with sound. I looked at a tutorial but says that there's an overload problem. Any conclusions? using System.Collections; using UnityEngine; using UnityEngine.UI; namespace DialogueSystem { public class DialogueLine : DialogueBaseClass { private Text textHolder; [Header("Text Options")] [SerializeField] private string input; [Header("Time parameters")] [SerializeField] private float delay; [Header("Sound")] [SerializeField] private AudioClip sound; private void Awake() { textHolder = GetComponent(); StartCoroutine(WriteText(input, textHolder, delay, sound)); } } }

Viewing all articles
Browse latest Browse all 2891

Trending Articles