fix Voice.LaughterScore not being hooked up (#3464)

This commit is contained in:
Layla
2025-11-27 15:26:23 +00:00
committed by GitHub
parent 5c58563b6d
commit a6794e92af

View File

@@ -55,7 +55,7 @@ public class Voice : Component
/// <summary>
/// Laughter score for the current audio frame, between 0 and 1
/// </summary>
public float LaughterScore { get; private set; }
public float LaughterScore => sound.IsValid() ? sound.LipSync.LaughterScore : 0;
private bool recording = false;
private SoundStream soundStream;