A bunch of stuff

This commit is contained in:
cblech
2025-01-05 02:16:26 +01:00
parent b4b3155378
commit d1d78adf00
32 changed files with 3581 additions and 286 deletions
+17
View File
@@ -0,0 +1,17 @@
using System.Collections.Generic;
using UnityEngine;
public class VoiceLineTrigger : MonoBehaviour
{
[SerializeField]
private AudioClip _clip;
[SerializeField]
private List<VoiceLinePlayer.CloseCaption> _cc;
[ContextMenu("Trigger")]
public void Trigger()
{
VoiceLinePlayer.Instance.PlayLine(_clip, _cc);
}
}