#This is my script:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ActivateMesh : MonoBehaviour {
public MeshRenderer Spot;
void OnMouseEnter()
{
Spot.enabled = true;
}
void OnMouseExit()
{
Spot.enabled = false;
}
void OnMouseOver()
{
}
}
#This Error Occures:
There are inconsistent line endings in the ‘Assets/Spot/ActivateMesh.cs’ script. Some are Mac OS X (UNIX) and some are Windows. This might lead to incorrect line numbers in stacktraces and compiler errors. Many text editors can fix this using Convert Line Endings menu commands.