Table of Contents

Cloud service component

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

Initial state

The initial state refers to when the tool is first created, and the user has not logged into an account or accessed it through a service entry.

Access method as account

This state refers to when the component switches to account access in the initial state. At this point, users should log in by entering their account and password.

Initial state1

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

Access method as service

This state refers to when the component switches to service access in the initial state. At this point, users should enter directly and supplement service information in subsequent operations.

Initial state2

Number Control name Control type Function description
5 Use Button Access using service method.

Unselected service state

This state refers to when users have accessed through an account or service entry but haven't selected a service. At this point, users should select a service through the 8 Select service button.

Unselected service state

Number Control name Control type Function 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 Log out of the current account and return 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

  • When using Annotation Tool and Block Viewer for Unity Developer, clicking 8 Select service opens a service selection menu containing cloud localization service groups and cloud localization libraries that the account has permission to access:

    Service selection menu1

    Service selection menu when the 10 Details switch is off

    Number Control name Control type Function description
    9 Select service type Radio button Select service type; using Annotation Tool and Block Viewer for Unity Developer can only select Mega Block localization service.
    10 Show details Toggle Controls whether details are displayed.
    11 Trial flag Text Indicates that the cloud localization service group is for trial.
    12 Availability Text Displays whether the cloud localization service group is available.
    13 Cloud localization library version Text Version of the cloud localization library.
    14 Cloud localization service group name Text Name of the cloud localization service group.
    15 Cloud localization library name Text Name of the cloud localization library.

    Service selection menu2

    Service selection menu when the 10 Details switch is on

    Number Control name Control type Function description
    16 QPS limit Text QPS limit of the cloud localization library.
    17 Cloud localization library AppID Text AppID of the cloud localization library.
  • When using Block Viewer, clicking 8 Select service opens a service selection menu containing cloud localization service groups, cloud localization libraries, and Mega Block storage repositories that the account has permission to access:

    Service selection menu3

    Number Control name Control type Function description
    18 Select service type Radio button Select service type; using Blocker Viewer can select Mega Block localization service and Mega Block storage service.
    19 Block storage repository name Text Name of the Block storage repository.
    20 Block storage repository AppID Text AppID of the Block storage repository.
    21 Block storage repository version Text Version of the Block storage repository.
    22 Availability Text Displays whether the Block storage repository is available.

Add service menu

This window appears after switching the access method to service in the initial state and clicking the 8 Select service button. It is used to enter service information or import local service information files to add services.

Add service

Number Control name Control type Function description
23 Service AppID input field Input field Enter the AppID of the service to add.
24 Service API Key input field Input field Enter the API Key of the service to add.
25 Service API Secret input field Input field Enter the API Secret of the service to add.
26 Import service information Button Add service by importing a locally saved service information file.
27 Confirm Button Confirm adding the service.

Selected or added service state

This state refers to when users have logged into an account or accessed through a service entry, and have determined the service type and corresponding cloud localization library/storage repository by selecting or adding a service.

Add service

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