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

ShaderData.VariantCompileInfo.Success

public bool Success;

Description

Indicates whether the variant compilation succeeded (Read Only). If it did, it is true. Otherwise, this is false and ShaderData.VariantCompileInfo.Messages contains the errors.