Unity
- 1 ответ
- 0 вопросов
1
Вклад в тег
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;
}
}