Commit 873ec969 authored by nanahira's avatar nanahira

Merge branch 'master' of git.mycard.moe:mycard/YGOProUnity_V2

parents b1cf0b18 695be855
Pipeline #5249 failed
......@@ -444,9 +444,7 @@ public class Servant
MSentre(),
Vector3.zero,
true,
Program.I().ui_main_2d,
true,
new Vector3(Screen.height / 700f, Screen.height / 700f, Screen.height / 700f)
Program.I().ui_main_2d
);
UIHelper.InterGameObject(currentMSwindow);
UIHelper.trySetLableText(currentMSwindow, "hint_", hint);
......@@ -464,9 +462,7 @@ public class Servant
MSentre(),
Vector3.zero,
true,
Program.I().ui_main_2d,
true,
new Vector3(Screen.height / 700f, Screen.height / 700f, Screen.height / 700f)
Program.I().ui_main_2d
);
UIHelper.InterGameObject(currentMSwindow);
UIHelper.trySetLableText(currentMSwindow, "hint_", hint);
......@@ -485,9 +481,7 @@ public class Servant
MSentre(),
Vector3.zero,
true,
Program.I().ui_main_2d,
true,
new Vector3(Screen.height / 700f, Screen.height / 700f, Screen.height / 700f)
Program.I().ui_main_2d
);
UIHelper.InterGameObject(yesOrNoForce);
UIHelper.trySetLableText(yesOrNoForce, "hint_", hint);
......@@ -516,9 +510,7 @@ public class Servant
MSentre(),
Vector3.zero,
true,
Program.I().ui_main_2d,
true,
new Vector3(Screen.height / 700f, Screen.height / 700f, Screen.height / 700f)
Program.I().ui_main_2d
);
UIHelper.InterGameObject(currentMSwindow);
UIHelper.registEvent(currentMSwindow, "yes_", ES_RMSpremono, first);
......@@ -537,9 +529,7 @@ public class Servant
MSentre(),
Vector3.zero,
true,
Program.I().ui_main_2d,
true,
new Vector3(Screen.height / 700f, Screen.height / 700f, Screen.height / 700f)
Program.I().ui_main_2d
);
UIHelper.InterGameObject(currentMSwindow);
UIHelper.trySetLableText(currentMSwindow, "hint_", hint);
......@@ -559,9 +549,7 @@ public class Servant
MSentre(),
Vector3.zero,
true,
Program.I().ui_main_2d,
true,
new Vector3(Screen.height / 700f, Screen.height / 700f, Screen.height / 700f)
Program.I().ui_main_2d
);
var sp = UIHelper.getByName<UISprite>(currentMSwindow, "under");
sp.height = 70 + options.Count * 48;
......@@ -600,9 +588,7 @@ public class Servant
MSentre(),
Vector3.zero,
true,
Program.I().ui_main_2d,
true,
new Vector3(Screen.height / 700f, Screen.height / 700f, Screen.height / 700f)
Program.I().ui_main_2d
);
var sp = UIHelper.getByName<UISprite>(currentMSwindow, "under");
sp.height = 70 + UIHelper.get_zonghangshu(options.Count, 5) * 40;
......@@ -639,9 +625,7 @@ public class Servant
MSentre(),
Vector3.zero,
true,
Program.I().ui_main_2d,
true,
new Vector3(Screen.height / 700f, Screen.height / 700f, Screen.height / 700f)
Program.I().ui_main_2d
);
UIHelper.InterGameObject(currentMSwindow);
UIHelper.registEvent(currentMSwindow, "atk_", ES_RMSpremono, atk);
......@@ -680,9 +664,7 @@ public class Servant
MSentre(),
Vector3.zero,
true,
Program.I().ui_main_2d,
true,
new Vector3(Screen.height / 700f, Screen.height / 700f, Screen.height / 700f)
Program.I().ui_main_2d
);
UIHelper.InterGameObject(currentMSwindow);
UIHelper.registEvent(currentMSwindow, "jiandao_", ES_RMSpremono, jiandao);
......@@ -701,9 +683,7 @@ public class Servant
MSentre(),
Vector3.zero,
true,
Program.I().ui_main_2d,
true,
new Vector3(Screen.height / 700f, Screen.height / 700f, Screen.height / 700f)
Program.I().ui_main_2d
);
UIHelper.InterGameObject(currentMSwindow);
UIHelper.trySetLableText(currentMSwindow, "hint_", hint);
......@@ -728,9 +708,7 @@ public class Servant
MSentre(),
Vector3.zero,
true,
Program.I().ui_main_2d,
true,
new Vector3(Screen.height / 700f, Screen.height / 700f, Screen.height / 700f)
Program.I().ui_main_2d
);
UIHelper.InterGameObject(currentMSwindow);
UIHelper.getByName<UITexture>(currentMSwindow, "face_").mainTexture = UIHelper.getFace(name);
......
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