Block viewer tool
Block viewer tool is an independent, lightweight feature module in Mega Studio, specifically designed for viewing and previewing built Mega Blocks. It allows you to directly load, browse, and inspect cloud-generated Block data in the Unity editor without writing any code or running the full application. Through this tool, project managers, operations personnel, testers, and developers can quickly verify the quality of mapped Block data.
Create viewer tool
Right-click in a blank area of the
Hierarchypanel, selectEasyAR Mega->Tool->Block Viewer (Edit Mode)
After adding, a new
EasyAR.Mega.BlockViewernode will appear in theHierarchypanel
Function description
After creating the tool, you can configure it through the Inspector panel to load Block data, and control model export or display.
BlockViewer node description
EasyAR.Mega.BlockViewer is an edit mode tool that works only in non-play mode, serving as an editing tool within the editor. Ensure the play button at the top of the Unity editor is not pressed. As shown below, when the button appears as a right-facing triangle, it is in the stopped state and can be used.

Warning
If you need to package the developed Unity application to mobile devices, be sure to delete the EasyAR.Mega.BlockViewer node from the scene before building, otherwise it may cause build failure or runtime errors.
