private void Awake() { _inst = this; _gameObject = gameObject; _gameObject.SetActive(false); XBtn.onClick.AddListener(ClosePanel); Init(); }
public void OnClickSceneBtn() { ScenePanel.GetInst().OpenPanel(); }
private void OnDestroy() { _inst = null; }