
GearPartCustomization
Modify the position, rotation, and scale of gear parts#Current features:
- Modify gear part transforms
- Turn gear parts on or off
- Modiy gear part child transforms
- Turn gear part children on or off
#Example usage
[
{ //List of customization settings entries
"OfflineID": 0, //entry from the player offline datablock to reference
"Name": "Gear customization example", //Internal name for these settings
"Parts": [ //list of all parts to modify
{
"PartHolderObject": "FrontPart", //Name of the gear component to modify; overrides the PartType
"PartType": 12, //Index of the gear component to modify; Only needed if you dont specify PartHolderObject
"ParentVisible": true, //Not yet implimented
"Enabled": true, //Set this gear part to active or inactive (visible or invisible)
"PartTransform": { //Transform settings for the gear part
"LocalPosition": { //Relative Position:
"X": 0.0, //X coordinate
"Y": 0.0, //Y coordinate
"Z": 0.0 //Z coordinate
},
"Scale": { //Relative scale:
"X": 1.0, //X scale
"Y": 1.0, //Y scale
"Z": 1.0 //Z scale
},
"Rotation": { //Relative Angle:
"X": 0.0, //X axis
"Y": 0.0, //Y axis
"Z": 0.0 //Z axis
}
},
"Children": [ //List of child objects to modify
{
"ChildName": "Example", //Name of the child object to modify (Find these in unity explorer)
"Enabled": false, //Set the child object to active or inactive (visible or invisible)
"PartTransform": { //Transform settings for the child object
"LocalPosition": { //Relative Position:
"X": 0.0, //X coordinate
"Y": 0.0, //Y coordinate
"Z": 0.0 //Z coordinate
},
"Scale": { //Relative scale:
"X": 1.0, //X scale
"Y": 1.0, //Y scale
"Z": 1.0 //Z scale
},
"Rotation": { //Relative Angle:
"X": 0.0, //X axis
"Y": 0.0, //Y axis
"Z": 0.0 //Z axis
}
},
}
]
}
],
"InternalEnabled": false //Enable or disable these customization settings
}
]