mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
0c30c678f0
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. |
||
---|---|---|
.. | ||
basic.cs |