C# Class Xsolla.ImageLoader

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: xsolla/xsolla-unity-sdk Class Usage Examples

Public Properties

Property Type Description
imageCashe Sprite>.Dictionary
imageUrl string

Public Methods

Method Description
LoadImage ( Image imageView, string url ) : void
Start ( ) : void
UploadImageToCurrentView ( string imageUrl ) : void

Private Methods

Method Description
Awake ( ) : void
RealLoadImage ( string url, UnityEngine imageView ) : IEnumerator

Method Details

LoadImage() public method

public LoadImage ( Image imageView, string url ) : void
imageView UnityEngine.UI.Image
url string
return void

Start() public method

public Start ( ) : void
return void

UploadImageToCurrentView() public method

public UploadImageToCurrentView ( string imageUrl ) : void
imageUrl string
return void

Property Details

imageCashe public static property

public static Dictionary imageCashe
return Sprite>.Dictionary

imageUrl public property

public string imageUrl
return string