Пример #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));
        }
Пример #2
0
 public GOThinSpriteBackground(GameObject obj)
     : base(obj)
 {
     Body = new GOSprite(obj.GetChild(1));
 }
Пример #3
0
 public GOThinBackground(GameObject obj)
     : base(obj)
 {
     Border = new GOSprite(obj.GetChild(0));
 }
Пример #4
0
 public GOForegroundWidget(GameObject obj)
     : base(obj)
 {
     Highlight  = new GOSprite(obj.GetChild(0));
     Foreground = new GOSprite(obj.GetChild(1));
 }