From 93f4f9e07683aa1872106991c3649c768ea38f83 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 31 Jul 2021 22:53:46 +0200 Subject: [PATCH] Link to the Random number generation tutorial in RandomNumberGenerator This was done in `master` already, but not in `3.x`. --- doc/classes/Engine.xml | 2 +- doc/classes/RandomNumberGenerator.xml | 1 + doc/classes/ResourceImporter.xml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/classes/Engine.xml b/doc/classes/Engine.xml index 60f12fdace..c89bf0ce0c 100644 --- a/doc/classes/Engine.xml +++ b/doc/classes/Engine.xml @@ -151,7 +151,7 @@ else: simulate_physics() [/codeblock] - See [url=https://docs.godotengine.org/en/stable/tutorials/misc/running_code_in_the_editor.html]Running code in the editor[/url] in the documentation for more information. + See [url=https://docs.godotengine.org/en/3.3/tutorials/misc/running_code_in_the_editor.html]Running code in the editor[/url] in the documentation for more information. [b]Note:[/b] To detect whether the script is run from an editor [i]build[/i] (e.g. when pressing [code]F5[/code]), use [method OS.has_feature] with the [code]"editor"[/code] argument instead. [code]OS.has_feature("editor")[/code] will evaluate to [code]true[/code] both when the code is running in the editor and when running the project from the editor, but it will evaluate to [code]false[/code] when the code is run from an exported project. diff --git a/doc/classes/RandomNumberGenerator.xml b/doc/classes/RandomNumberGenerator.xml index de26f5011f..60d5bab247 100644 --- a/doc/classes/RandomNumberGenerator.xml +++ b/doc/classes/RandomNumberGenerator.xml @@ -16,6 +16,7 @@ [b]Note:[/b] The default values of [member seed] and [member state] properties are pseudo-random, and changes when calling [method randomize]. The [code]0[/code] value documented here is a placeholder, and not the actual default seed. + https://docs.godotengine.org/en/3.3/tutorials/math/random_number_generation.html diff --git a/doc/classes/ResourceImporter.xml b/doc/classes/ResourceImporter.xml index 40b883312a..c7fd811881 100644 --- a/doc/classes/ResourceImporter.xml +++ b/doc/classes/ResourceImporter.xml @@ -7,7 +7,7 @@ This is the base class for the resource importers implemented in core. To implement your own resource importers using editor plugins, see [EditorImportPlugin]. - https://docs.godotengine.org/en/stable/tutorials/plugins/editor/import_plugins.html + https://docs.godotengine.org/en/3.3/tutorials/plugins/editor/import_plugins.html