Exemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     if (bcgImgArgs != null)
     {
         bcgImageScript.SetImage(bcgImgArgs.imgName, bcgImgArgs.bytes);
         bcgImgArgs = null;
     }
 }
Exemplo n.º 2
0
    private void StartLoadBcgImage(string gameStoreName, string imgName, EventHandler <ImgLoaderArgs> OnFinished)
    {
        ImgLoaderArgs args = new ImgLoaderArgs
        {
            imgName = imgName,
            bytes   = PersistanceHelper.GetImage(gameStoreName, imgName)
        };

        OnFinished(null, args);
    }
Exemplo n.º 3
0
 private void LoadBcgImage(object sender, ImgLoaderArgs e)
 {
     bcgImgArgs = e;
 }