diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-01 07:25:26 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-01 07:25:26 +0100 |
commit | 6749f1f85ad32109de4daa86e6d8d1125adefc5b (patch) | |
tree | fd73043e2277a124a27b25bb33049ce11eee318a /doc/classes/Tween.xml | |
parent | ab2f8ab6ce0afed889547467bbb1a32b05215ccd (diff) | |
parent | 7eb832518081f15477150c561d6767fe35d17221 (diff) |
Merge pull request #72462 from raulsntos/docs/dotnet-renames
Fix C# examples in documentation for 4.0
Diffstat (limited to 'doc/classes/Tween.xml')
-rw-r--r-- | doc/classes/Tween.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/Tween.xml b/doc/classes/Tween.xml index 9bb92cf362..16e4ce3714 100644 --- a/doc/classes/Tween.xml +++ b/doc/classes/Tween.xml @@ -77,13 +77,13 @@ tween = create_tween() [/gdscript] [csharp] - private Tween tween; + private Tween _tween; public void Animate() { - if (tween != null) - tween.Kill(); // Abort the previous animation - tween = CreateTween(); + if (_tween != null) + _tween.Kill(); // Abort the previous animation + _tween = CreateTween(); } [/csharp] [/codeblocks] |