πŸ’»Scripts

chevron-rightWhat Code is doing the Sorting?hashtag

Each script that sorts is located in Assets/CharacterEnhancementToolkit/Editor by the pack it sorts e.g., SortPolygonWar sorts Polygon War Pack. Within each of these scripts, is a resources.LoadAll that iterates over all gameobject and then specifically sorts based upon prefab name into specific folders.

chevron-rightKeyboardButtonChange.cs - Z and C to randomizehashtag

The keyboard Button Change script allows you to use Z to randomly change the character and C to randomly change the facial features. If you don't need this capability, you can disable it on the AdultToonCreationManager object. Note: This capability can interfere with saving the prefab using a 'z' or a 'c' in the prefab name.

chevron-rightLoad Adult Prefabshashtag

This script loads and contains the Lists of all gameobjects of interest. If you press play and look, you will see all the pieces in each list. So therefore, you can access these lists as they are public. The boolean guyBool is used to to load the Males first

chevron-rightAdd Animatorhashtag

chevron-rightAttachment Pointshashtag

chevron-rightChange Characterhashtag

chevron-rightChange Equipmenthashtag

chevron-rightChange Facehashtag

chevron-rightTarget Boneshashtag

chevron-rightSwap Panelshashtag

chevron-rightCamera Movementhashtag

chevron-rightSave Adult PRefabhashtag

Last updated