Version: 2017.2

ProceduralLoadingBehavior

enumeration

Switch to Manual

Description

ProceduralMaterial loading behavior.

Variables

DoNothingDoes not generate the textures automatically when the scene is loaded as it is set to "DoNothing". RebuildTextures() or RebuildTexturesImmediately() must be called to generate the textures.
GenerateGenerate the textures when loading to favor application's size (default on supported platform).
BakeAndKeepBake the textures to speed up loading and keep the ProceduralMaterial data so that it can still be tweaked and regenerated later on.
BakeAndDiscardBake the textures to speed up loading and discard the ProceduralMaterial data (default on unsupported platform).
CacheGenerate the textures when loading and cache them to disk/flash to speed up subsequent game/application startups.
DoNothingAndCacheDoes not generate the textures automatically when the scene is loaded as it is set to "DoNothing". RebuildTextures() or RebuildTexturesImmediately() must be called to generate the textures. After the textures have been generrated for the first time, they are cached to disk/flash to speed up subsequent game/application startups. This setting will not load the cached textures automatically when the scene is loaded as it is still set to "DoNothing". RebuildTextures() or RebuildTexturesImmediately() must be called again to load the previously cached textures.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961