Cosmetic Creation
Project Setup
- Make a new HDRP project on Unity version 2022.3.9f1.
- Download the cosmetic creation unitypackage in the releases section of the repo.
Cosmetic Package
After downloading and installing the package, you should see a MoreCompanyCosmetics folder in your assets folder. Inside, theres a prefab labeled "CosmeticPersonExample".

Drag this prefab into your scene, you should see the default scavenger model with his hand on his hips. Right click the prefab in your hierarchy, then select: Prefab > Unpack Completely

Looking inside of the hierarchy of the prefab, it should look something like this:

In the future, the unitypackage may update to include new cosmetic pin-points. For this example, we're going to be making a new hat. Drag your model or whatever children you'd like under the correct cosmetic pin-point, and move and scale them around as you like. Make sure not to move the gameobjects labeled (DO NOT MOVE).
Heres an example of a traffic cone hat.

After you've completed the visuals of your cosmetic, rename the parent to whatever you'd like. In this case I'm just going to call it "TrafficConeCosmetic".
After you've renamed it, its now time to set the properties of the actual cosmetic so MoreCompany knows how to deal with it. On the gameobject you just renamed, there should be a CosmeticInstance behavior with 3 fields.
- Cosmetic Type
- Cosmetic Id
- Icon
Fill out all of these. The Cosmetic Type should already be the type of cosmetic that you want to use. The Cosmetic Id should be a unique identifier, its good practice to give an id similar to "author.cosmeticname" to prevent conflicting ids. The Cosmetic Icon is what shows up in the cosmetic selection menu in MoreCompany.
Make sure to set the import settings on the icon to Sprite (2D and UI)!
Heres an example of everything filled out:

After you've done all that, drag the gameobject into your file inspector to save it as a prefab. Select the prefab (Left click) and then Right Click to open the tool menu, you should see a button labeled "Build Selected Cosmetics Into Bundle", click it.

It should open the finished bundle path when its done, it will be called "default.cosmetics". Rename it to whatever you like but make sure you keep the ".cosmetics" extension.
You're done! Just drop the .cosmetics file into the MoreCompanyCosmetics folder in your plugins folder and voila! New hat!
