Beispiel #1
0
 /// <summary>
 /// 初始化UI
 /// </summary>
 public static void InitUI()
 {
     GRoot.inst.SetContentScaleFactor(1334, 750, UIContentScaler.ScreenMatchMode.MatchWidthOrHeight);
     // 初始化UI资源
     UIPackage.AddPackage("UI/Main");
     MainBinder.BindAll();
 }
Beispiel #2
0
 public UIBuildingLevelUp()
 {
     MainBinder.BindAll();
     CommonBinder.BindAll();
     UIPackage.AddPackage("UI/Common");
     UIPackage.AddPackage("UI/Main");
 }
Beispiel #3
0
 public UIBagView()
 {
     MainBinder.BindAll();
     CommonBinder.BindAll();
     BagBinder.BindAll();
     UIPackage.AddPackage("UI/Common");
     UIPackage.AddPackage("UI/Main");
     UIPackage.AddPackage("UI/Bag");
 }
Beispiel #4
0
 public UIMain()
 {
     CommonBinder.BindAll();
     MainBinder.BindAll();
     PupilBinder.BindAll();
     UIPackage.AddPackage("UI/Common");
     UIPackage.AddPackage("UI/Main");
     UIPackage.AddPackage("UI/Pupil");
 }
Beispiel #5
0
 public UIBuildingOpen()
 {
     UIPackage.AddPackage("UI/Common");
     UIPackage.AddPackage("UI/Main");
     MainBinder.BindAll();
 }
Beispiel #6
0
 public UIPupilView()
 {
     UIPackage.AddPackage("UI/Common");
     UIPackage.AddPackage("UI/Main");
     MainBinder.BindAll();
 }