public enum AsyncLoadStrategy
Specifies how async load and unload calls are handled. This controls both how async
load and unload calls
are queued up as well as how the async resources are activated and deactivated by
Unity.
This enum is primarily used by Chunk Streamers.
Name | Value | Description |
---|---|---|
OneChunkAtATime | 0 | At most, a single chunk (scene, asset bundle, prefab, etc.) will be asynchronously queued up, loaded/unloaded, and activated/deactivated (integrated into/out of the scene). |
OneCellAtATime | 1 | All chunks for a single cell will be queued up and loaded/unloaded at the same time. Those same chunks may be activated/deactivated (integrated into/out of the scene) in the same frame or in different frames. |
AllTogether | 2 | All chunks for every cell in a given load/unload operation will be queued up and loaded/unloaded at the same time. Those same chunks may be activated/deactivated (integrated into/out of the scene) in the same frame or in different frames. |