I’m fine
(T▽T)
We plan to make the program generate objects only when players were in the drawing area, this could avoid some unexpected output so that we could control storytelling and interaction in the correct order.
We use a road to guide players to get correct direction.
The green cube is the drawing area

I chose the OnTriggerEnter function at first. However, there are some conflicts among those trigger-related functions. This caused Unity crashing 100%

So I used OnCollisionEnter instead

OnCollisionEnter function allowed us to draw shapes and generated the ox after we punched the green cube. But it didn’t make sense. It would be very weird in the experience
Then I create a simple boolean to control the object spawner. I added this boolean to object spawner script as a condition

Now when we were standing outside the drawing area, we are able to draw anything we want but nothing would be generated. If we stand inside the drawing area, there will be objects come out depending on the shapes we draw.

