This commit is contained in:
2025-12-13 18:18:28 +08:00
parent 84227a6686
commit e049485654
252 changed files with 80735 additions and 384 deletions
@@ -1,18 +1,32 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIHome_BY_SelectRoomLevelPanel : SubUIBase
{
// Start is called before the first frame update
void Start()
public Button MySelectRoom1;
public Button MySelectRoom2;
public Button MySelectRoom3;
public UIHome_BY_MySelectRoomPenel panel_UIHome_BY_MySelectRoomPenel;
public override void Awake()
{
base.Awake();
MySelectRoom1.onClick.AddListener(() =>
{
OnSelectRoom("");
});
MySelectRoom2.onClick.AddListener(() =>
{
OnSelectRoom("");
});
MySelectRoom3.onClick.AddListener(() =>
{
OnSelectRoom("");
});
}
// Update is called once per frame
void Update()
public void OnSelectRoom(string json)
{
panel_UIHome_BY_MySelectRoomPenel.Show(json);
}
}