Version: 2022.3
언어: 한국어

AssetPostprocessor.OnAssignMaterialModel(Material,Renderer)

매뉴얼로 전환

설명

Feeds a source material.

The returned material will be assigned to the renderer. If you return null, Unity will use its default material finding / generation method to assign a material. The sourceMaterial is generated directly from the model before importing and will be destroyed immediately after OnAssignMaterial.