Jump to content

Exposing Classes to UnigineScript


photo

Recommended Posts

Hi there,

 

In c# - Is it possible to expose entire classes to UnigineScript in the same way C++ does?  ie. using Unigine::Interpreter::addExternClass()

 

All of our core legacy libraries are written in UnigineScript and we are currently looking into ways of writing new c# plugins whiles still being able to interact with our UnigineScript libraries.

 

Any help would be much appreciated.

 

Thanks,

Simon

Link to comment

Hi Simon,

 

Unfortunately, C# API lacks part of a functionality for interop with the UnigineScript.

I can't say right off how hard it would be to add a C# version of addExternClass, but adding a Reflection class to C# seems straightforward.

Wonder why it's still not there.

We'll create issues for missing interop features, most likely they will be available in the next SDK release.

Link to comment
×
×
  • Create New...