dgodot

Godot - D - Export Keyword


I am trying to export a NodePath.

Whats the export keyword in Godot-d?

I've tried @export and @Export but still no luck.


Solution

  • It's @Property (not to be confused with similarly @property class function attribute). Example : @Property NodePath myNode;