Options
All
  • Public
  • Public/Protected
  • All
Menu

Class System

Base class for all functional system managed by Director.

Hierarchy

Implements

Index

Properties

Protected _executeInEditMode

_executeInEditMode: boolean = false

Protected _id

_id: string = ""

Protected _priority

_priority: number = 0

Accessors

id

  • get id(): string
  • set id(id: string): void

priority

  • get priority(): number
  • set priority(value: number): void

Methods

init

  • init(): void

postUpdate

  • postUpdate(dt: number): void
  • Post update function of the system, it will be invoked after all components late update phase and before the rendering process.

    Parameters

    • dt: number

      Delta time after the last frame

    Returns void

update

  • update(dt: number): void
  • Update function of the system, it will be invoked between all components update phase and late update phase.

    Parameters

    • dt: number

      Delta time after the last frame

    Returns void

Static sortByPriority

Generated using TypeDoc