using Sandbox;
public sealed class StaticClothing : Component
{
[Property] private SkinnedModelRenderer ModelRenderer { get; set; }
[Property] private List<Sandbox.Clothing> ClothingOutfit { get; set; } = new();
protected override void OnStart()
{
var container = new ClothingContainer();
foreach ( Sandbox.Clothing item in ClothingOutfit )
{
container.Toggle( item );
}
container.Apply( ModelRenderer );
}
}