fix:1、UI更换(全部更换完)
This commit is contained in:
@@ -8,6 +8,7 @@ namespace FGUI.ZM_Setting_07
|
||||
public partial class btn_item_head : GButton
|
||||
{
|
||||
public Controller head_select;
|
||||
public Controller setting;
|
||||
public GButton head;
|
||||
public const string URL = "ui://8rcjs2ucsebxj";
|
||||
|
||||
@@ -21,7 +22,8 @@ namespace FGUI.ZM_Setting_07
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
head_select = GetControllerAt(0);
|
||||
head = (GButton)GetChildAt(1);
|
||||
setting = GetControllerAt(1);
|
||||
head = (GButton)GetChildAt(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,6 +8,7 @@ namespace FGUI.ZM_Setting_07
|
||||
public partial class com_setting : GComponent
|
||||
{
|
||||
public Controller gift_switch;
|
||||
public Controller isHall;
|
||||
public GButton btn_back;
|
||||
public btn_sound_on_off btn_sound;
|
||||
public btn_music_on_off btn_music;
|
||||
@@ -22,6 +23,8 @@ namespace FGUI.ZM_Setting_07
|
||||
public btn_menu btn_us;
|
||||
public GButton btn_back_home;
|
||||
public btn_menu btn_language;
|
||||
public com_edit_name edit_name;
|
||||
public btn_item_head btn_head;
|
||||
public const string URL = "ui://8rcjs2ucsebx10";
|
||||
|
||||
public static com_setting CreateInstance()
|
||||
@@ -34,20 +37,23 @@ namespace FGUI.ZM_Setting_07
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
gift_switch = GetControllerAt(0);
|
||||
btn_back = (GButton)GetChildAt(1);
|
||||
btn_sound = (btn_sound_on_off)GetChildAt(2);
|
||||
btn_music = (btn_music_on_off)GetChildAt(3);
|
||||
btn_privacy = (btn_menu)GetChildAt(4);
|
||||
btn_terms = (btn_menu)GetChildAt(5);
|
||||
btn_official = (btn_menu)GetChildAt(6);
|
||||
btn_restore = (btn_menu)GetChildAt(7);
|
||||
text_uid = (GTextField)GetChildAt(8);
|
||||
text_version = (GTextField)GetChildAt(9);
|
||||
title = (GTextField)GetChildAt(10);
|
||||
com_gold = (GButton)GetChildAt(11);
|
||||
btn_us = (btn_menu)GetChildAt(12);
|
||||
btn_back_home = (GButton)GetChildAt(13);
|
||||
btn_language = (btn_menu)GetChildAt(14);
|
||||
isHall = GetControllerAt(1);
|
||||
btn_back = (GButton)GetChildAt(2);
|
||||
btn_sound = (btn_sound_on_off)GetChildAt(3);
|
||||
btn_music = (btn_music_on_off)GetChildAt(4);
|
||||
btn_privacy = (btn_menu)GetChildAt(5);
|
||||
btn_terms = (btn_menu)GetChildAt(6);
|
||||
btn_official = (btn_menu)GetChildAt(7);
|
||||
btn_restore = (btn_menu)GetChildAt(8);
|
||||
text_uid = (GTextField)GetChildAt(9);
|
||||
text_version = (GTextField)GetChildAt(10);
|
||||
title = (GTextField)GetChildAt(11);
|
||||
com_gold = (GButton)GetChildAt(12);
|
||||
btn_us = (btn_menu)GetChildAt(13);
|
||||
btn_back_home = (GButton)GetChildAt(14);
|
||||
btn_language = (btn_menu)GetChildAt(15);
|
||||
edit_name = (com_edit_name)GetChildAt(16);
|
||||
btn_head = (btn_item_head)GetChildAt(17);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user