in the following code i have not defined ‘NOEXTRA’. so ‘PropertyFloat’ should be seen in editor but does not.
why?
UCLASS()
class BATTERYCOLLECTOR_API AMyActor : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
AMyActor();
// Called when the game starts or when spawned
virtual void BeginPlay() override;
// Called every frame
virtual void Tick( float DeltaSeconds ) override;
#ifndef NOEXTRA
UPROPERTY(EditAnywhere)
float PropertyFloat;
#endif
};