示例#1
0
 public void SetItems(string info, string icon, InfoLauncher launcher, float dulation)
 {
     this.launcher  = launcher;
     sps.spriteName = icon;
     infoLabel.text = info;
     tp.ResetToBeginning();
     tp.PlayForward();
     Invoke("Despawn", dulation);
 }
        public bool verificarSeTemAttDoLauncher()
        {
            InfoLauncher info = JsonHelper.Deserialize <InfoLauncher>(requestServer(String.Concat(urlLauncherCheckUpdate, pathLauncherCheckUpdate, "version.json")));

            if (info != null)
            {
                newVersion = info.version;

                if (newVersion != version)
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
            else
            {
                return(false);
            }
        }