예제 #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);
     }
 }