In the header tab, choose MYTY Kit > Import 2D Avatar Asset to open the Importer 2D Avatar Asset window
Choose MYTY Kit > Import 2D Avatar Asset
Open the trait mapping file
Click the openbutton next to the Trait mapping file input box.
Locate the Trait mapping file that you downloaded from 2. Trait Mapping and click Open.
Set the location of PSBs
When you open the Trait mapping file, a list of related PSB files will be generated. For each file name, click Browse and enter the location of the PSB filein question.
If the PSB file and the trait mapping file are in the same folder, the location of the PSB file will be automatically entered.
A list of PSB files related to a trait mapping file. You can enter each PSB fileโs location with the Browse button.
2. Once the locations of all PSB files have been entered, click the Import button to import all assets.
A list of PSB files and their locations. You can use the Import button to import the files to the Project panel.
Import is complete. Press OK to close window.
3. Import is complete. Press OK to close window.
Change the settings of imported PSB assets
Tutorial video - How to change the settings of imported PSB assets
Imported PSB files can be found in the Project window. Choose Assets > MYTYAsset > ImportedAvatarAssets.
2. Detailed settings of an imported PSB file can be seen in the Inspector window.
PSB files that have editable sprites have a right-arrow icon on top of the file icon.
A PSB file icon with a right-arrow icon.
Change the settings of imported PSP assets in the Inspector window. (Steps 3, 4, and 5)
3. In the Inspector windowโs Layer Importsection, check the Include Hidden Layersand Use Layer Groupcheckboxes.
This includes all hidden layers of the PSB file, and enables the use of the layer structure.
Check all three checkboxes in the Layer Import section.
4. In the Inspector windowโs Platform Settings section, change the Max Sizeto 8192.
Max Size is the maximum resolution of images imported to Unity. It is recommended to set this to an optimum of 8192.
Change the Max Size to 8192 in Platform Settings
5. Apply changes by clicking the Apply button, located under the Inspector windowโs Advanced section.
Save changes by clicking the Apply button in the lower right.
Is the imageโs outline jagged?
How to change settings for anti-aliasing a jagged PSB.
1. In the PSB fileโs Inspector window, change Texture > Filter Mode to Point(no filter).
2. In the PSB fileโs Inspector window, change Platform Settings > Max Size to 8192.
3. Save changes by clicking the Apply button below the Inspector windowโs Advanced section.
How to change settings for anti-aliasing a jagged PSB.
For more information on the PSB Importer, refer to the official Unity manual
Avatar Selector with Trait Finder
How to use AvatarSelector
You can use the Hierarchy windowโs AvatarSelector object to preview each NFT Avatar ID .
Try changing the Avatar ID in the AvatarSelector's Inspector window. The Avatar ID can be changed even when the project is playing.
A demonstration the Avatar Selector
How to use Trait Finder
Click the โ icon next to the Find with box, search for the trait name you want to find, and select it.
If you click the Find next button, the avatars containing the trait are displayed on Scene window in ID order.
Please configure your Avatar ID to the smallest number before clicking Find next.
A demonstration the Trait Finder
Have a question or an idea?
If you have a question to ask or an idea to share, participate in the MYTY Kit Community. Weโd love to hear from you.๐