diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2020-11-05 11:04:25 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2021-04-22 21:13:43 +0200 |
commit | 497c3f97b21292a94946f779f95dfefb0930a8ac (patch) | |
tree | 9a0c72e62a34e6bc00eec727b05c2324b5f6c287 /doc | |
parent | c7b97f077a0f62d9e280adbddddc901f35e4f40f (diff) |
Call randomize() automatically
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/@GlobalScope.xml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml index 25f8f22d44..95108f1613 100644 --- a/doc/classes/@GlobalScope.xml +++ b/doc/classes/@GlobalScope.xml @@ -804,10 +804,7 @@ <method name="randomize"> <description> Randomizes the seed (or the internal state) of the random number generator. Current implementation reseeds using a number based on time. - [codeblock] - func _ready(): - randomize() - [/codeblock] + [b]Note:[/b] This method is called automatically when the project is run. If you need to fix the seed to have reproducible results, use [method seed] to initialize the random number generator. </description> </method> <method name="range_lerp"> |