using System.Collections; using System.Collections.Generic; using UnityEngine; public class ResultListPanelController : PFUIPanel { // Start is called before the first frame update void Start() { UIManager.AddEvent(transform.Find("LTPanel/Button").gameObject, UnityEngine.EventSystems.EventTriggerType.PointerClick, b => { UIManager.ShowPrePanel(); }); UIManager.AddEvent(transform.Find("LTPanel/SwitchAccountButton").gameObject, UnityEngine.EventSystems.EventTriggerType.PointerClick, b => { UIManager.SwitchAccount(); }); } public override void Show() { base.Show(); transform.Find("RideResultList").GetComponent().Load(); } // Update is called once per frame void Update() { } }