howtohandle gameobject onclick in unity code example
Example: gameobject on click unity
private void OnMouseOver() {
Debug.Log("Hovering over GameObject");
}
private void OnMouseOver() {
Debug.Log("Hovering over GameObject");
}