12345678910111213141516171819202122 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.UI;
- public class SetImageV : MonoBehaviour
- {
- public Image image;
- public Image backGround;
- public Image selectImage;
- public void SetImage( Sprite sprite)
- {
-
- image.sprite = sprite;
- }
- public void SetBackGround( Sprite sprite)
- {
- backGround.sprite = sprite;
- }
- }
|