public void RegisterClothHook(ClothItemHook clothItemHook) { if (!clothes.ContainsKey(clothItemHook.clothItemType)) { clothes.Add(clothItemHook.clothItemType, clothItemHook); } }
public void LoadItem(ClothItem clothItem) { ClothItemHook itemHook = null; if (clothItem == null) { return; } itemHook = GetClothHook(clothItem.clothItemType); itemHook.LoadClothItem(clothItem); }