- Home /
How to get referenced object from TransparentProxy?
Hi all,
in my project, I'm using an external DLL to access some third party software.
Usually (meaning in applications outside Unity), I get the requested objects just fine, can execute methods and so on. However, in Unity the properties return "TransparentProxies" instead of the promised objects and the methods just don't work. (see: https://imgur.com/a/2BuNw [Unity on the right, other project left])
Some research showed me that the whole proxy-thing seems to be a huge topic - which I know nothing about. And since I didn't find any useful examples, I was hoping one of you guys could tell me how to access the actual objects I want.
Casting or conversion don't seem to work (would have been too easy I guess...).
Thanks a lot! Any advice is appreciated.
Also: I'm new to Unity in general and a bit confused about "Forum" vs "Answers"... I see both of the being used to ask questions, so which would be the right place to post something like this?
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Why does Unity does not see my DLLs? 1 Answer
Visual Studio Errors On Default Script 1 Answer
How to use external library (LanguageExt) in Unity? 0 Answers