修改细节
This commit is contained in:
1 parent
9f19e951cc
commit
7a1042d184
14 files changed
+1889
-1314
No files matched your search
@@ -13,7 +13,7 @@ public class RaceHomeScript : RaceScript
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
private ScrollRect scroll;
|
||||
private Transform content,rightContainer,leftContainer,btnGoList;
|
||||
private Transform content,rightContainer,leftContainer,btnGoList,btnGoListTop;
|
||||
private float contentSize;
|
||||
private int count;
|
||||
private Button L, R;
|
||||
@@ -79,6 +79,14 @@ public class RaceHomeScript : RaceScript
|
||||
UIManager.ShowRaceListPanel();
|
||||
});
|
||||
}
|
||||
btnGoListTop = transform.Find("BtnGoListTop");
|
||||
if (btnGoListTop != null)
|
||||
{
|
||||
UIManager.AddEvent(btnGoListTop.gameObject, UnityEngine.EventSystems.EventTriggerType.PointerClick, b =>
|
||||
{
|
||||
UIManager.ShowRaceListPanel();
|
||||
});
|
||||
}
|
||||
}
|
||||
bool isEnter = false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user