Skip to content

Instantly share code, notes, and snippets.

@maxoja
maxoja / ImageLoader.cs
Created July 15, 2018 08:09
Unity How to : Load Image from WebLink or URL
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ImageLoader : MonoBehaviour
{
public string url = "https://i.pinimg.com/originals/9e/1d/d6/9e1dd6458c89b03c506b384f537423d9.jpg";
public Renderer thisRenderer;
// automatically called when game started