The mechanic works quite well and definitely fulfils the task.
You might want to take a look at optimisation though.
Thanks for the kind comment!Yes you're right, there is a lot of optimization to do. Do you have any advice to what to focus on? :D
I don't use Unity, but I'm sure there must be tutorials on how to optimise it.