Warp traps and tidying up the house

This commit is contained in:
2025-12-04 10:53:21 +00:00
parent e0c93be280
commit 00a433132b
38 changed files with 4036 additions and 192 deletions

View File

@@ -5,14 +5,14 @@ public class HauntedTV : MonoBehaviour
public AudioSource tvAudioSource, tvLaughAudioSource, watcherAudioSource;
public AudioClip tvLaughSound, tvSound, watcherLaughSound;
public Light tvLight;
private bool isOn = false;
void Start()
{
if(tvAudioSource == null) tvAudioSource = GetComponent<AudioSource>();
if (tvAudioSource == null) tvAudioSource = GetComponent<AudioSource>();
tvAudioSource.loop = true; // Make sure the static loops!
if(watcherAudioSource == null) watcherAudioSource = GetComponent<AudioSource>();
if (watcherAudioSource == null) watcherAudioSource = GetComponent<AudioSource>();
watcherAudioSource.loop = true; // Make sure the laugh loops!
if (tvLight != null) tvLight.enabled = false;
}