Esempio n. 1
0
        public GONavigationButton(GameObject obj)
            : base(obj)
        {
            KeyNavigation = obj.GetExactComponent <UIKeyNavigation>();
            ButtonGroup   = obj.GetExactComponent <ButtonGroupState>();

            Name       = new GOLabel(obj.GetChild(0));
            Highlight  = new GOSprite(obj.GetChild(1));
            Background = new GOThinBackground(obj.GetChild(2));
        }
Esempio n. 2
0
 public GOThinSpriteBackground(GameObject obj)
     : base(obj)
 {
     Body = new GOSprite(obj.GetChild(1));
 }
Esempio n. 3
0
 public GOThinBackground(GameObject obj)
     : base(obj)
 {
     Border = new GOSprite(obj.GetChild(0));
 }
Esempio n. 4
0
 public GOForegroundWidget(GameObject obj)
     : base(obj)
 {
     Highlight  = new GOSprite(obj.GetChild(0));
     Foreground = new GOSprite(obj.GetChild(1));
 }