Jump to content

[SOLVED] how to export operator function into UnigineScript?


photo

Recommended Posts

Posted

I have created some class which can be operated by + - operator, but seems there is no way to export this operator into uniginescript.

 

If these operator need to export separately, how? Or does these operator don't need to export at all, the MakeExternClass will automatically export this for me?

Posted

I don't think this is supported, just constants, con-/destructors and functions.

Posted

you are right, I've checked engine\interpreter\Variable.cpp, there is no custom operator support in extern class.

×
×
  • Create New...