diff --git a/xiaofang/Assets/Scenes/Schedule_03.unity b/xiaofang/Assets/Scenes/Schedule_03.unity index 8d876ac8..993c3a6d 100644 --- a/xiaofang/Assets/Scenes/Schedule_03.unity +++ b/xiaofang/Assets/Scenes/Schedule_03.unity @@ -10315,6 +10315,18 @@ PrefabInstance: propertyPath: jueseChoicePanel value: objectReference: {fileID: 1799705462} + - target: {fileID: 2102021661377337229, guid: 86668fbe8407a8741bb903177bc93fdb, type: 3} + propertyPath: showImage.Array.size + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 2102021661377337229, guid: 86668fbe8407a8741bb903177bc93fdb, type: 3} + propertyPath: showImage.Array.data[0] + value: + objectReference: {fileID: 21300000, guid: 586c4520a2c6c8d4e9bac48ed427f617, type: 3} + - target: {fileID: 2102021661377337229, guid: 86668fbe8407a8741bb903177bc93fdb, type: 3} + propertyPath: showImage.Array.data[1] + value: + objectReference: {fileID: 21300000, guid: 0905bd7a17d75af4985c19c47bfe7fc7, type: 3} - target: {fileID: 4764228630647718977, guid: 86668fbe8407a8741bb903177bc93fdb, type: 3} propertyPath: m_AnchorMax.y value: 0 diff --git a/xiaofang/Assets/Script/Scheduled_03/Panel.cs b/xiaofang/Assets/Script/Scheduled_03/Panel.cs index f8f19e97..c1741f68 100644 --- a/xiaofang/Assets/Script/Scheduled_03/Panel.cs +++ b/xiaofang/Assets/Script/Scheduled_03/Panel.cs @@ -10,6 +10,7 @@ using UnityEngine; using UnityEngine.Events; using UnityEngine.EventSystems; using UnityEngine.SceneManagement; +using UnityEngine.SocialPlatforms; using UnityEngine.UI; public class SelectedInfo @@ -96,6 +97,8 @@ public class Panel : MonoBehaviour // Start is called before the first frame update void Start() { + sureBtn.interactable = false; + ChangeImage(sureBtn.interactable); selectedInfo = new SelectedInfo(); InstantiateToggle(); } @@ -112,18 +115,29 @@ public class Panel : MonoBehaviour //动态加载人员 public async void DynamicLoadingPeople() { - PlayerListResponse playerListResponse=await userInfo.GetPlayerList(); - foreach(PlayerListData player in playerListResponse.data) + for(int i=0;i<10;i++) { GameObject item = GameObject.Instantiate(peoplePrefab, peopleCountent); PeopleItem peopleItem = item.GetComponent(); - peopleItem.nameText.text = player.NickName; - peopleItem.peopleId = player.UserId; + peopleItem.nameText.text = "角色1"; + peopleItem.peopleId = "0"; Button peoplebutton = item.transform.Find("TextBtn").GetComponent