You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
C#/netcore: Add base desktop game export implementation
This base implementation is still very barebones but it defines the path for how exporting will work (at least when embedding the .NET runtime). Many manual steps are still needed, which should be automatized in the future. For example, in addition to the API assemblies, now you also need to copy the GodotPlugins assembly to each game project.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
using System;
|
||||
|
||||
namespace Godot.SourceGenerators.Sample
|
||||
{
|
||||
public partial class ScriptBoilerplate : Godot.Node
|
||||
public partial class ScriptBoilerplate : Node
|
||||
{
|
||||
private NodePath _nodePath;
|
||||
private int _velocity;
|
||||
@@ -17,5 +19,18 @@ namespace Godot.SourceGenerators.Sample
|
||||
_ = name;
|
||||
return 1;
|
||||
}
|
||||
|
||||
public void IgnoreThisMethodWithByRefParams(ref int a)
|
||||
{
|
||||
_ = a;
|
||||
}
|
||||
}
|
||||
|
||||
partial struct OuterClass
|
||||
{
|
||||
public partial class NesterClass : RefCounted
|
||||
{
|
||||
public override object _Get(StringName property) => null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user