public RadioButtonGroup(Actor actor) : base(actor) { this.layoutGroup = RequireComponent <LayoutGroup>(); }
public LayoutElement(Actor actor) : base(actor) { this.boundingRect = RequireComponent <BoundingRect>(); this.parentGroup = this.actor.GetComponentInImmediateParent <LayoutGroup>(); Debug.Assert(this.parentGroup != null, "LayoutElement does not have a LayoutGroup parent"); }