Ejemplo n.º 1
0
        public static CreateAccountDialog Create(OnDialogCallback onCloseCB = null)
        {
            GameObject          goDlg = Instantiate(Resources.Load <GameObject>("Dialogs/CanvasCreateAccount"));
            CreateAccountDialog dlg   = goDlg.GetComponent <CreateAccountDialog>();

            dlg.m_OnDialogClosedCB = onCloseCB;

            return(dlg);
        }
Ejemplo n.º 2
0
        public void OnClick_CreateAccount()
        {
            m_LoginCanvasGroup.interactable = false;

            CreateAccountDialog.Create(OnCreateAccountDialogResponse);
        }