Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ScriptAsset

Hierarchy

Implements

Index

Constructors

constructor

  • new ScriptAsset(id: string, path: string): ScriptAsset

Properties

id

id: string

onDestroyed

onDestroyed: Trigger<Asset>

originalPath

originalPath: string

path

path: string

script

script: string

Methods

Private _assetPathFilter

  • _assetPathFilter(path: string): string
  • Parameters

    • path: string

    Returns string

Private _load

destroy

  • destroy(): void

destroyed

  • destroyed(): boolean

execute

inUse

  • inUse(): boolean
  • Returns boolean

Generated using TypeDoc