Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.UIShowButton Class Reference

Shows the name of an assigned button or axis in the inspector. More...

Inheritance diagram for PlatformerPro.UIShowButton:

Public Member Functions

void UpdateText ()
 Updates the text field with the name of the assigned button or axis. More...
 

Public Attributes

Input input
 The input to show. More...
 
KeyType keyType
 The type of key to show. More...
 
int actionButton
 If KeyType is an action button then this is the action button number. Otherwise ignored. More...
 

Protected Member Functions

void GetInput ()
 Finds an input in the scene. More...
 

Protected Attributes

Text textField
 Cached reference to text field. More...
 

Detailed Description

Shows the name of an assigned button or axis in the inspector.

Member Function Documentation

◆ GetInput()

void PlatformerPro.UIShowButton.GetInput ( )
protected

Finds an input in the scene.

◆ UpdateText()

void PlatformerPro.UIShowButton.UpdateText ( )

Updates the text field with the name of the assigned button or axis.

Member Data Documentation

◆ actionButton

int PlatformerPro.UIShowButton.actionButton

If KeyType is an action button then this is the action button number. Otherwise ignored.

◆ input

Input PlatformerPro.UIShowButton.input

The input to show.

◆ keyType

KeyType PlatformerPro.UIShowButton.keyType

The type of key to show.

◆ textField

Text PlatformerPro.UIShowButton.textField
protected

Cached reference to text field.


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