Class ClickableGameObject

Represents clickable and drawable game object

Hierarchy

Constructors

Properties

enabled: boolean

Defines is this game object enabled in game.

Property

id: string

The unique id of this game object.

Property

ignoreRaycast: boolean = false

Defines is this game object ignoring mouse events.

Property

name: undefined | string

The name of this game object.

Property

showHitbox: boolean = false

Defines is this game object has hitbox visible in game.

Property

sortingOrder: number

The order in game objects hierarchy.

Property

tag: undefined | string

The tag of this game object.

Property

transform: Transform

The Transform - position, width, height and rotation of this game object.

Property

visible: boolean = true

Defines is this game object visible in game.

Property

Methods