I have scene, camera, object with Grid component and childs with Tilemap+TilemapRenderer components, and then script on Grid object.
I need to catch mouse events (and then detect cell, i know how to do it) on these objects. Not Input.GetMouseButton(0)
in update lifecycle, i need event-style handling for it.
How can i make it?
Ive tried colliders on tilemaps/grid and MonoBeha:OnMouseDown method, tried methods from IPointerEnterHandler (and another form package), and raycasts. Nothing worked...
I really confused, i should make myown event system from Input.GetMouseButton(0)
?