Phaser API Documentation

  Version: 
Filter
Namespace: Components
Phaser.GameObjects.Components

Classes

Namespace

Methods

<static> ToJSON(gameObject)
Focus
Focus

Description:

Build a JSON representation of the given Game Object.

This is typically extended further by Game Object specific implementations.

Parameters:

name type description
gameObject Phaser.GameObjects.GameObject

The Game Object to export as JSON.

Returns:
Description:

A JSON representation of the Game Object.

Since: 3.0.0
Focus
Focus