Пример #1
0
 private void Start()
 {
     photoTaker = FindObjectOfType <CameraInput>();
     visual     = FindObjectOfType <Simple2DVisualizer>();
     red        = FindObjectOfType <ReadColorRedinHSV>();
     green      = FindObjectOfType <ReadColorGreeninHSV>();
 }
 void Start()
 {
     photoTaker     = FindObjectOfType <CameraInput>();
     visual         = FindObjectOfType <Simple2DVisualizer>();
     green          = FindObjectOfType <ReadColorGreeninHSV>();
     red            = FindObjectOfType <ReadColorRedinHSV>();
     white          = FindObjectOfType <ReadColorWhiteinHSV>();
     black          = FindObjectOfType <ReadColorBlackinHSV>();
     yellow         = FindObjectOfType <ReadColorYellowinHSV>();
     FPSnumber.text = "0.25";
 }