Beispiel #1
0
 void GetLoginInformation(AccountLoginResolution resolution)
 {
     if (resolution == AccountLoginResolution.SUCCESS)
     {
         SceneManager.LoadScene("2-GlobalObjects", LoadSceneMode.Additive);
         nakama.GetLoginInfo();
     }
 }
Beispiel #2
0
    private void HandleOnLoginAttempt(AccountLoginResolution resolution)
    {
        switch (resolution)
        {
        case AccountLoginResolution.SUCCESS:
            break;

        case AccountLoginResolution.FAILED:
            break;

        default:
            throw new System.Exception("AccountCreationResolution not implemented: " + resolution.ToString());
        }
    }
Beispiel #3
0
    private void HandleOnLoginAttempt(AccountLoginResolution resolution)
    {
        switch (resolution)
        {
        case AccountLoginResolution.SUCCESS:
            parentPopup.Close();
            debugPopupOpener.OpenPopup();
            break;

        case AccountLoginResolution.FAILED:
            debugPopupOpener.OpenPopup();
            break;

        default:
            throw new System.Exception("AccountCreationResolution not implemented: " + resolution.ToString());
        }
    }