Wiki

Clone wiki

Mono:UI / Objects / m_Clickable

INTRODUCED: v0.1.0
LAST UPDATED: v0.1.1

m_Clickable

This Object represents the most basic functionality for any Mono:UI element. It is not meant to be instantiated, only to be used as a common parent.
By creating an Object that has m_Clickable as its parent, this Object is included in a number of internal processes, and it gains access to useful features such as Properties, its own Surface to draw to, and more.

Hierarchy

PARENT: --
CHILDREN: m_Button
PROPERTY GROUPS: "all"

Events

Name Description
Create Initiates __properties, __w, __h, __surface_main, __dirty, __overlapping.
Clean Up Cleans up __properties, __surface_main.
Step Recalculates collisions if the instance moves.
Post-Draw Calculates initial collisions.

Instance Variables

Name Default Value Origin
__properties ds_map of properties with their default values.
__w 0
__h 0
__surface_main noone
__dirty true
__overlapping undefined

Properties

For a full list, see Properties.

Name Default Value Description

Updated