forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add basic implementation of generated ctor for CreateManagedForGodotO…
…bjectBinding
- Loading branch information
Showing
5 changed files
with
78 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
modules/mono/glue/GodotSharp/GodotSharp/Core/Bridge/ScriptManagerBridge.ctor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// using System; | ||
// using System.Collections.Generic; | ||
// | ||
// namespace Godot; | ||
// | ||
// // Generated | ||
// internal static partial class GodotObjectConstructors | ||
// { | ||
// private static readonly Dictionary<string, Func<IntPtr, GodotObject>> BuiltinMethodConstructors; | ||
// | ||
// static GodotObjectConstructors() | ||
// { | ||
// BuiltinMethodConstructors = new(); | ||
// BuiltinMethodConstructors.Add("", ptr => new GodotObject(ptr)); | ||
// } | ||
// | ||
// public static partial GodotObject Invoke(string nativeTypeNameStr, IntPtr nativeObjectPtr) | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters