Version: 2021.3
public bool hasErrors ;

描述

Indicates whether the shader has compilation errors (Read Only).