I have googled around and found no tutorials so i am going to ask here. Anyway i am look for some hints in the right direction on making a sandbox/building game such as prison architect or rim world. I already have a top down camera and movement for it all i need it some help or a tutorial on the sandbox building part. How would i go about making a script that will allow me to place walls, buildings and things?
For sandbox building, “procedural” is the way to go, so search anything with “procedural” as the keyword and look what they have made. If this is a city kind of place, look for “unity procedural city” … the answers here are meant for specific nature and not to refine ideas or design.
Any building game would require procedural asset generation techniques. Applies to walls or building etc. Basic building block would be making a Screen based object placing script, which can place 3d objects on a terrain and are magnetic (snapping to the nearest object).
Procedural design is heavy on code and optimization and if physics are involved, it can get even messier. Just an fyi.