javier.serrano Posted December 7, 2016 Share Posted December 7, 2016 Hi, I am developing an editor plugin and I need finding the source code file from user class ID. Does the engine provide any way to find this archive? Thanks a lot. Link to comment
ded Posted December 8, 2016 Share Posted December 8, 2016 Hi Javier, I'm afraid there is no any straightforward way to determine the path to the file where the class was defined. And we can't think of any clever trick for this, except the class itself will tell where it is (then the __FILE__ macro can be useful) Link to comment
javier.serrano Posted December 12, 2016 Author Share Posted December 12, 2016 Thanks for your response. It was really useful and I got a nice solution using __FILE__ macro. Link to comment
Recommended Posts