godot/modules/mono/editor/script_templates
Ignacio Roldán Etcheverry 0c30c678f0 C#: Re-introduce generic Godot Array and Dictionary
This new version does not support the following type arguments:

- Generic types
- Array of Godot Object (Godot.Object[]) or derived types

The new implementation uses delegate pointers to call the Variant
conversion methods. We do type checking only once in the static
constructor to get the conversion delegates.
Now, we no longer need to do type checking every time, and we no
longer have to box value types.
This is the best implementation I could come up with, as C# generics
don't support anything similar to C++ template specializations.
2022-08-22 03:36:52 +02:00
..
CharacterBody2D C#: Add dedicated Variant struct, replacing System.Object 2022-08-22 03:36:52 +02:00
CharacterBody3D C#: Add dedicated Variant struct, replacing System.Object 2022-08-22 03:36:52 +02:00
EditorPlugin Refactor GDScript/C# script templates logic to be editor-only 2022-03-28 16:21:00 +02:00
EditorScenePostImport Fix EditorScenePostImport templates for C# 2022-06-16 19:29:59 +02:00
EditorScript Refactor GDScript/C# script templates logic to be editor-only 2022-03-28 16:21:00 +02:00
Node Refactor GDScript/C# script templates logic to be editor-only 2022-03-28 16:21:00 +02:00
Object Refactor GDScript/C# script templates logic to be editor-only 2022-03-28 16:21:00 +02:00
VisualShaderNodeCustom C#: Re-introduce generic Godot Array and Dictionary 2022-08-22 03:36:52 +02:00
SCsub Refactor GDScript/C# script templates logic to be editor-only 2022-03-28 16:21:00 +02:00