Ejemplo n.º 1
0
    private void GetSprite()
    {
        GameObject   imageRequest = new GameObject("Image Request");
        ImageRequest newRequest   = imageRequest.AddComponent <ImageRequest>();

        newRequest.Init(recipe.ImageReferencePath, recipeImage);

        StartCoroutine(WaitForImage());
    }