Phaser API Documentation

  Version: 

Member of: Phaser.Structs.Size

destroy()

Description:

Destroys this Size component.

This clears the local properties and any parent object, if set.

A destroyed Size component cannot be re-used.

Examples:
Since: 3.16.0
Source: src/structs/Size.js (Line 648)