Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

unityengine.component does not contain definition

$
0
0
I am receiving an error telling me that unityengine.component does not contain a definition for "material" here is my code; using UnityEngine; using System.Collections; public class TileMouseOver : MonoBehaviour { // Update is called once per frame void Update () { } void OnMouseOver() { renderer.material.color = Color.blue; } }

Viewing all articles
Browse latest Browse all 7934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>