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,25 @@
using UnityEngine;
public class Longshot_AnimationEvents : MonoBehaviour
{
[SerializeField]
private AudioClip[] LongshotSoundClips;
public void Longshot_PlaySound(int index)
{
if (index >= 0 && index <= LongshotSoundClips.Length)
{
float volume = 0.4f;
if (ChatboxManager.Instance.ChatIsCurrentlyRunning)
{
volume = 0.25f;
}
CutsceneUtils.PlaySound(LongshotSoundClips[index], CutsceneUtils.DRH_MixerChannels.Effect, volume);
}
}
public void ShakeLongshot(float Intensity)
{
CutsceneUtils.ShakeTransform(base.transform, Intensity, 1f);
}
}