Version: 2020.2

ComputeShaderImporter.preprocessorOverride

切换到手册
public PreprocessorOverride preprocessorOverride ;

描述

The preprocessor that Unity uses to compile this compute shader.