User Tools

Site Tools


preview:api:component

COMPONENT

Properties


Enabled

Runtime only

  • Type: boolean
  • Expected: boolean value

Functions


getOwner

GAME_OBJECT getOwner()


getLevel

LEVEL getLevel()


isPreInitialized

boolean isPreInitialized()


isInitialized

boolean isInitialized()


isEnabled

boolean isEnabled()

Deprecated since version 1.8.1; use Enabled property instead


hasEnabledFlag

boolean hasEnabledFlag()


init

onFinalize

Virtual function, Protected function

void onFinalize(isClearingLevel)

Name Type Description
isClearingLevel boolean

onDestroy

Virtual function, Protected function

void onDestroy(isClearingLevel)

Name Type Description
isClearingLevel boolean

onEnabled

onDisabled

getComponentType

component_type getComponentType()

preview/api/component.txt · Last modified: 2023/12/12 12:15 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki