Пример #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));
 }
Пример #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));
        }
Пример #3
0
 public PanelParty(GameObject obj)
     : base(obj)
 {
     Table    = new GOTable <Character>(obj.GetChild(0));
     Captions = new CaptionBackground(obj.GetChild(1));
 }
Пример #4
0
 public IconsWidget(GameObject obj)
     : base(obj)
 {
     Icons      = new GOTable <GOSprite>(obj.GetChild(0));
     Background = new GOThinBackground(obj.GetChild(1));
 }