<aside> <img src="/icons/reorder_gray.svg" alt="/icons/reorder_gray.svg" width="40px" />
Navigation
</aside>
Import a new character model to the project. Open the Rig tab, select Humanoid Animation Type, and create an avatar from this model.
https://lh5.googleusercontent.com/sQZT72ffEoLr9yCz-1bRVY3WrfMb8J9-D0i9_caHPhAqPeaDkWTQYqyA7skRxb7rTIfg2jLdQCvzSjVbF1hbwiV69nJBwwOBmLcd1Bnt4eB0O-eYaiavv_NZ4CFLfKkr8XJ6wcDCNYX0EUvecGMS-98
Add a character model to the scene. Turn off the “Apply Root Motion” variable in the Animator component and add PlayerGraphics components to the character object.
https://lh6.googleusercontent.com/FqkY7ir71HFl4bsTw_TWkQp-DgGlolickdDVDmAgLnPsbC4z2ey8ubHEv-iXx57LkoHvm92lWNJLsFvq4TZVDmi1UmImKhtPFiEBhgBzVIkY-xtqPqLRM-8DkW9sa3ZguR_XZaDjxvvJuwSyoH6xiNs
Click the Create and Init
button to create a storage object and add the required components.
Create a prefab from the created object.
https://lh6.googleusercontent.com/sdlqKcASwPh8gNn2JlJigDuiW2TgKosORstvRUV2eZKxC4wcgr0IyNYqvPbjcKXjoA8S3Piaj826U8McPyvB1fPubZ1K2Om27c8y98AKPHx5glFeBI_zD-TsDBN9UbSsPJwSiYxsS_638IDd-ccujF8
Select the Store Database
located in the Project Files\Data folder and add a new product by clicking the +
button at the bottom of the Inspector window.
In case you want to replace old model with a new one, just follow next steps, but use previously created products.
Link created prefab to Prefab variable.
To complete the setup product, update the following fields:
To calibrate the storage position start the game, open the Store, select the created product, and pick up any object. After this select the Storage object and change position and rotation to fit the holding animation.
https://lh3.googleusercontent.com/HqGsGQtxmx0JkessctyzkFABsepkpER9-ZKh6yECJibDapESiFaDzjexNox2gUqXY6ZxVVRTaRx0OP7ym4Fk7pG5UsksDGr2inRGYfKWtt5fWM9wu_LARlfmDceMCVGVg0K5eDe4godVTOeg-2mYAsw
https://lh5.googleusercontent.com/a_pep3rfVHsIbUngYkDI5l4NM2HCQGUDslEwTlPwlVluGTS4qCDnXiV06sc8jaFfd14vkNZduW8ppOOtSKqUNrENiyjBA9O81BRV-uxUJNaLxjCB_h9kdPUmQmqKEJEFJepdivDC9EP_kjZ_nYKf1pg
Copy the storage Transform component and paste it to your created character prefab.
https://lh4.googleusercontent.com/-s8h2lNrCfAC6uHCUMAen5abLSbd0CV9JS5LfGGbzAKk2inQo2-lKc_2uzjDjzaQSJro97vEK_jm6hcTea4Z5MQnCZjto3Uq56BjNxOhFdt7VCxok5ELQUheFR2DB5G4P0Yo8AHhmDxZEE_cCSBXy2o