tjmclain / YarnSpinner-GodotSharp

MIT License
0 stars 0 forks source link

Build and cache offline data when exporting a Godot project #10

Open tjmclain opened 1 year ago

tjmclain commented 1 year ago
tjmclain commented 1 year ago

Use EditorExportPlugin for this. https://docs.godotengine.org/en/stable/classes/class_editorexportplugin.html

tjmclain commented 1 year ago

Use TOOLS preprocessor tag to determine whether or not we're in the editor player. Engine.IsEditorHint only works in the editor, not the editor player

https://docs.godotengine.org/en/stable/tutorials/scripting/c_sharp/c_sharp_features.html#full-list-of-defines