using UnityEngine;

public class FlashlightReEnableTrigger : MonoBehaviour
{
    public FlashlightController flashlight;

    private void OnTriggerEnter(Collider other)
    {
        if (other.CompareTag("Player"))
        {
            flashlight.RestoreFlashlight();
        }
    }
}