From caf1ae8be7697408d0647a5e88553e6192892ea7 Mon Sep 17 00:00:00 2001 From: Blue Fire Date: Tue, 9 Jan 2024 22:10:50 +0000 Subject: [PATCH] Update & publish new doc versions --- docs/main/_sources/flame/components.md.txt | 2 +- docs/main/flame/components.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/main/_sources/flame/components.md.txt b/docs/main/_sources/flame/components.md.txt index e62556ebf..2dfa702d5 100644 --- a/docs/main/_sources/flame/components.md.txt +++ b/docs/main/_sources/flame/components.md.txt @@ -47,7 +47,7 @@ it is only run once even if the component is removed both by using the parents r the `Component` remove method. The `onLoad` method can be overridden to run asynchronous initialization code for the component, -like loading an image for example. This method is executed after `onGameResize`, but before +like loading an image for example. This method is executed before `onGameResize` and `onMount`. This method is guaranteed to execute only once during the lifetime of the component, so you can think of it as an "asynchronous constructor". diff --git a/docs/main/flame/components.html b/docs/main/flame/components.html index 7634b2556..e76e1ed1c 100644 --- a/docs/main/flame/components.html +++ b/docs/main/flame/components.html @@ -451,7 +451,7 @@

Component lifecycleComponent remove method.

The onLoad method can be overridden to run asynchronous initialization code for the component, -like loading an image for example. This method is executed after onGameResize, but before +like loading an image for example. This method is executed before onGameResize and onMount. This method is guaranteed to execute only once during the lifetime of the component, so you can think of it as an “asynchronous constructor”.

The onMount method runs every time when the component is mounted into a game tree. This means that