void Start() { flashlight = FindObjectOfType <Flashlight>(); screamPlayer = FindObjectOfType <DaughterScream>(); chainsaw = FindObjectOfType <Chainsaw>(); hasCollided = false; }
void Start() { soundPlayer = GetComponentInParent <AudioSource>(); player = GameObject.FindGameObjectWithTag("Player"); fpsCamera = GameObject.FindGameObjectWithTag("MainCamera"); screamPlayer = FindObjectOfType <DaughterScream>(); isColliding = false; faucetClosed = false; }