I’m trying to find out what OnMouseDown is hitting when i click… do i use debug.log (gameobject.name) ??? that doesn’t seem to work… if you could write in #C that would be great
void OnMouseDown()
{
Debug.Log(this.name);
}
I’m trying to find out what OnMouseDown is hitting when i click… do i use debug.log (gameobject.name) ??? that doesn’t seem to work… if you could write in #C that would be great
void OnMouseDown()
{
Debug.Log(this.name);
}