This is a game made in Unity3D, using XR Interaction Toolkit and the new Input System.
The red and green cubes are the start and end points The yellow sphere will be the enemy. The goal is to place turrents to shoot the sphere before it reaches the end point.
Note: Active input handling: both Contact pairs mode: Enable kinematic kinematic pairs