Exemplo n.º 1
0
    void Awake()
    {
        if (webservice == null)
        {
            webservice = this;
        }

        ServiceConverter = new LitJsonFxJsonObjectConverter();

        if (this.GetComponent <WebServiceUrlSwitcher>())
        {
            WebServiceUrlSwitcher switcher = this.GetComponent <WebServiceUrlSwitcher>();
            if (switcher.isUsed)
            {
                cloudGoodsURL = switcher.preferredURL;
                Debug.Log("Changed Preffered URL to " + cloudGoodsURL);
            }
        }
    }
Exemplo n.º 2
0
    void Awake()
    {
        if (webservice == null)
        {
            webservice = this;
        }

        ServiceConverter = new LitJsonFxJsonObjectConverter();

        if (this.GetComponent<WebServiceUrlSwitcher>())
        {
            WebServiceUrlSwitcher switcher = this.GetComponent<WebServiceUrlSwitcher>();
            if (switcher.isUsed)
            {
                cloudGoodsURL = switcher.preferredURL;
                Debug.Log("Changed Preffered URL to " + cloudGoodsURL);
            }
        }
    }
Exemplo n.º 3
0
 void Awake()
 {
     WebserviceCalls.webservice = this;
     ServiceConverter = new LitJsonFxJsonObjectConverter();
 }
 void Awake()
 {
     ServiceConverter = new LitJsonFxJsonObjectConverter();
 }
Exemplo n.º 5
0
 void Awake()
 {
     WebserviceCalls.webservice = this;
     ServiceConverter           = new LitJsonFxJsonObjectConverter();
 }