using AdaptUI; using AppUI.Bluetooth; using AppUI.Manager.View; using AppUI.View.Component; using SmartBowSDK; using System; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.UI; using BLEAimhandler = AppUI.Bluetooth.AimHandler; using SdkAimDeviceInfo = SmartBowSDK.AimDeviceInfo; namespace AppUI.View.Home.DeviceView { /// content-has 下各玩家 ItemShow;显隐由 AimDeviceInfo 是否已记录决定。 [Serializable] public class DeviceViewPlayerSlot { public BluetoothPlayer player = BluetoothPlayer.FIRST_PLAYER; public DeviceView_ItemShow itemShow; } public class DeviceView : MonoBehaviour, MenuBackInterface { [Header("连接态 UI(未连接 content-not / 已连接 content-has)")] [SerializeField] GameObject ConnectNotParent; [SerializeField] GameObject ConnectHasParent; [Header("1P 设备信息(已连接态下刷新)")] [SerializeField] DeviceView_ItemShow itemShowP1; [Header("各玩家连接态 ItemShow(连接成功后显示对应子物体)")] [SerializeField] List playerSlots = new List(); [SerializeField] List