修改细节
This commit is contained in:
1 parent
aaef57c0b0
commit
52fd841486
7 files changed
+19
-14
No files matched your search
@@ -79,12 +79,16 @@ public class ResultListController : MonoBehaviour
|
||||
GetList(1);
|
||||
}
|
||||
|
||||
public void HideError()
|
||||
public void Load()
|
||||
{
|
||||
if (scroll!=null)
|
||||
if (contents != null && contents.Length == 2)
|
||||
{
|
||||
scroll.transform.Find("Error").gameObject.SetActive(false);
|
||||
Refresh(contents[scrollIndex]);
|
||||
}
|
||||
//if (scroll!=null)
|
||||
//{
|
||||
// scroll.transform.Find("Error").gameObject.SetActive(false);
|
||||
//}
|
||||
}
|
||||
|
||||
private void OnEndDrag(BaseEventData e)
|
||||
@@ -143,7 +147,10 @@ public class ResultListController : MonoBehaviour
|
||||
else
|
||||
{
|
||||
//contents[index];
|
||||
scroll.transform.Find("Error").gameObject.SetActive(true);
|
||||
if (!sindex.HasValue ||(sindex.HasValue && sindex.Value == scrollIndex))
|
||||
{
|
||||
scroll.transform.Find("Error").gameObject.SetActive(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user