文档

Unity Engine

Unity Engine

enablePostProcessor

When set to true, the AssetPostprocessor hooks will be called during texture generation. The following will hold for any AssetPostprocessors triggered through TextureGenerator.GenerateTexture - When the postprocessor is invoked AssetPostprocessor.assetPath will be set to the assetPath value in this structure. - The value of AssetPostprocessor.context will be set to null. - Only OnPostprocessTexture, OnPostprocessCubemap,... is called. The OnPreprocessTexture functions are not called.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool enablePostProcessor { get; set; }