Version: 2022.2
public bool hasErrors ;

描述

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