Initial commit

This commit is contained in:
2025-04-08 11:31:35 +08:00
commit a5687dc451
13482 changed files with 5461110 additions and 0 deletions

View File

@ -0,0 +1,29 @@
using System.Collections;
using UnityEngine;
public class INT_NextINTCHATindex : MonoBehaviour
{
public INT_Chat Chat;
public int ChatIndexToRun;
public int SetIndexTo;
public bool RanChat;
private void Update()
{
if (Chat.FinishedText && Chat.CurrentIndex == ChatIndexToRun && !RanChat)
{
RanChat = true;
Chat.CurrentIndex = SetIndexTo;
StartCoroutine(ChatDelay());
}
}
private IEnumerator ChatDelay()
{
yield return new WaitForSeconds(0.02f);
Chat.RUN();
}
}