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