I have a C# script attached to MeshInstance2d object. Script generates an Hexagonal Arraymesh with uv-s. How can i detect if a mouse is hovering one of these hexagons? As everything is generated within code, i cant use editor methods to generate collision shapes and what not, so everything that needs to be generated, must be generated within code.
I understand that i need a collision shape, but how do i make it and where to i but it?