// Start is called before the first frame update void Start() { timer = alive_duration; Debug.Log("Hell from Pumkin"); flashLight = GameObject.Find("Spot Light"); flashlightUI = GameObject.Find("Flashlight").GetComponent <FlashlightUI>(); }
// Start is called before the first frame update void Start() { timer = alive_duration; Debug.Log("Hell from Pumkin"); flashLight = GameObject.Find("Spot Light"); flashlightUI = GameObject.Find("Flashlight").GetComponent <FlashlightUI>(); }