Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ShaderVariantCollection.Remove

Declaration

public bool Remove(ShaderVariantCollection.ShaderVariant variant);

Parameters

variant Shader variant to add.

Returns

bool False if was not in the collection.

Description

Removes shader variant from the collection.

Additional resources: Add, Contains.