-
-
Notifications
You must be signed in to change notification settings - Fork 47
Worlds
towneh edited this page Dec 12, 2024
·
5 revisions
- As per the Getting Started section for installing the latest supported Unity editor version and acquiring the Basis framework.
- Open Unity Hub and add an existing project, choose the extracted/cloned Basis project folder.
- Once the Unity Project has loaded, you can now load your Avatar files:
- Either,
- Find 'Assets' in the Project hirarchy, inside 'Assets' right click any empty space and select 'Show in Explorer'.
- Copy in your World files [Mesh/Materials/Textures etc].
- or
- Import a .unity package containing your files, from the Assets menu, Import Package > Custom Package.
- Bring back the Unity window and allow the import process to finish.
- Import your world meshes or create a new 3D object, such as a Plane or Cube. Ensure a Collider is present.
- Create a gameObject, give it a suitable name, on the Inspector click 'Add Component' and find/select the Basis Scene component.
- At this point you can create another gameObject, name it Spawn, and then place it somewhere in the world that you would like players to spawn in to the world at, or simply use the same gameObject that was created for the Basis Scene component.
- Either way, make sure you place the gameObject of your spawn position of choice in to the 'Spawn Point' field and then it will you the transform of that gameObject.
- Choose from the 'Basis' drop-down menu, the 'Build AssetBundle From Scene' option.
- The results will be opened automatically as shown below.
- Once the AssetBundle has been created then you can load this via the 'BootManager' prefab found at 'Assets > Prefabs > Boot'.
- You can place the location of the new AssetBunndle under the 'Meta URL' & 'Bundle URL' fields, along with the 'Unlock Password' provided in the 'dontuploadmepassword.txt' file generated at in the '/AssetBundles/' directory.
-
Load the 'Initialization' scene from 'Assets > Scenes', and then hit Play.
-
You should then load in at the spawn location of your world.