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