GetComponent<SpriteRenderer>().color = new Color(1,1,1,1);
using UnityEngine;
using UnityEngine.UI;
public class ChangeColor : MonoBehaviour
{
public Color colorImage;
void Start()
{
GetComponent<Image>().color = colorImage;
}
}