// Use this for initialization
    void Start()
    {
        sceneLightCount = 0;
        allLights = new Light[50];
        spotLight = GetComponentInChildren<Flashlight>();
        faceUiLarge = GameObject.Find("FaceUILarge");
        largeUiText = faceUiLarge.GetComponentInChildren<Text>();
        faceUiLarge.SetActive(false);

        faceUiSmall = GameObject.Find("FaceUISmall");
        smallUiText = faceUiSmall.GetComponentInChildren<Text>();
        faceUiSmall.SetActive(false);

        faceUiHint = GameObject.Find("FaceUIHint");
        hintText = faceUiHint.GetComponentInChildren<Text>();
        faceUiHint.SetActive(false);

        heartBeat = GameObject.Find("Heartbeat").GetComponent<AudioSource>();

        SanitySystem.init(this);

        ghouls = GameObject.FindGameObjectsWithTag("ghoul");
        foreach (GameObject ghoul in ghouls)
        {
            ghoul.SetActive(false);
        }

        GameObject[] allItems = GameObject.FindGameObjectsWithTag("item");

        foreach(GameObject go in allItems)
        {
            if(go.GetComponentInChildren<Light>() != null)
            {
                allLights[sceneLightCount++] = go.GetComponentInChildren<Light>();
            }
        }
        Debug.Log("Found a total of " + sceneLightCount + " lights in the scene.");

        spotLight.toggleLight();
    }