Commit baad3c26 authored by 神楽坂玲奈's avatar 神楽坂玲奈

clean

parent 106a1eb5
Pipeline #5195 canceled with stage
in 28 seconds
......@@ -23,7 +23,7 @@ public class Book : WindowServant2D
kacha = InterString.Get("卡差:");
changcha = InterString.Get("场差:");
xuecha = InterString.Get("血差:");
gameObject = createWindow(this, Program.I().new_ui_book);
gameObject = SetWindow(this, Program.I().new_ui_book);
texts = gameObject.GetComponentInChildren<lazyBookbtns>();
texts.textlist.scrollValue = 1;
texts.textlist.lockDrag = true;
......
......@@ -18,7 +18,7 @@ public class Setting : WindowServant2D
public override void initialize()
{
gameObject = createWindow(this, Program.I().new_ui_setting);
gameObject = SetWindow(this, Program.I().new_ui_setting);
setting = gameObject.GetComponentInChildren<LAZYsetting>();
UIHelper.registEvent(gameObject, "exit_", onClickExit);
UIHelper.registEvent(gameObject, "screen_", resizeScreen);
......
......@@ -37,7 +37,7 @@ public class WindowServant2D : Servant
Program.ShiftUIenabled(Program.I().ui_main_3d, false);
}
public static GameObject createWindow(Servant servant, GameObject mod)
public static GameObject SetWindow(Servant servant, GameObject mod)
{
var re = mod;
UIHelper.InterGameObject(re);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment