Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

How to expose a struct type variable from dll, which is not declared [Serializable]

$
0
0
In my project I'm using a dll that contains a public struct like the following:
` public struct DLLStructName { public float SomeValue; } ` It is **not** declared `[Serializable]`. Now I'm declaring: ` public class MyClass { public DLLStructName structObject; } ` What I would like to achieve is that in the editor property view I can modify `DLLStructName.SomeValue`.
What is the best way to achieve this?

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>