using System.Collections; using System.Collections.Generic; using UnityEngine; public class TWS_UIPanel : MonoBehaviour { private void Start() { Initialize(); } private void OnDestroy() { OnPanelClosed(); } public virtual void Initialize() { } public virtual void OnPanelClosed() { } }