using System.Collections; using System.Collections.Generic; using UnityEngine; namespace LoyalSoftSDK { public class PolicyPanel : BaseUIForm { private GameObject backBtn; // Use this for initialization void Start() { curUIType = UIType.Normal; backBtn = this.transform.Find("BackPanel/BackButton").gameObject; EventTriggerListener.Get(backBtn).onClick = OnBackBtnClick; } private void OnBackBtnClick(GameObject go) { base.GoBackParent(); } // Update is called once per frame void Update() { } } }