[SOLVED] Exporting enums


photo

Recommended Posts

Is it possible to export enum types from C++ to UnigineScript.

I couldn't find anything about this in the documentation.

 

For example, if I want use a set of functions like the following in UnigineScript:

enum State {
 STATE_0,
 ...
 STATE_i
}

void setState(State state);
State getState();

Link to post