private void RemoveListeners(PopUp_Methods functions)
 {
     functions.saveButton.GetComponent <PopupSave>().SaveButtonClicked       -= OnSave;
     functions.cancelButton.GetComponent <PopupCancel>().CancelButtonClicked -= OnCancel;
 }
예제 #2
0
 private void RemoveListeners(PopUp_Methods functions)
 {
     functions.saveButton.onClick.RemoveListener(OnSave);
     functions.cancelButton.onClick.RemoveListener(OnCancel);
 }
예제 #3
0
 public void SetParent(PopUp_Methods parent)
 {
     this.parent = parent;
 }