using UnityEngine;
public class RandomColorChange : MonoBehaviour
{
private Material material;
private void Start()
{
material = GetComponent<Renderer>().material;
}
private void Update()
{
if (Input.GetKeyDown(KeyCode.C))
{
material.color = Random.ColorHSV();
}
}
}
![](http://code3interactive.com/wp/wp-content/uploads/2021/04/100x100xavatar-370-456322-512.png.pagespeed.ic.Eve_OUof25.png)
Analyst studies emerging trends in the information technology.