Options
All
  • Public
  • Public/Protected
  • All
Menu

A behavior that forwards the Flippable interface to its object.

Hierarchy

Implements

Index

Methods

  • activate(enable: boolean): void
  • activated(): boolean
  • enableSynchronization(enable: boolean): void
  • flipX(enable: boolean): void
  • flipY(enable: boolean): void
  • getName(): string
  • getNameId(): number
  • getNetworkSyncData(): BehaviorNetworkSyncData
  • isFlippedX(): boolean
  • isFlippedY(): boolean
  • isSyncedOverNetwork(): boolean
  • onActivate(): void
  • onCreated(): void
  • onDeActivate(): void
  • onDestroy(): void
  • This method is called when the owner of the behavior is being removed from the scene and is about to be destroyed/reused later or when the behavior is removed from an object (can happen in case of hot-reloading only. Otherwise, behaviors are just de-activated, not removed. See onDeActivate).

    Returns void

  • onObjectHotReloaded(): void
  • updateFromBehaviorData(oldBehaviorData: any, newBehaviorData: any): boolean
  • updateFromNetworkSyncData(networkSyncData: BehaviorNetworkSyncData): void
  • usesLifecycleFunction(): boolean

Constructors

Properties

name: string
type: string

Generated using TypeDoc