Hey Guys,
I making a simple 2D game and I got a problem. I want to spawn objects outside the screen/camera. But I haven’t any knowledge to do that. I know how to spawn objects using Instantiate. But not like this. Can anyone help me?
You can use this to convert screen pixel coordinates to world space:
You can give it offscreen coordinates too.
Pay attention to what the Z coordinate means in the docs.
