Editor Scripting API
    Preparing search index...

    Settings used with LensScripting.Canvas.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    enabled: boolean
    id: Uuid

    The unique id of the entity.

    name: string
    pivot: vec2
    sceneObject: SceneObject
    sortingType: SortingType
    type: string

    The entity's type.

    unitType: UnitType
    worldSpaceRect: Editor.Rect

    Methods

    • Beta

      Parameters

      • type: string

      Returns boolean

    • Beta

      Swap this entity for another one based on a JSON of the current entity id and the target entity id.

      Parameters

      • referenceMapping: object

      Returns void

    MMNEPVFCICPMFPCPTTAAATR