Exemplo n.º 1
0
    public static void CreateDialog(ExampleAccountType exampleAccountType)
    {
        GameObject dialogObject         = new GameObject("Dialog");
        AnonymousDowngradeDialog dialog = dialogObject.AddComponent <AnonymousDowngradeDialog>();

        dialog.m_exampleAccountType = exampleAccountType;
    }
Exemplo n.º 2
0
    public static string getAccountLogin(ExampleAccountType exampleAccountType)
    {
        switch (exampleAccountType)
        {
        case ExampleAccountType.Universal_1:
        {
            return(getUniversal_1());
        }

        case ExampleAccountType.Universal_2:
        {
            return(getUniversal_2());
        }

        case ExampleAccountType.Email:
        {
            return(getEmail());
        }

        default:
        {
            throw new Exception();
        }
        }
    }
    public static void CreateDialog(ExampleAccountType exampleAccountType)
    {
        GameObject dialogObject           = new GameObject("Dialog");
        WrapperCreateAccountDialog dialog = dialogObject.AddComponent <WrapperCreateAccountDialog>();

        dialog.m_exampleAccountType = exampleAccountType;
    }
Exemplo n.º 4
0
    public static string getTypeName(ExampleAccountType exampleType)
    {
        switch (exampleType)
        {
        case ExampleAccountType.Anonymous:
        {
            return("Anonymous");
        }

        case ExampleAccountType.Universal_1:
        case ExampleAccountType.Universal_2:
        {
            return("Universal");
        }

        case ExampleAccountType.Email:
        {
            return("Email");
        }

        case ExampleAccountType.GooglePlay:
        {
            return("Google");
        }
        }

        return("");
    }
Exemplo n.º 5
0
    public static void MergIdentityRequestDialog(ExampleAccountType exampleAccountType)
    {
        GameObject          dialogObject = new GameObject("Dialog");
        MergeIdentityDialog dialog       = dialogObject.AddComponent <MergeIdentityDialog>();

        dialog.m_exampleAccountType = exampleAccountType;
        dialog.m_state = ResponseState.Setup;
    }