Ejemplo n.º 1
0
 public RadioButtonGroup(Actor actor) : base(actor)
 {
     this.layoutGroup = RequireComponent <LayoutGroup>();
 }
Ejemplo n.º 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");
 }