Skip to main content
deleted 75 characters in body
Source Link
Vaughan Hilts
  • 5.5k
  • 1
  • 34
  • 58

I have done this before in a quick and dirty way - using colliders. Put a collider and a script with an OnMouseDown method on the prefab, the method will trigger when the tile is clicked.

I would post this as a comment but I don't have the rep to comment. :(

I have done this before in a quick and dirty way - using colliders. Put a collider and a script with an OnMouseDown method on the prefab, the method will trigger when the tile is clicked.

I would post this as a comment but I don't have the rep to comment. :(

I have done this before in a quick and dirty way - using colliders. Put a collider and a script with an OnMouseDown method on the prefab, the method will trigger when the tile is clicked

Source Link
Rohit Garg
  • 411
  • 4
  • 9

I have done this before in a quick and dirty way - using colliders. Put a collider and a script with an OnMouseDown method on the prefab, the method will trigger when the tile is clicked.

I would post this as a comment but I don't have the rep to comment. :(