Table of Contents

Cloud service components

This manual details the control functions and usage methods of the Mega cloud service components provided in the Unity editor.

Initial state

Initial state refers to when the tool is first created, and the user has not logged into an account or accessed the service entry.

Access method is account

This state refers to the initial state of the component when the access method is switched to account, where the user should log in by entering their account and password.

Initial state 1

No. Control name Control type Function description
1 Access method Radio button Select the service access method.
2 Username/email input box Input box Enter the account.
3 Password input box Input box Enter the password.
4 Login Button Log in using username/email and password.

Access method as service

This state refers to the component's initial state when the access method is switched to "service." In this state, users should directly enter and supplement service information in subsequent operations.

Initial state 2

No. Control name Control type Function description
5 Use Button Use the service method for access.

Unselected service status

This status refers to when a user has entered using an account or service entry but has not yet selected a service. In this case, the user should select a service by clicking the 8 Select service button.

Unselected service status

No. Control name Control type Description
6 Account name Text Account access: Displays the name of the currently logged-in account.
Service access: Displays as "Unknown".
7 Log out Input field Logs out of the current account and returns to the initial state.
8 Select service Button Account access: Opens the service selection menu.
Service access: Opens the add service menu.

Service selection menu

  • Using Annotation Tool and Block Viewer for Unity Developer, the service selection menu that pops up after clicking 8 Select service includes the cloud localization service groups and cloud localization libraries that the account has permission to access:

    Service selection menu1

    Service selection menu when 10 Details is not turned on

    No. Control name Control type Description
    9 Select service type Radio button Select the service type. Using Annotation Tool and Block Viewer for Unity Developer, only Mega Block localization service can be selected.
    10 Show details Toggle Controls whether to display details.
    11 Trial flag Text Indicates that the cloud localization service group is a trial.
    12 Availability status Text Shows whether the cloud localization service group is available.
    13 Cloud localization library version Text The version of the cloud localization library.
    14 Cloud localization service group name Text The name of the cloud localization service group.
    15 Cloud localization library name Text The name of the cloud localization library.

    Service selection menu2

    Service selection menu when 10 Details is turned on

    No. Control name Control type Description
    16 QPS limit Text The QPS limit of the cloud localization library.
    17 Cloud localization library AppID Text The AppID of the cloud localization library.
  • Using Block Viewer, the service selection menu that pops up after clicking 8 Select service includes the cloud localization service groups and cloud localization libraries that the account has permission to access, as well as Mega Block storage libraries:

    Service selection menu3

    No. Control name Control type Description
    18 Select service type Radio button Select the service type. Using Blocker Viewer, you can choose Mega Block localization service and Mega Block storage service.
    19 Block storage library name Text The name of the Block storage library.
    20 Block storage library AppID Text The AppID of the Block storage library.
    21 Block storage library version Text The version of the Block storage library.
    22 Availability status Text Shows whether the Block storage library is available.

Add service menu

When the component is in its initial state and the access method is switched to service, this window appears after clicking the 8 Select service button. It is used to input service information or import a local service information file to add a service.

Add service

No. Control name Control type Description
23 Service AppID input box Input box Enter the AppID of the service to be added.
24 Service API Key input box Input box Enter the API Key of the service to be added.
25 Service API Secret input box Input box Enter the API Secret of the service to be added.
26 Import service info Button Add a service by importing a locally saved service information file.
27 Confirm Button Confirm to add the service.

Selected or added service status

This status refers to the state of the Mega cloud service component when the user has logged into their account or accessed the service through the service entry point, and has determined the service type and the corresponding cloud positioning library/storage library by selecting or adding a service.

Add service

No. Control name Control type Function description
28 Service info Text Displays the currently selected service type and the name and version of the library.
29 Export service info Button Exports the currently selected or added service information. The saved service information can be imported via 26 Import service info.