Skip to content

Commit 5264ca7

Browse files
committed
[Resource loading] Add a section about objects
1 parent cca414f commit 5264ca7

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

docs/gdevelop5/all-features/resources-loading/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,18 @@ Inside the loading scene, use:
5555

5656
![](loading-screen-events.png)
5757

58+
## Load an object independently
59+
60+
Usually, all objects are loaded with their scene. When a scene have a lot of resources, you might want to choose when to load and unload resources of heaviest objects. For this, you must select **Preload with action** for the **Resources preloading** property of your objects.
61+
62+
![](object-preload-property.png)
63+
64+
You can then use the **Preload object** and **Unload object** actions.
65+
66+
![](object-preload-action.png)
67+
68+
![](object-preload-events.png)
69+
5870
## Reference
5971

6072
All actions, conditions and expressions are listed in [the scene reference page](/gdevelop5/all-features/scene/reference/).
16.4 KB
Loading
11.1 KB
Loading
6.86 KB
Loading

0 commit comments

Comments
 (0)