Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Space

Representation of all Scenes.

Serves as the main directory for uploaded assets and scripts.

Space methods allow you to

  • Navigate between Scenes
  • Manage Space properties

Index

Variables

name: string
returns

name of this Space.

Functions

  • finishPlayMode(): void
  • finishPlayMode(imageId: string): void
  • deprecated

    Use Application.quit instead.

    Returns void

  • deprecated

    Use Application.quit instead.

    Parameters

    • imageId: string

    Returns void

  • getProperty(key: string): string
  • Gets a string property from this Space.

    Parameters

    • key: string

      name of property to find

    Returns string

    custom property. Returns null if no property is found.

  • goToNextScene(): void
  • Sets active Scene to next index from current Scene.

    Returns void

  • goToPreviousScene(): void
  • Sets active Scene to previous index from current Scene.

    Returns void

  • goToScene(sceneIndex: number): void
  • Sets active scene to sceneIndex.

    Parameters

    • sceneIndex: number

    Returns void

  • log(s: string): void
  • deprecated

    Use Debug.log instead.

    Parameters

    • s: string

    Returns void

  • setProperty(key: string, value: string): void
  • Sets a string property to this Space.

    Parameters

    • key: string

      property name.

    • value: string

      property value.

    Returns void

  • showSceneNavigation(show: boolean): void