Load streamingassets from non coroutine method?
<pre><code>public class ImageLoader : MonoBehaviour  {
private Texture2D _texInMemory;  
public Texture2D GetImage(string fileName)
{
    StartCoroutine(LoadImage(fileName));  
    return _texInMemory;
}

IEnumerator LoadImage(string fileName)
{
    var path = somestring;
    WWW uri = new WWW(path);
    yield return uri;

    _texInMemory = uri.texture;`enter code here`
}
}
</code></pre>

<p>My question is what line i need to add in <code>GetImage</code> method / <code>ImageLoader</code> class so another script can get _texInMemory from <code>GetImage</code> Method ?</p>