OpenDoor.h errors

Im having trouble with setting up this code.

whenever i leave the UProperty class without a semicolon at the end the next line(float and ATriggervolume) gives an error saying it expects a semicolon.

when i do put a semicolon the UProperty gives an error saying function definition not found.
anyone faced this problem?

    UProperty(VisibleAnywhere)
float OpenAngle = 90.f;

UProperty(EditAnywhere);
ATriggerVolume* PressurePlate;

Found the problem, i wrote the rest of property in small letters.

UPROPERTY and UProperty are two different things.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms