There are different ways to build regions in space. You can build region assets in other software packages and import into Unity. You can use Unity's mesh shapes and terrain tools, and you can grab third party assets from the Unity Asset Store. All of the pages linked here all refer to the Scene Export Settings/Scene Save Settings component:
ContentsAssemble your sceneYou can upload any scene you create in Unity as a region in Space. Once your scene is assembled you have two housekeeping tasks;
Remove Main CameraWhen you create a new scene in Unity it will by default have a light and a camera. You need to delete the camera (by selecting it in the Hierarchy window and clicking delete).
Add Landing ZoneYou need to define where users arrive when they log in to your region; and what direction they are facing. To do this, once your scene is set up, from the top menu in Unity select Game Object / Create Other / Landmark. OR; If your Scene Heirarchy menu does not include Create other / Landmark, then; Create empty object, then in the Inspector, add "Landmark behaviour" component. This will place a new landmark item in your scene. In the Inspector window, set the type to Landing Zone and tick Spawn Point. The in scene object is a yellow edged transparent plane which you can position anywhere in your scene. The yellow arrow points in the direction your visitors will face when they arrive. Be careful to position the landing zone slightly above the terrain; if a tall avatar's feet arrive below the terrain they may fall through. Adding a New Scene to your RegionThis does not apply if you are using Multi-Scene Mode & Multi-Scene Editing. You can have more then one scene in your region. Create a Home Region/TemplateIf you want to make your region as a home type, which could be edited by the users themselves, you need attach a component which is called "Room Floor" to one of the item in the scene, usually the terrain or the object used as a field. With at least on room floor component, the region will show "Edit Home" button when you in it. You can add several Room Floor components to different objects, each floor can be shared to another user, gives him/her the authority to edit. Please pay attention that ALL the room edit info, like where you put some furnitures is recorded in this "Room Floor" script. When you update your region, try not to remove this component in whatever situation. If you remove an old one then attach a new one to another object, the region update will cause all the users who using your region template find their region get reset. If you must do that, try let your users know this and be prepared for the overhaul updates. Region TutorialsAfter placing your landmark, go to 'Space' at the top of Unity, and choose 'Scene Settings'. Follow these instructions on how to set the scene/upload settings: Upload Settings or watch this video tutorial: Scene Settings
There are also some handy lighting tips here, and general tips and tricks here on how to build and create your region.
|