Only to complete the great answer by @kishoreven, you can wrap the whole method inside WITH_EDITOR
preprocessor definition:
#if WITH_EDITOR
void ASomeActor::PostEditChangeProperty(struct FPropertyChangedEvent& e)
{
// ...
}
#endif
Only to complete the great answer by @kishoreven, you can wrap the whole method inside WITH_EDITOR
preprocessor definition:
#if WITH_EDITOR
void ASomeActor::PostEditChangeProperty(struct FPropertyChangedEvent& e)
{
// ...
}
#endif