private void Start() { ModalDialog.instance = this; footer = false; is_dialog = true; draggable = false; }
protected ModalDialog show_modal_dialog(DialogContent content) { ModalDialog dialog = gameObject.AddOrGetComponent <ModalDialog>(); dialog.content = content; dialog.skin = this.skin; return(dialog); }
//close instance of dialog if it exists. protected void close_dialog() { DryDialog.close(); ModalDialog.close(); }