UPROPERTY BlueprintReadWrite not work
Hello Guys sorry about my english rsrs, I have a terrible problem with Visual Studio 2015(Without updates)... I created a class but when I compile the class 2 errors appear on Error List, I made some tests and the error is because "BlueprintReadWrite" is not recognized, when i starting to write and the suggestions to complete appears that arg isn't showing. If I comment this part of code in both files .h and .cpp the complilation accurs normally. Can someone help me please?
My code is:
public: //Make Health Property UPROPERTY(BlueprintReadWrite, EditAnywhere, Catergory = "Base Character") float health = 100;
asked Aug 29 '16 at 01:44 PM in C++ Programming
is the pasted code the same as in your .h file? If so, you got a typo for "Catergory" -> "Category"
Also, do you have a "GENERATED_UCLASS_BODY()" in your .h file?
answered Aug 29 '16 at 03:36 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here