Block viewer tool
The Block viewer tool is an independent, lightweight functional module in Mega Studio, specifically designed for viewing and previewing completed 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, operators, testers, and developers can quickly verify the quality of the constructed Block data.
Create the viewer tool
Right-click in the 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 the export or display of the model.
BlockViewer node description
EasyAR.Mega.BlockViewer is an edit-mode tool, which only works in the editor during non-play mode. Ensure the play button at the top of the Unity editor is not pressed, as shown below. When the button is in the right-facing triangle state, it is in the stopped state and can be used.

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