How can I access the ALandscape
class in my C++ Pawn? (So it can hold a reference to my landscape).
UPROPERTY(EditAnywhere) ALandscape* Landscape;
This throws an error, saying that ALandscape is not defined.
How can I access the ALandscape
class in my C++ Pawn? (So it can hold a reference to my landscape).
UPROPERTY(EditAnywhere) ALandscape* Landscape;
This throws an error, saying that ALandscape is not defined.
See my answer here: undecleared identifier FJsonObjectConverter only you’ll need to add Landscape module and include Landscape.h header.