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

Shows a GamObject when a function is called or the [TAB] key is pressed. Intended for use with a UI input overlay. THis is primarily for development purposes although could serve as a basis for something in a final product. More...

Inheritance diagram for PlatformerPro.UIInputOverlay:

Public Member Functions

void ToggleShowHide ()
 Show or hide the visibleContent. More...
 
void Show (Input input)
 Force to show with the specified input. More...
 
void Hide ()
 Force to hide. More...
 

Public Attributes

GameObject visibleContent
 The object to activate/deacitvate when tab is pressed. More...
 
bool useTabKey = true
 If true user can toggle this themselves by pressing TAB. More...
 

Detailed Description

Shows a GamObject when a function is called or the [TAB] key is pressed. Intended for use with a UI input overlay. THis is primarily for development purposes although could serve as a basis for something in a final product.

Member Function Documentation

◆ Hide()

void PlatformerPro.UIInputOverlay.Hide ( )

Force to hide.

◆ Show()

void PlatformerPro.UIInputOverlay.Show ( Input  input)

Force to show with the specified input.

Parameters
inputInput.

◆ ToggleShowHide()

void PlatformerPro.UIInputOverlay.ToggleShowHide ( )

Show or hide the visibleContent.

Member Data Documentation

◆ useTabKey

bool PlatformerPro.UIInputOverlay.useTabKey = true

If true user can toggle this themselves by pressing TAB.

◆ visibleContent

GameObject PlatformerPro.UIInputOverlay.visibleContent

The object to activate/deacitvate when tab is pressed.


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