lars.saalbach Posted October 3, 2013 Share Posted October 3, 2013 Hello together, I have a little problem: I would like to cast a string with "GUI_ALIGN_CENTER" to the defined Ungine -> https://developer.unigine.com/en/docs/1.0/scripting/library/gui/class.gui#GUI_ALIGN_CENTER Is this possible? int("GUI_ALIGN_CENTER") or call("GUI_ALIGN_CENTER") isn't working. Also it would be cool if "GUI_ALIGN_CENTER | GUI_ALIGN_OVERLAP" would work aswell. I could write a select-case for this but maybe theres a better solution?Thanks for the feedback Greetings Lars Link to comment
ulf.schroeter Posted October 3, 2013 Share Posted October 3, 2013 Don't think this is possible, go for simple switch-case Link to comment
lars.saalbach Posted October 3, 2013 Author Share Posted October 3, 2013 Alright! Thanks for the fast response. Link to comment
Recommended Posts