Commit 6ffc6ff3 authored by 神楽坂玲奈's avatar 神楽坂玲奈

ui_windows_2d

parent b3960089
...@@ -22,7 +22,6 @@ public class Program : MonoBehaviour ...@@ -22,7 +22,6 @@ public class Program : MonoBehaviour
[Header("容器")] [Header("容器")]
public GameObject ui_back_ground_2d; public GameObject ui_back_ground_2d;
public GameObject ui_windows_2d; public GameObject ui_windows_2d;
public Camera camera_windows_2d;
public GameObject ui_main_2d; public GameObject ui_main_2d;
public Camera camera_main_2d; public Camera camera_main_2d;
public GameObject ui_container_3d; public GameObject ui_container_3d;
...@@ -37,6 +36,15 @@ public class Program : MonoBehaviour ...@@ -37,6 +36,15 @@ public class Program : MonoBehaviour
public GameObject new_ui_search; public GameObject new_ui_search;
public gameInfo new_ui_gameInfo; public gameInfo new_ui_gameInfo;
[Header("ui_windows_2d")]
public Camera camera_windows_2d;
public GameObject new_ui_menu;
public GameObject remaster_deckManager;
public GameObject new_ui_selectServer;
public GameObject remaster_replayManager;
public GameObject remaster_puzzleManager;
public GameObject new_ui_aiRoom;
[Header("Prefab")] public facer face; [Header("Prefab")] public facer face;
public AudioClip zhankai; public AudioClip zhankai;
public GameObject mod_winExplode; public GameObject mod_winExplode;
...@@ -104,10 +112,9 @@ public class Program : MonoBehaviour ...@@ -104,10 +112,9 @@ public class Program : MonoBehaviour
public GameObject mod_ocgcore_ss_p_sum_effect; public GameObject mod_ocgcore_ss_p_sum_effect;
public GameObject mod_ocgcore_ss_dark_hole; public GameObject mod_ocgcore_ss_dark_hole;
public GameObject mod_ocgcore_ss_link_mark; public GameObject mod_ocgcore_ss_link_mark;
public GameObject new_ui_menu;
public GameObject new_ui_setting; public GameObject new_ui_setting;
public GameObject new_ui_book; public GameObject new_ui_book;
public GameObject new_ui_selectServer;
public GameObject new_ui_searchDetailed; public GameObject new_ui_searchDetailed;
public GameObject new_ui_cardOnSearchList; public GameObject new_ui_cardOnSearchList;
public GameObject new_bar_changeSide; public GameObject new_bar_changeSide;
...@@ -122,14 +129,10 @@ public class Program : MonoBehaviour ...@@ -122,14 +129,10 @@ public class Program : MonoBehaviour
public GameObject new_ui_textMesh; public GameObject new_ui_textMesh;
public GameObject new_ui_superButton; public GameObject new_ui_superButton;
public GameObject new_ui_superButtonTransparent; public GameObject new_ui_superButtonTransparent;
public GameObject new_ui_aiRoom;
public GameObject new_ocgcore_field; public GameObject new_ocgcore_field;
public GameObject new_ocgcore_chainCircle; public GameObject new_ocgcore_chainCircle;
public GameObject new_ocgcore_wait; public GameObject new_ocgcore_wait;
public GameObject new_mouse; public GameObject new_mouse;
public GameObject remaster_deckManager;
public GameObject remaster_replayManager;
public GameObject remaster_puzzleManager;
public GameObject remaster_tagRoom; public GameObject remaster_tagRoom;
public GameObject remaster_room; public GameObject remaster_room;
public GameObject ES_1; public GameObject ES_1;
......
...@@ -80,14 +80,7 @@ public class WindowServantSP : Servant ...@@ -80,14 +80,7 @@ public class WindowServantSP : Servant
public void createWindow(GameObject mod) public void createWindow(GameObject mod)
{ {
gameObject = create gameObject = mod;
(
mod,
Vector3.zero,
Vector3.zero,
false,
Program.I().ui_windows_2d
);
UIHelper.InterGameObject(gameObject); UIHelper.InterGameObject(gameObject);
var v = new Vector3(); var v = new Vector3();
v.x = Mathf.Clamp(Config.getFloat("x_" + gameObject.name), -0.5f, 0.5f) * Screen.width; v.x = Mathf.Clamp(Config.getFloat("x_" + gameObject.name), -0.5f, 0.5f) * Screen.width;
......
This diff is collapsed.
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