/// <summary> /// Add phone to the user /// </summary> private void OnLinkPhoneClicked() { PanelController panelController = MainController.Instance.PanelController; PhoneSignInPanel.LoginAction = PhoneSignInPanel.LoginActions.Link; panelController.OpenPanel(panelController.GetComponentInChildren <PhoneSignInPanel>()); }
private void OnPhoneLoginClicked() { PanelController panelController = mainController.PanelController; PhoneSignInPanel.LoginAction = PhoneSignInPanel.LoginActions.SignIn; panelController.OpenPanel(panelController.GetComponentInChildren <PhoneSignInPanel>()); }
/// <summary> /// From anonymous to email log in /// </summary> private void OnUpgradeAccountClicked() { PanelController panelController = MainController.Instance.PanelController; panelController.OpenPanel(panelController.GetComponentInChildren <UpgradeAccountPanel>()); }
private void OnEmailLoginClicked() { PanelController panelController = mainController.PanelController; panelController.OpenPanel(panelController.GetComponentInChildren <EmailSignInPanel>() as AbstractPanel); }