tcp库更新&附近人下拉调整
This commit is contained in:
1 parent
3de8b1d555
commit
bb08b6b762
4 files changed
+14
-2
No files matched your search
@@ -1,6 +1,7 @@
|
||||
using Assets.Scenes.Ride.Scripts.Model;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Assets.Scenes.Ride.Scripts
|
||||
@@ -24,7 +25,7 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
|
||||
Title = transform.Find("Title").GetComponent<Text>();
|
||||
OnlineUserNum = transform.Find("NearByView/OnlineUserNum").GetComponent<Text>();
|
||||
pageSize = 999;//开启无线下拉
|
||||
pageSize = 5;//开启无线下拉
|
||||
}
|
||||
protected override void CreateList()
|
||||
{
|
||||
@@ -49,6 +50,7 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
Create(nearList[i]);
|
||||
}
|
||||
}
|
||||
|
||||
private void Create(NearRiderModel item)
|
||||
{
|
||||
var rankingList = FindObjectsOfType<NearByItemScript>();
|
||||
|
||||
Reference in new issue
Block a user