godot/modules/mono/glue/GodotSharp
Raul Santos a91a3d01f8
C#: Create script instance of reloaded scripts even if they're not tools
Scripts that are instantiated at some point will always be recreated
if they ever become placeholders to prevent non-tool scripts
instantiated manually by users to become placeholders, if they
do become placeholders due to errors that prevent instantiation
(such as a missing parameterless constructor) these scripts
will also be recreated replacing the temporary placeholder.

If a script is marked as a tool but becomes a non-tool script
in a rebuild, the script will become a placeholder and will
no longer be considered applicable to be replaced by an instance
since the user explicitly removed the Tool attribute.
2022-09-04 20:39:37 +02:00
..
ExternalAnnotations C#: Re-implement assembly reloading with ALCs 2022-08-22 03:36:51 +02:00
Godot.SourceGenerators.Internal C#: Replace P/Invoke with delegate pointers 2022-08-22 03:36:52 +02:00
GodotPlugins Fix various C# exceptions 2022-08-26 16:56:00 +02:00
GodotSharp C#: Create script instance of reloaded scripts even if they're not tools 2022-09-04 20:39:37 +02:00
GodotSharpEditor C#: Make GodotSharp API a NuGet package 2022-08-22 03:36:51 +02:00
.editorconfig C#: Code cleanup and greatly reduce use of C# pointers 2022-08-22 03:36:51 +02:00
.gitignore Mono/C#: Re-structure API solution and GodotTools post-build target 2019-12-28 20:48:55 +01:00
GodotSharp.sln C#: Replace P/Invoke with delegate pointers 2022-08-22 03:36:52 +02:00
GodotSharp.sln.DotSettings C#: Re-implement assembly reloading with ALCs 2022-08-22 03:36:51 +02:00