Version: 2022.3
public bool hasErrors ;

描述

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