When i hold my cursor over my “pongBall” i want it to print picked up.
The script is attached to my camera. Why doesn’t it work?
#pragma strict
function Start () {
}
function Update () {
}
function OnMouseOver () {
if(gameObject.tag == "pongBall") {
print("Picked up");
}
}