Version: 2017.2

ProceduralMaterial.CacheProceduralProperty

Cambiar al Manual
public void CacheProceduralProperty (string inputName, bool value);

Descripción

Especifica si una ProceduralProperty nombrada se debe almacenar en caché para ajustar el tiempo de ejecución eficiente.

Set this to true for all properties that you expect to be tweaking. It will take effect the next time the textures are rebuild, so call RebuildTextures after setting up these flags in order to prepare the cache. The fewer properties have caching enabled, the more efficient rebuilding the textures will be so consider carefully which properties are actually going to be changed. While modified properties are automatically cached for the next rebuild, this cache flag is persistent.

See Also: IsProceduralPropertyCached, ClearCache.