public RadioButtonGroup(Actor actor) : base(actor)
 {
     this.layoutGroup = RequireComponent <LayoutGroup>();
 }
Exemple #2
0
 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");
 }