<aside> <img src="/icons/reorder_gray.svg" alt="/icons/reorder_gray.svg" width="40px" />
Navigation
</aside>
Find and select the Player object on the hierarchy window.
On the Inspector window find the Player Behaviour
script, and click the Find Skin Holder
button.
The object called mixamorig:HeadTop_End will be selected, drag your new skin model here (so it becomes a child of the object) like this:
Using the Scene window adjust position and scale of the object
Drag and drop the adjusted skin object into the Assets/Project Files/Game/Prefabs/Hats
folder - prefab will be created
Now you can delete the skin object from the scene (the one we added in step 3), it will be loaded automatically
Go to Assets/Project Files/Data/Skins
and select the Hat Skin Database scriptable object.
Click the +
button at the bottom of the Skins list to add a new element.
Assign a prefab variable with a prefab created in step 5.
Select prefab, and find its transform component in the Inspector window. The value in Position field is the adjustment you have made in step 4, copy this value to the Model Position variable in the new database entry.
Go to Assets/Project Files/Data/Skins
and select the Skins Store Database scriptable object.
Select the Hat
****tab in the Product section to display a list of vehicle products.
Click on the +
button to add a new product.
Update the following fields: