Пример #1
0
 private void Start()
 {
     buttonImage   = GetComponent <Image>();
     gameUIHandler = FindObjectOfType <GameUIHandler>();
     defaultColor  = buttonImage.color;
 }
 private void Start()
 {
     gameUIHandler = FindObjectOfType <GameUIHandler>();
     DisableCanvases();
 }