Hey!
I already figured this out once (I still have the node without exec pins referenced in a blueprint) and i remember i used it :&
I want to create a property IsWithEditor that I can use in blueprints. I dont want to make it a function, why does this not work:
UPROPERTY(BlueprintReadOnly, Category = "ServerHelp")
#if WITH_EDITOR
bool IsWithEditor = true;
#else
bool IsWithEditor = false;
#endif
I know I could just make a function but there has to be a way with it being a property…