Merge pull request #71638 from raulsntos/dotnet/export-plugin
C#: Implement `ExportPlugin::_get_name` and move `GLOBAL_DEF` to CSharpLanguage
This commit is contained in:
commit
5dd3a6dbe2
5 changed files with 14 additions and 8 deletions
|
|
@ -113,6 +113,11 @@ void CSharpLanguage::init() {
|
|||
BindingsGenerator::handle_cmdline_args(cmdline_args);
|
||||
#endif
|
||||
|
||||
GLOBAL_DEF("dotnet/project/assembly_name", "");
|
||||
#ifdef TOOLS_ENABLED
|
||||
GLOBAL_DEF("dotnet/project/solution_directory", "");
|
||||
#endif
|
||||
|
||||
gdmono = memnew(GDMono);
|
||||
gdmono->initialize();
|
||||
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@ namespace GodotTools.Export
|
|||
{
|
||||
public partial class ExportPlugin : EditorExportPlugin
|
||||
{
|
||||
public override string _GetName() => "C#";
|
||||
|
||||
private List<string> _tempFolders = new List<string>();
|
||||
|
||||
public void RegisterExportSettings()
|
||||
|
|
|
|||
|
|
@ -411,8 +411,6 @@ namespace GodotTools
|
|||
|
||||
_editorSettings = editorInterface.GetEditorSettings();
|
||||
|
||||
GodotSharpDirs.RegisterProjectSettings();
|
||||
|
||||
_errorDialog = new AcceptDialog();
|
||||
editorBaseControl.AddChild(_errorDialog);
|
||||
|
||||
|
|
|
|||
|
|
@ -48,12 +48,6 @@ namespace GodotTools.Internals
|
|||
}
|
||||
}
|
||||
|
||||
public static void RegisterProjectSettings()
|
||||
{
|
||||
GlobalDef("dotnet/project/assembly_name", "");
|
||||
GlobalDef("dotnet/project/solution_directory", "");
|
||||
}
|
||||
|
||||
public static void DetermineProjectLocation()
|
||||
{
|
||||
static string DetermineProjectName()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue