Пример #1
0
 void Awake()
 {
     layoutCreator = GetComponentInParent <LayoutCreator>();
     if (layoutCreator != null)
     {
         textColor = layoutCreator.textColor;
     }
 }
Пример #2
0
 void Reset()
 {
     Rescan();
     if (spacer == null)
     {
         spacer = LayoutCreator.CreateSpacer(gameObject);
     }
 }