using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Corei7Img : MonoBehaviour {
public Image img1, img2;
void Update() {
img1.GetComponent<Image>().sprite = Resources.Load("core - i7_01", typeof(Sprite)) as Sprite;
img2.GetComponent<Image>().sprite = Resources.Load("core - i7_02", typeof(Sprite)) as Sprite;
}
}
using UnityEngine.UI;
public Image img1;
void Update(){
img1.sprite = Resources.Load<Sprite>("2");
}