But it asked me for this permission while the game wasn't active. I was setting up a work zoom call and this popup appeared.
Certain versions of Unity do this on certain versions of Mac. At the game engine's forums:
https://forum.unity.com/threads/input-monitoring-problem-in-catalina.757361/
Some other instances in the wild:
https://answers.unity.com/questions/1671267/mac-game-rejected-for-accessibility-...
https://itch.io/t/835617/edit-seems-like-a-macos-catalinaunity-issue-permission-...
https://www.reddit.com/r/GodsUnchained/comments/dfuxvr/why_would_gu_need_such_pe...
It's neither this game nor its devs, nor is the game spying on you. You should learn to ask questions instead of making accusations when you're confused.