예제 #1
0
 public GOAllMenuPanel(GameObject obj)
     : base(obj)
 {
     BackButton       = new ButtonBack(obj.GetChild(0));
     AllTargetButton  = new ToggleButton(obj.GetChild(1));
     AutoAttackButton = new ToggleButton(obj.GetChild(2));
     RunButton        = new ButtonRun(obj.GetChild(3));
     StatusContainer  = new ContainerStatus(obj.GetChild(4));
     CommandPanel     = new PanelCommand(obj.GetChild(5));
     TargetPanel      = new PanelTarget(obj.GetChild(6));
     AbilityPanel     = new ScrollablePanel(obj.GetChild(7));
     ItemPanel        = new ScrollablePanel(obj.GetChild(8));
     PartyPanel       = new PanelParty(obj.GetChild(9));
     AutoAttackHUD    = new HUDAutoAttack(obj.GetChild(10));
 }
예제 #2
0
 void Awake()
 {
     instance = this;
 }