UI史山更改

This commit is contained in:
lq 2024-11-26 18:24:12 +08:00
parent c044a92f14
commit 4867a2ac6a
2 changed files with 1708 additions and 1053 deletions

File diff suppressed because it is too large Load Diff

View File

@ -91,6 +91,10 @@ public class Panel : MonoBehaviour
{ {
SceneManager.LoadScene("Schedule_a_walkthrough"); SceneManager.LoadScene("Schedule_a_walkthrough");
} }
public void ClickCloseBtn()
{
transform.gameObject.SetActive(false);
}
@ -136,11 +140,7 @@ public class Panel : MonoBehaviour
} }
else if (buttonText != null && buttonText.tag == Tags.scene)//这里可以获取标签为场景的信息 else if (buttonText != null && buttonText.tag == Tags.scene)//这里可以获取标签为场景的信息
{ {
//PlateInfo plateInfo = new PlateInfo();
scene = buttonText.text; scene = buttonText.text;
//managerPanel.platesList.Add(plateInfo);
//plateInfo.plateinfoText = plateInfo.transform.GetComponent<Text>();
//plateInfo.plateinfoText.text = scene;
Debug.Log(scene); Debug.Log(scene);
} }
else if (buttonText != null && buttonText.tag == Tags.duty)//这里可以获取标签为职责的信息 else if (buttonText != null && buttonText.tag == Tags.duty)//这里可以获取标签为职责的信息