Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Properties | List of all members
TextButton3D Class Reference
Inheritance diagram for TextButton3D:
IMouseEvents

Public Member Functions

MonoBehaviour GetInstance ()
 
void Lock ()
 
void OnMouseDown ()
 
void OnMouseDrag ()
 
void OnMouseEnter ()
 
void OnMouseExit ()
 
void OnMouseUp ()
 
void Unlock ()
 

Public Attributes

Color normalColor
 
Callback onPressed = (() => { })
 
Callback onReleased = (() => { })
 
Callback onTap = (() => { })
 

Properties

Renderer Rendrer [get]
 Gets the Renderer component attached to the gameobject (you did attach one didn't you?) More...
 
TextMesh Text [get]
 Gets the Text. More...
 

Member Function Documentation

MonoBehaviour TextButton3D.GetInstance ( )
inline

Implements IMouseEvents.

void TextButton3D.Lock ( )
inline
void TextButton3D.OnMouseDown ( )
inline

Implements IMouseEvents.

void TextButton3D.OnMouseDrag ( )
inline

Implements IMouseEvents.

void TextButton3D.OnMouseEnter ( )
inline

Implements IMouseEvents.

void TextButton3D.OnMouseExit ( )
inline

Implements IMouseEvents.

void TextButton3D.OnMouseUp ( )
inline

Implements IMouseEvents.

void TextButton3D.Unlock ( )
inline

Member Data Documentation

Color TextButton3D.normalColor
Callback TextButton3D.onPressed = (() => { })
Callback TextButton3D.onReleased = (() => { })
Callback TextButton3D.onTap = (() => { })

Property Documentation

Renderer TextButton3D.Rendrer
get

Gets the Renderer component attached to the gameobject (you did attach one didn't you?)

TextMesh TextButton3D.Text
get

Gets the Text.


The documentation for this class was generated from the following file: