QuadUI 1.2.9 public beta
Run-time API for QuadUI

Element2D Class Reference

Inheritance diagram for Element2D:
EventDispatcher InteractiveElement2D Sprite2D Button2D Repeater2D Toggle2D MultiStateSprite2D

List of all members.

Public Attributes

Quad2D quad

Properties

bool Visible [get, set]
Color Tint [get, set]

Detailed Description

The base of all QuadUI framework UI components. Contains methods accessible from all its inheriters.

This class does not accept user interaction events, and should be used for visible items which you wish to connect to the framework, but are not interactive.


Member Data Documentation

The attached Quad2D.


Property Documentation

Color Element2D.Tint [get, set]

Will change the Tint of the attached material to the assigned Color. This is the same as saying renderer.material.color, but you have to type less.

bool Element2D.Visible [get, set]

Enables/Disables the attached MeshRenderer. This effectively is the same this as "quad.visible" but is here for ease of access.

 All Classes Functions Variables Enumerations Properties