When the Category specifier of a UPROPERTY has more than one word, using the UCLASS specifier HideCategories requires the category name to be written all as one word even if the UPROPERTY is separated by spaces.
Ex:
Both (Category = "New Random Category") and (Category = "NewRandomCategory") would require UCLASS(HideCategories = ("NewRandomCategory"))
This could be confusing since the syntax of the categories does not match.
HideCategories = ("New Random Category")
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "New Random Category")
bool Choice;
Result:
Choice variable is visible in the editor even though the Category and HideCategories names match.
Expected:
Properties are hidden when HideCategories string matches Category name string
Head over to the existing Questions & Answers thread and let us know what's up.
4 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.13.2, 4.14 |
Created | Nov 4, 2016 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |