Options
All
  • Public
  • Public/Protected
  • All
Menu

The namespace containing tools to interact with the debugger.

namespace

Index

Functions

  • enableDebugDraw(instanceContainer: RuntimeInstanceContainer, enableDebugDraw: boolean, showHiddenInstances: boolean, showPointsNames: boolean, showCustomPoints: boolean): void
  • Enable or disable the debug draw.

    Parameters

    • instanceContainer: RuntimeInstanceContainer

      The current container.

    • enableDebugDraw: boolean

      true to enable the debug draw, false to disable it.

    • showHiddenInstances: boolean

      true to apply the debug draw to hidden objects.

    • showPointsNames: boolean

      true to show point names.

    • showCustomPoints: boolean

      true to show custom points of Sprite objects.

    Returns void

  • log(message: string, type: "info" | "warning" | "error", group: string): void
  • Logs a message to the console.

    Parameters

    • message: string

      The message to log.

    • type: "info" | "warning" | "error"

      The type of log (info, warning or error).

    • group: string

      The group of messages it belongs to.

    Returns void

Generated using TypeDoc