Skip to content

格式

typescript
Texture.isCrash

所属类: Texture

描述

(只读)当前纹理是否出现异常。

参数

参数名类型描述

返回值

类型描述
boolean当前纹理是否出现异常。

代码示例

typescript
let texture = Resources.Load<Texture>(Texture, "textureId");
texture.isCrash;