Added dialogue manager plugin

This commit is contained in:
Matthew Barbour
2026-08-30 01:15:04 -05:00
parent e90ea3a0a4
commit f983ab64ce
186 changed files with 20125 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
class_name DMExportPlugin extends EditorExportPlugin
const IGNORED_PATHS: PackedStringArray = [
"/assets",
"/components",
"/views",
"inspector_plugin",
"test_scene"
]
func _get_name() -> String:
return "Dialogue Manager Export Plugin"
func _export_file(path: String, _type: String, _features: PackedStringArray) -> void:
var plugin_path: String = DMPlugin.get_plugin_path()
# Ignore any editor stuff
for ignored_path: String in IGNORED_PATHS:
if path.begins_with(plugin_path + ignored_path):
skip()
# Ignore C# stuff it not using dotnet
if path.begins_with(plugin_path) and not DMSettings.check_for_dotnet_solution() and path.ends_with(".cs"):
skip()