Skip to content

Basic Usage

Preparation Before Work

Before working in Unity, change to a layout that is useful for editing 2D UI. Select Tall from the dropdown menu in the upper right corner, and drag the Project tab of Hierarchy and Project to place it next to Hierarchy.

GUITools_HowToUse_01

Turn on the button labeled "2D" in the upper left.

GUITools_HowToUse_02

Click the button with a sparkle icon, located three places to the right of the "2D" button, to turn it off.

GUITools_HowToUse_03 Turn off

Select Main Camera and Directional Light, then uncheck the checkbox displayed in the Inspector to temporarily hide them.

GUITools_HowToUse_04

Open the Project tab, right-click on Assets, and create a folder for UI image materials with Create → Folder. The name can be arbitrary (however, no full-width characters).

GUITools_HowToUse_05

Loading Sample Activity Canvas (Template)

GUITools_HowToUse_12

Install using Import Into Project.

GUITools_HowToUse_13

It will then be installed into Assets.

Importing Json File

Click VketCloudGUITools → GUI Importer from the menu.

GUITools_HowToUse_06

In the import dialog, set the json file you want to load, the destination for copying materials, and the scale, and proceed with the import.

The json file for the Sample Activity Canvas can be found at the following location, so please select it.

C:\{UnityProject}\Assets\Samples\VketCloud GUI Tools\13.0.0\Sample\Canvas\landscape\activity_modal.json

GUITools_HowToUse_07

Click Import and close the dialog when you see 100% displayed, indicating completion.

If nothing appears to be displayed after loading, do not panic. Open the hierarchy just below the loaded one in the Hierarchy, select it, and check the top checkbox in the Inspector to display it.

GUITools_HowToUse_08

Visibility can be controlled by the top checkbox in the Inspector.

GUITools_HowToUse_09

Although the Hierarchy has a structure similar to layers, unlike Photoshop, items higher in the list are drawn underneath, so be mindful of this.

GUITools_HowToUse_10

Mouse Wheel
Zoom in and out of the screen.
Right-click Drag of the Mouse
Hand tool.
When editing UI, it's easier to work with the Rect Tool (square icon).

GUITools_HowToUse_11

If nothing is displayed even though the top checkbox in the Inspector is checked, make sure the checkbox in the Image section of the Inspector is checked to display the image.