Skip to content

Format

typescript
Texture.isCrash

class: Texture

Description

(Read Only) Whether the current texture has encountered an exception.

Parameters

param_nametypedescription

Return

typedescription
booleanWhether the current texture has encountered an exception.

Code Example

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