void Awake() { layoutCreator = GetComponentInParent <LayoutCreator>(); if (layoutCreator != null) { textColor = layoutCreator.textColor; } }
void Reset() { Rescan(); if (spacer == null) { spacer = LayoutCreator.CreateSpacer(gameObject); } }