Hello,
II'm trying to get the Icon from an item Category but it only returns null for me. I am trying
It's weird because I was able to use
successfully. Or, am I missing something?
Thank you,
Nathan
II'm trying to get the Icon from an item Category but it only returns null for me. I am trying
Code:
if(itemInfo.Item.Category.TryGetCategoryAttributeValue<Sprite>("Icon", out var icon)) {}
It's weird because I was able to use
Code:
if (itemInfo.Item.TryGetAttributeValue<Sprite>("Icon", out var icon)){}
Thank you,
Nathan