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