Ejemplo n.º 1
0
 public PanelTarget(GameObject obj)
     : base(obj)
 {
     PlayerTable = new GOTable <GONavigationButton>(obj.GetChild(0));
     EnemyTable  = new GOTable <GONavigationButton>(obj.GetChild(1));
     Buttons     = new ButtonPair(obj.GetChild(2));
     PreventArea = new GOWidgetButton(obj.GetChild(3));
     Captions    = new CaptionBackground(obj.GetChild(4));
 }
Ejemplo n.º 2
0
        public GOSubPanel(GameObject obj)
            : base(obj)
        {
            Panel                = obj.GetExactComponent <UIPanel>();
            ScrollView           = obj.GetExactComponent <UIScrollView>();
            Rigidbody            = obj.GetExactComponent <Rigidbody>();
            SnapDragScrollView   = obj.GetExactComponent <SnapDragScrollView>();
            RecycleListPopulator = obj.GetExactComponent <RecycleListPopulator>();

            Table = new GOTable <GOBase>(obj.GetChild(0));
        }
Ejemplo n.º 3
0
 public PanelParty(GameObject obj)
     : base(obj)
 {
     Table    = new GOTable <Character>(obj.GetChild(0));
     Captions = new CaptionBackground(obj.GetChild(1));
 }
Ejemplo n.º 4
0
 public IconsWidget(GameObject obj)
     : base(obj)
 {
     Icons      = new GOTable <GOSprite>(obj.GetChild(0));
     Background = new GOThinBackground(obj.GetChild(1));
 }