I don’t know what the fuck’s going wrong with Monodevelop
using UnityEngine;
using System.Collections;
public class losescenedestoryscore : MonoBehaviour {
// Update is called once per frame
void Update () {
if (Input.GetMouseButtonDown(0)){
Vector2 worldPoint = Camera.main.ScreenToWorldPoint(Input.mousePosition);
RaycastHit2D hit = Physics2D.Raycast(worldPoint,Vector2.zero);
if(hit.collider.name == "Restart" ){
Debug.Log ("Restart clicked")
}
}
}
}
Unity is showing these errors

Plz help. this is pissing me off.