private void Start() { _flashLight = FindObjectOfType <FlashLight>(); _flashLight.Switch(false); _flashLightUi = FindObjectOfType <FlashLightUi>(); }
private void Start() { _flashlight = FindObjectOfType <FlashLight>(); _flashLightUi = FindObjectOfType <FlashLightUi>(); _battery = FindObjectOfType <Battery>(); }