Пример #1
0
 void Awake()
 {
     LayerKernel.WaitFor(0.1f, () => EventSystem.current.SetSelectedGameObject(fieldInput.gameObject));
     processorConsole  = LayerKernel.Get <ProcessorConsole> ();
     canvasGroup       = GetComponent <CanvasGroup> ();
     canvasGroup.alpha = 0;
 }
Пример #2
0
 void Awake()
 {
     timerCheckEventSystem = new Timer(0.1f, () => EventSystem.current.SetSelectedGameObject(fieldInput.gameObject));
     processorConsole      = Toolbox.Get <ProcessorConsole>();
     canvasGroup           = GetComponent <CanvasGroup>();
     canvasGroup.alpha     = 0;
 }