Moving unitcollision feature to the gameInstance layer, hopefully making it accessible to any 2D game