A good resource for building a grid system in Unity is Code Monkey on Youtube. He teaches how to build a really good grid system and builds upon it over a few videos. Definitely recommend!