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