I'm testing Godot and I want to export some variables such as the orientation of an entity object that i created.
here is the code :
export (String, Constants.ENTITY_ORIENTATION_LEFT, Constants.ENTITY_ORIENTATION_RIGHT) var orientation = Constants.ENTITY_ORIENTATION_LEFT
but i get the following error :
Entity.gd:3 - Parse Error: Expected ")" or "," after the export hint.
But if I hard code with regular string such as "left" and "right", it works.
Any tip ? Thanks