SmartImage 0.0.2-beta | Loading Indicators
- Added loading indicators
- Will show the static or animated frames assigned to that property as an image is loading. Great for larger images and GIFs.
Usage:
[SerializeField]
private SmartImageManager _smartImageManager;
[SerializeField]
private Sprite[] _loadingIndicatorFrames;
private void Awake()
{
// Must be at least one sprite.
_smartImageManager.LoadingIndicator = SmartSprite.Create(_loadingIndicatorFrames, 0.5f);
}