Make sure the following requirements are installed on your system:
To find more building and running options take a look at the MiniScaffold template.
Download package via NuGet.
First, add the RoomInteriorGenerator package to your Unity project when you can open it in your desired script. I fill the data table in the inspector and add the current script to the new GameObject. GameObject should be in the top left corner of your room. GameObject will be the coordinate origin for all furniture placement, so make sure you set the x and z axis directions correctly. Also, all the prefabs you want to place should have (0,0,0) position and 0 degrees y-rotation (depending on your GameObject directions this may be different). Be sure to check the object's pivot point, usually it should be in the centre of your object. This will help you to get the most expected result.
The main body of my script looks like this:
|
The final result:
Take a look at the Time-Reactor-Game to see all the steps of package implementation.