AR初版可用阶段提交
This commit is contained in:
1 parent
dc8f8ceb80
commit
27d18d7d01
22 files changed
+4067
-3240
No files matched your search
@@ -260,6 +260,8 @@ public class MapListController : PFUIPanel
|
||||
favContainer = topContainer.Find("FavContainer");
|
||||
if (tdContainer != null)
|
||||
{
|
||||
tdContainer.Find("Gou").gameObject.SetActive(true);
|
||||
is3d = true;
|
||||
UIManager.AddEvent(tdContainer.gameObject, EventTriggerType.PointerClick, (b) =>
|
||||
{
|
||||
var gou = tdContainer.Find("Gou").gameObject;
|
||||
@@ -439,14 +441,14 @@ public class MapListController : PFUIPanel
|
||||
string ftname = "";
|
||||
string distance = "";
|
||||
List<string> hands = new List<string>();
|
||||
bool is3d = false,isFav = false,isMine = false,isRecent = false;
|
||||
bool is3d = true,isFav = false,isMine = false,isRecent = false;
|
||||
string sort = "",sortDire = "";
|
||||
//string name = "";
|
||||
//string name = "";
|
||||
async void GetList()
|
||||
{
|
||||
if (isEnd) return;
|
||||
var res = await ConfigHelper.mapApi.GetList(pageIndex, pageSize, ftname,distance,string.Join(",",hands),is3d,sort,sortDire,isFav,isMine,isRecent);
|
||||
var res = await ConfigHelper.mapApi.GetList(pageIndex, pageSize, ftname,distance,string.Join(",",hands),false,sort,sortDire,isFav,isMine,isRecent, is3d);
|
||||
if (res.result)
|
||||
{
|
||||
if (res.data.Count == 0)
|
||||
@@ -510,7 +512,7 @@ public class MapListController : PFUIPanel
|
||||
hands = new List<string>();
|
||||
var text = distanceOptions.GetComponent<Dropdown>().options[0].text;
|
||||
distance = MapFilterOptions.distanceDict[text];
|
||||
is3d = false;
|
||||
is3d = true;
|
||||
isFav = false;
|
||||
//empty ui
|
||||
searchInput.GetComponent<InputField>().text = string.Empty;
|
||||
@@ -534,7 +536,7 @@ public class MapListController : PFUIPanel
|
||||
var isfav = favContainer.Find("Gou").gameObject;
|
||||
isfav.SetActive(false);
|
||||
var is3dUI = tdContainer.Find("Gou").gameObject;
|
||||
is3dUI.SetActive(false);
|
||||
is3dUI.SetActive(true);
|
||||
|
||||
if (sorts != null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user