private void Reload() { if (!isLoading && img.sprite == null) { SpriteFactory.SetSpriteReal(img, this, imgName, false, alphaIn, reloadOverCallBack); } }
// 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); } }