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
TextProButton3D Class Reference
Inheritance diagram for TextProButton3D:
IMouseEvents

Public Member Functions

MonoBehaviour GetInstance ()
 
void Highlight ()
 
bool IsButtonLocked ()
 
void Lock ()
 
void OnMouseDown ()
 
void OnMouseDrag ()
 
void OnMouseEnter ()
 
void OnMouseExit ()
 
void OnMouseUp ()
 
void SetEnable (bool enable)
 Set the Enable state of the button More...
 
void UnHighlight ()
 
void Unlock ()
 

Public Attributes

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

Properties

TextMeshPro Text [get]
 Gets the Text. More...
 

Member Function Documentation

MonoBehaviour TextProButton3D.GetInstance ( )
inline

Implements IMouseEvents.

void TextProButton3D.Highlight ( )
inline
bool TextProButton3D.IsButtonLocked ( )
inline
void TextProButton3D.Lock ( )
inline
void TextProButton3D.OnMouseDown ( )
inline

Implements IMouseEvents.

void TextProButton3D.OnMouseDrag ( )
inline

Implements IMouseEvents.

void TextProButton3D.OnMouseEnter ( )
inline

Implements IMouseEvents.

void TextProButton3D.OnMouseExit ( )
inline

Implements IMouseEvents.

void TextProButton3D.OnMouseUp ( )
inline

Implements IMouseEvents.

void TextProButton3D.SetEnable ( bool  enable)
inline

Set the Enable state of the button

Parameters
enableEnable state of the button
void TextProButton3D.UnHighlight ( )
inline
void TextProButton3D.Unlock ( )
inline

Member Data Documentation

bool TextProButton3D.isBeingHovered
Color TextProButton3D.normalColor
Callback TextProButton3D.onPressed = (() => { })
Callback TextProButton3D.onReleased = (() => { })
Callback TextProButton3D.onTap = (() => { })

Property Documentation

TextMeshPro TextProButton3D.Text
get

Gets the Text.


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