unity how to get mouse click event code example
Example: gameobject on click unity
private void OnMouseOver() {
Debug.Log("Hovering over GameObject");
}
private void OnMouseOver() {
Debug.Log("Hovering over GameObject");
}