From 7eb832518081f15477150c561d6767fe35d17221 Mon Sep 17 00:00:00 2001 From: Raul Santos Date: Tue, 31 Jan 2023 18:21:09 +0100 Subject: Fix C# examples in documentation - Fix documentation after C# renames. - Add missing `partial` in C# class declarations. - Change `delta` parameter type to `double` in C#. - Ensure parameters match base declaration. - Use `$` string interpolation in C#. - Fix invalid or outdated C# code. - Changed some examples to follow our style guide more closely. --- .../GodotSharp/GodotSharp/Core/Extensions/PackedSceneExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/PackedSceneExtensions.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/PackedSceneExtensions.cs index 8463403096..4610761bdb 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/PackedSceneExtensions.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/PackedSceneExtensions.cs @@ -7,7 +7,7 @@ namespace Godot /// /// Instantiates the scene's node hierarchy, erroring on failure. /// Triggers child scene instantiation(s). Triggers a - /// notification on the root node. + /// notification on the root node. /// /// /// @@ -23,7 +23,7 @@ namespace Godot /// /// Instantiates the scene's node hierarchy, returning on failure. /// Triggers child scene instantiation(s). Triggers a - /// notification on the root node. + /// notification on the root node. /// /// /// The type to cast to. Should be a descendant of . -- cgit v1.2.3