加弹框。修改连接设备样式。
This commit is contained in:
1 parent
07feba912c
commit
5156473bb2
62 files changed
+4963
-5447
No files matched your search
@@ -32,9 +32,11 @@ public class ConnectDeviceModal : PFUIPanel
|
||||
base.Awake();
|
||||
|
||||
deviceList = new Dictionary<ushort, DeviceItem>();
|
||||
var closeBtn = this.transform.Find("CloseBtn");
|
||||
Logo = this.transform.Find("Logo").GetComponent<Image>();
|
||||
content = this.transform.Find("Panel").Find("Scroll View").Find("Viewport").Find("Content").GetComponent<VerticalLayoutGroup>();
|
||||
|
||||
var container = this.transform.Find("GameObject");
|
||||
var closeBtn = container.Find("CloseBtn");
|
||||
Logo = container.Find("Logo").GetComponent<Image>();
|
||||
content = container.Find("Panel").Find("Scroll View").Find("Viewport").Find("Content").GetComponent<VerticalLayoutGroup>();
|
||||
|
||||
UIManager.AddEvent(closeBtn.gameObject, EventTriggerType.PointerClick, new UnityEngine.Events.UnityAction<BaseEventData>(e =>
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user