I use CustomSlotMaterials.Add(Slot,Material) to assign materials to multiple slots.
example)
SkeletonMecanim.CustomSlotMaterials.Add(SkeletonMecanim.skeleton.FindSlot("Body"), BodyMaterial)
SkeletonMecanim.CustomSlotMaterials.Add(SkeletonMecanim.skeleton.FindSlot("Hair"), HairMaterial)
I had to use the same character in the UI, so I created a SkeletonGraphic and tried to access CustomSlotMaterials in the same way, but there is no CustomSlotMaterials in SkeletonGraphic. Is there a way? :'((I am using translator.)