예제 #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));
 }