Exemple #1
0
 private void Reload()
 {
     if (!isLoading && img.sprite == null)
     {
         SpriteFactory.SetSpriteReal(img, this, imgName, false, alphaIn, reloadOverCallBack);
     }
 }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     if (eventGo != null)
     {
         SpriteFactory.SetSprite(img, spriteName, false, true, false, LoadOver, LoadOver);
     }
     else
     {
         SpriteFactory.SetSprite(img, spriteName, false, true, false, null, null);
     }
 }