How to install unity and use mega studio
This article will introduce how to install Unity and how to download and load the Mega Unity plugin to use Mega Studio on the Unity editor.
Install Unity 2021.3 or later LTS version
Download the installer from the Unity official website. In mainland China, you can get it from the Unity Chinese page and follow the official instructions for installation.
You can first download Unity Hub, then select the Unity version on the webpage and download it via Hub, or choose and install it directly in Unity Hub.

Create a new Unity project
Use Built-in Render Pipeline


In some versions, such as Unity 6, you need to download the corresponding template before creating the project
Download mega unity plugin

Log in to your EasyAR account and navigate to the download page.

Download EasyAR Sense Unity Plugin(for Mega).

After extracting the downloaded .zip archive, you will obtain the following directory structure:
Important
Note: Do not extract .tgz files. These are Unity packages that must be imported directly through the Unity Package Manager.
.
└── EasyARSenseUnityPluginForMega_**.zip # Complete installation package
├── com.easyar.mega-**.tgz # Contains annotation tools and block viewer
├── com.easyar.sense-**.tgz # Contains EasyAR Sense core library and Unity plugin
├── readme.cn.txt # Chinese readme file
└── readme.en.txt # English readme file
Version number explanation: ** in filenames represents the version number in the format: Major.Minor.Patch + BuildNum.BuildHash. Please refer to the latest official release.
Import package in the project (UPM package)
Please import in order:
com.easyar.sense-**.tgz
com.easyar.mega-**.tgz
Note
Before importing, it is recommended to copy the .tgz files to your Unity project folder (e.g., store them in the Packages directory).
Do not move or delete these .tgz source files after importing, otherwise Unity will not be able to load the corresponding packages.
Click Window > Package Management > Package Manager, then click the + button in the top-left corner of the pop-up window and select Install package from tarball...

Create annotation tool
Right-click in the Hierarchy panel on a blank space, then select EasyAR Mega > Tool > Annotation Tool (Edit Mode) to create an annotation tool.

Log in to use Mega Studio
In the Hierarchy panel, click EasyAR.Mega.Annotation, then enter your EasyAR account and password in the Inspector panel and click to log in.

After successful login, you can use the editor features of Mega Studio.
