Closed CrosRoad95 closed 2 years ago
when i'm trying to add internal classes, no properties and methods get added
ClearScript provides a number of ways to expose non-public resources. Try something like this:
engine.AddHostType("Something", HostItemFlags.PrivateAccess, typeof(Something));
Good luck!
Please reopen this issue if you have additional questions about this topic. Thank you!
Do host type need to be public? when i'm trying to add internal classes, no properties and methods get added