using Assets.Scripts.UI.Control; using System.Collections; using System.Collections.Generic; using UnityEngine; public class DeleteAccount : PFUIPanel { protected override void Awake() { PFUIInputField password = transform.Find("Content/Password").GetComponent(); UIManager.AddEvent(transform.Find("Content/Delete").gameObject, UnityEngine.EventSystems.EventTriggerType.PointerClick, b => { print(password.Text); }); UIManager.AddEvent(transform.Find("Content/Cancel").gameObject, UnityEngine.EventSystems.EventTriggerType.PointerClick, b => { Close(); }); } // Start is called before the first frame update void Start() { } }