if WITH_EDITORONLY_DATA how to access in game?
Is there any way to access data having if WITH_EDITORONLY_DATA in game.
I am writing a plugin which needs access to a data having the macro
Is it possible to access the data without changing the sourcecode? I need the data in game only to perform a test if the test is successful, I will start to look to implement the plugin in the game. And the game will do the calculation in the editor so, it wont be needing to perform those calculation while the game runs.
asked Sep 04 '14 at 07:56 AM in C++ Programming
As the name of the macro suggests, that code is only available in the Editor.
In general, you cannot access Editor functionality from a game. The only exception is if you run your Editor as the game, i.e. you launch a game that uses the Editor executable.
I would not recommend changing the source code. The intent of the macro is pretty clear, and trying to circumvent it will likely open a can of worms.
answered Sep 04 '14 at 04:42 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here