public void Initialization() { _flashLightModel = Object.FindObjectOfType <FlashLightModel>(); _flashLightUi = Object.FindObjectOfType <FlashLightUi>(); }
public void Init() { _flashLightModel = GameObject.FindObjectOfType <FlashLightModel>(); _flashLightUi = GameObject.FindObjectOfType <FlashLightUi>(); }
private void Start() { _flashLight = FindObjectOfType <FlashLight>(); _flashLight.Switch(false); _flashLightUi = FindObjectOfType <FlashLightUi>(); }
private void Start() { _flashlight = FindObjectOfType <FlashLight>(); _flashLightUi = FindObjectOfType <FlashLightUi>(); _battery = FindObjectOfType <Battery>(); }