ドキュメント

Unity Engine

Unity Engine

SetOverrideShaderChunkSettingsForPlatform(BuildTarget, bool)

Enable this to override the default shader variant chunk settings.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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