Exemplo 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));
        }
Exemplo n.º 2
0
 public GOThinSpriteBackground(GameObject obj)
     : base(obj)
 {
     Body = new GOSprite(obj.GetChild(1));
 }
Exemplo n.º 3
0
 public GOThinBackground(GameObject obj)
     : base(obj)
 {
     Border = new GOSprite(obj.GetChild(0));
 }
Exemplo n.º 4
0
 public GOForegroundWidget(GameObject obj)
     : base(obj)
 {
     Highlight  = new GOSprite(obj.GetChild(0));
     Foreground = new GOSprite(obj.GetChild(1));
 }