Exemplo n.º 1
0
 protected override void Awake()
 {
     base.Awake();
     manager = GetComponent <BinaryButtonsManager>();
     if (manager == null)
     {
         Debug.LogError("Component BinaryButtonsManager could not be found");
     }
 }
Exemplo n.º 2
0
 private void Awake()
 {
     manager = GetComponentInParent <BinaryButtonsManager>();
 }