Lens Scripting API
    Preparing search index...
    Index

    Constructors

    Accessors

    Methods

    • Returns void

    • Change states

      Parameters

      • stateName: string

        to enter

      • skipOnEnter: boolean = false

        set to true in order to call enterState without calling that state's onEnter() function

      Returns void

    • Send a signal to the statemachine to possibly change states

      Parameters

      • signal: string

        name of the signal

      • data: any = null

        optional data

      Returns void