Meta Space

For more information about how to upload a space, click below.

âŦ†ī¸pageUpload a Space

MetaSpace Documentation

The MetaSpace class is a primary concept in the REACH Explorer SDK. It represents a virtual space within the Metaverse that users can interact with and join. Think of a Meta Space like a scene in Unity, but with additional features and functionality specific to the Metaverse. Only one Meta Space can be active at a time.

Namespace

MetaverseCloudEngine.Unity.Assets.MetaSpaces

Public Methods

N/A

Public Properties

  • bool IsInitialized (read only): Indicates whether the Meta Space has been fully initialized and is ready for interaction.

  • bool RegisteredServices (read only): Indicates whether the Meta Space's services have been registered.

  • bool LoadingPrefabs (read only): Indicates whether the Meta Space is currently loading prefabs.

  • bool LoadedPrefabs (read only): Indicates whether the Meta Space has finished loading prefabs.

  • MetaSpaceRuntimeOptions RuntimeOptions (read only): Provides access to options that control the Meta Space's runtime behavior.

  • MetaSpacePlayerSpawnOptions PlayerSpawnOptions (read only): Provides access to options that control how players are spawned in the Meta Space.

  • MetaSpaceNetworkOptions NetworkOptions (read only): Provides access to options related to networking in the Meta Space.

  • MetaSpacePlayerGroupOptions PlayerGroupOptions (read only): Provides access to options related to player groups in the Meta Space.

  • IMetaSpaceExternalApiService ExternalService (read only): Provides access to the external API service for the Meta Space.

Inspector Fields

  • MetaSpaceRuntimeOptions runtime`: Options related to how the Meta Space behaves at runtime.

  • MetaSpacePlayerSpawnOptions playerSpawn: Options related to how players are spawned in the Meta Space.

  • MetaSpacePlayerGroupOptions playerGroups: Options related to player groups in the Meta Space.

  • MetaSpaceNetworkOptions network: Options related to networking in the Meta Space.

  • MetaSpaceIntegrationOptions integrations: Options related to integrating the Meta Space with other systems.

Behavior

  • Execution Order: This class uses the ExecutionOrder.PostInitialization execution order, meaning it will be initialized after most other components in the scene.

Usage

  1. To use MetaSpace, start by adding the MetaSpace component to a GameObject in your scene. This will typically be the root GameObject of your scene.

  2. Configure the various options in the inspector to customize the behavior of your Meta Space.

  3. You can then access the various services provided by the Meta Space, such as the networking service, player group service, and state service, to implement your desired functionality.

Last updated