Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

ShaderVariantCollection.Add

public bool Add(ShaderVariantCollection.ShaderVariant variant);

Parameters

variantShader variant to add.

Returns

bool False if already in the collection.

Description

Adds a new shader variant to the collection.

See Also: Remove, Contains.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答