Hierarchy

Constructors

Properties

_anchor: Vector2
_flip: [boolean, boolean]
_positionType: PositionType
_realPosition: Vector2
_realSize: Vector2
_rotation: number
_size: Vector2
_sizeType: SizeType
gameObject: GameObject
onActiveChanges: Event<Component>
onAnchorUpdate: Event<SizedComponent>
onFlipUpdate: Event<SizedComponent>
onPositionUpdate: Event<SizedComponent>
onRotationUpdate: Event<SizedComponent>
onSizeUpdate: Event<SizedComponent>
onSomeUpdate: Event<SizedComponent>
smoothing: boolean

Accessors

Methods

  • Utility function for logging. Logs using console.error and appends info about gameObject and component

    Parameters

    • Rest ...obj: any

      thing to log

    Returns void

  • Utility function for logging. Logs using console.log and appends info about gameObject and component

    Parameters

    • Rest ...obj: any

      thing to log

    Returns void

  • Utility function for logging. Logs using console.warn and appends info about gameObject and component

    Parameters

    • Rest ...obj: any

      thing to log

    Returns void

Generated using TypeDoc