🎨
MYTY
MYTY Kit
MYTY Kit
  • 👋Before you begin
    • GM, MYTY! 👐
    • What is MYTY Kit?
    • MYTY Kit System Requirements
    • Prerequisites
    • MYTY Kit Glossary
  • ✍️Getting started
    • 1. Prepare Illustration PSB
      • Key Requirements
      • Basics of Avatar Animation
      • Recommended PSB file structure for Trait Mapper
    • 2. Trait Mapping
      • Guide to MYTY Kit Trait Mapper
      • New Field: Token ID
    • 3. Install Unity
    • 4. Import MYTY Kit
    • 5. Import 2D Avatar Assets
  • 🔮Make animation
    • 6. Before Rigging
    • 7. Rigging in Sprite Editor
      • Mesh in Unity
    • 8. MYTY Kit Controllers
      • Bone 1D Controller
      • Bone 2D Controller
      • Sprite 1D Range Controller
      • Sprite 2D Nearest Controller
      • Rigged Sprite 2D Nearest Controller
    • 9. Apply Motion Tracking
      • Character Movement
      • Bone Motion Adapters
        • Bone2D
        • BoneTiltOrPosition
        • EyeBlink & EyeBlinkAll
        • EyeBrow & EyeBrowAll
        • Pupil & PupilAll
      • Sprite Motion Adapters
        • EyeBlink & EyeBlinkAll
        • EyeBrow & EyeBrowAll
        • MouthSprite
      • Advanced documentation
        • Mapper & Reducer
        • Stabilizing method
    • 10. Set up AR Face Mode
    • Advanced Animation
      • Physics 2D
      • Sprite Masking
      • Idle Animation
  • 🤹Connect with MYTY Metaverse
    • 11. Export MYTY Avatar
      • MYTY Avatar Viewer
      • Updates on File Export Format — Zip file
    • 12. Upload to Avatar Manager
  • 🗒️Appendix
    • 😄Mediapipe Extension
    • 🎨MotionAdaptorPalette
  • 🗂️MISC
    • About Us
    • Troubleshooting & FAQ
    • Change Log
    • License
      • License.md
    • Legacy Documentation
      • [v0.1.0] 4. Import MYTY Kit
      • [v0.1.0] 6. Before Rigging
      • [v0.1.0] 9. Apply Motion Tracking
      • [v.0.1.0] 11. Export MYTY Avatar
Powered by GitBook
On this page
  • TL;DR
  • Open the Importer window
  • Open the trait mapping file
  • Set the location of PSBs
  • Change the settings of imported PSB assets
  • Is the image’s outline jagged?
  • How to change settings for anti-aliasing a jagged PSB.
  • Avatar Selector with Trait Finder
  • How to use AvatarSelector
  • How to use Trait Finder
  1. Getting started

5. Import 2D Avatar Assets

Previous4. Import MYTY KitNext6. Before Rigging

Last updated 2 years ago

TL;DR

Open the Importer window

  • In the header tab, choose MYTY Kit > Import 2D Avatar Asset to open the Importer 2D Avatar Asset window

Open the trait mapping file

  1. Click the open button next to the Trait mapping file input box.

  2. Locate the Trait mapping file that you downloaded from 2. Trait Mapping and click Open.

Set the location of PSBs

  1. 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.

2. Once the locations of all PSB files have been entered, click the Import button to import all assets.

3. Import is complete. Press OK to close window.

Change the settings of imported PSB assets

  1. 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.

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.

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.

5. Apply changes by clicking the Apply button, located under the Inspector window’s Advanced section.

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).


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.

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.

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.

For more information on the PSB Importer, refer to the official

Have a question or an idea? If you have a question to ask or an idea to share, participate in the . We’d love to hear from you.

✍️
Unity manual
😄
MYTY Kit Community
Open the Importer window
Open the trait mapping file
Set the location of PSBs
Change the setting of Imported Assets
Try the Avatar Selector and Trait Finder
Choose MYTY Kit > Import 2D Avatar Asset
A list of PSB files related to a trait mapping file. You can enter each PSB file’s location with the Browse button.
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.
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)
Check all three checkboxes in the Layer Import section.
Change the Max Size to 8192 in Platform Settings
Save changes by clicking the Apply button in the lower right.
How to change settings for anti-aliasing a jagged PSB.
A demonstration the Avatar Selector
A demonstration the Trait Finder
Tutorial video - How to change the settings of imported PSB assets