Unity avanzado

Cambiar color de material

using UnityEngine; using System.Collections; public class ChangeColorMaterial: MonoBehaviour { void Update() { if (Input.GetKeyDown(KeyCode.R)) { GetComponent ().material.color = Color.red; } if […]