User Tools

Site Tools


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()

api/component.txt · Last modified: 2022/02/15 14:50 (external edit)