Skip to content

Preload

Katsuya100 edited this page Dec 11, 2022 · 1 revision

You may want to perform a pre-Load process while in the previous scene, for example, when you want to optimize the scene.
Or you may want to return to the current scene immediately.
You may want to keep the used objects without releasing them after the transition.
In such cases, the Preload can be utilized.

First, find the Loader you want to preload from the Layer inspector.
image

Select [Advanced Options > Load From].
image

A popup will appear, allowing you to specify at which Layer you wish to preload.
In this case, the Layer to be preloaded will be highlighted in the SceneLayerEditor.
image image

In the example in the above image, a Prefab used in a Layer called InGamePlay is loaded in a Layer called Ready.

注意点

Note that an error will occur if the path does not go through to your Layer.
If the path is not followed, the error is visualized like this.
image

日本語

ページ一覧

基本

応用

エディタ

製品版の機能

その他

English

Page List

Basic usage

Applied Usage

Editor Usage

Features of the Pro Version

Others

Clone this wiki locally