Warp traps and tidying up the house
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user