예제 #1
0
 private void Start()
 {
     _flashLight = FindObjectOfType <FlashLight>();
     _flashLight.Switch(false);
     _flashLightUi = FindObjectOfType <FlashLightUi>();
 }
예제 #2
0
 private void Start()
 {
     _flashlight   = FindObjectOfType <FlashLight>();
     _flashLightUi = FindObjectOfType <FlashLightUi>();
     _battery      = FindObjectOfType <Battery>();
 }