PlayerSettings.SetOverrideShaderChunkSettingsForPlatform

Switch to Manual

Declaration

public static void SetOverrideShaderChunkSettingsForPlatform(BuildTarget buildTarget, bool value);

Parameters

buildTarget The build target to set the override for.
value Set the value to true if you want settings for the buildTarget to override the default settings.

Description

Enable this to override the default shader variant chunk settings.

If you set SetOverrideShaderChunkSettingsForPlatform to true for a build target, you can do the following:

Additional resources: PlayerSettings.GetOverrideShaderChunkSettingsForPlatform.


Did you find this page useful? Please give it a rating: