Specify when to start and wait for Loader processing - Katsuya100/SceneLayer-Trial GitHub Wiki
You can specify when to start processing a Loader
and when to wait.
First, find the Loader
you want to optimize in the Layer
inspector.
Open [Advanced Options].
For example, to adjust the start timing of the Load process, change [Load > Start].
To adjust the wait timing for the Destroy process, change [Load > Wait For Complete].
There are four different values that can be selected here, as follows
*However, some of these options may not be available depending on the parameter situation.
タイミング | 説明 |
---|---|
PreTransition | Pre-transition.At the beginning of the exit from the previous layer. |
Transition | In-transition.At the time of completion of the exit from the previous layer. |
PostTransition | Post-Transition.At the start of entry to the next layer. |
Lazy | Do not wait for completion.Used for LazyLoad and other processes. |
*Please see Sequence Event for more information on timing.
If Instantiate runs before Load
A special condition may be set as shown in the image below.
It is set up so that Instantiate
is executed before Load
is run.
In this case, FailSafe will automatically call Load
and Instantiate will be executed immediately afterwards.