Esempio n. 1
0
 public ValueWidget(GameObject obj)
     : base(obj)
 {
     Value      = new GOLabel(obj.GetChild(0));
     Slash      = new GOLabel(obj.GetChild(1));
     MaxValue   = new GOLabel(obj.GetChild(2));
     Background = new GOThinBackground(obj.GetChild(3));
 }
Esempio n. 2
0
        public GONavigationButton(GameObject obj)
            : base(obj)
        {
            KeyNavigation = obj.GetExactComponent <UIKeyNavigation>();
            GroupState    = obj.GetExactComponent <ButtonGroupState>();

            Label      = new GOLabel(obj.GetChild(0));
            Highlight  = new GOSprite(obj.GetChild(1));
            Background = new GOThinBackground(obj.GetChild(2));
        }
Esempio n. 3
0
 public IconsWidget(GameObject obj)
     : base(obj)
 {
     Icons      = new GOTable <GOSprite>(obj.GetChild(0));
     Background = new GOThinBackground(obj.GetChild(1));
 }