Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetOverrideShaderChunkSettingsForPlatform(BuildTarget, bool)

Enable this to override the default shader variant chunk settings.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.

Remarks

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