FrameIT
PlayerCtrl.CrossPlatformInputManager.VirtualButton Class Reference

Public Member Functions

 VirtualButton (string name)
 
 VirtualButton (string name, bool matchToInputSettings)
 
void Pressed ()
 
void Released ()
 
void Remove ()
 

Properties

string name [getprivate set]
 
bool matchWithInputManager [getprivate set]
 
bool GetButton [get]
 
bool GetButtonDown [get]
 
bool GetButtonUp [get]
 

Private Attributes

int m_LastPressedFrame = -5
 
int m_ReleasedFrame = -5
 
bool m_Pressed
 

Constructor & Destructor Documentation

◆ VirtualButton() [1/2]

PlayerCtrl.CrossPlatformInputManager.VirtualButton.VirtualButton ( string  name)

◆ VirtualButton() [2/2]

PlayerCtrl.CrossPlatformInputManager.VirtualButton.VirtualButton ( string  name,
bool  matchToInputSettings 
)

Member Function Documentation

◆ Pressed()

void PlayerCtrl.CrossPlatformInputManager.VirtualButton.Pressed ( )

◆ Released()

void PlayerCtrl.CrossPlatformInputManager.VirtualButton.Released ( )

◆ Remove()

void PlayerCtrl.CrossPlatformInputManager.VirtualButton.Remove ( )

Member Data Documentation

◆ m_LastPressedFrame

int PlayerCtrl.CrossPlatformInputManager.VirtualButton.m_LastPressedFrame = -5
private

◆ m_Pressed

bool PlayerCtrl.CrossPlatformInputManager.VirtualButton.m_Pressed
private

◆ m_ReleasedFrame

int PlayerCtrl.CrossPlatformInputManager.VirtualButton.m_ReleasedFrame = -5
private

Property Documentation

◆ GetButton

bool PlayerCtrl.CrossPlatformInputManager.VirtualButton.GetButton
get

◆ GetButtonDown

bool PlayerCtrl.CrossPlatformInputManager.VirtualButton.GetButtonDown
get

◆ GetButtonUp

bool PlayerCtrl.CrossPlatformInputManager.VirtualButton.GetButtonUp
get

◆ matchWithInputManager

bool PlayerCtrl.CrossPlatformInputManager.VirtualButton.matchWithInputManager
getprivate set

◆ name

string PlayerCtrl.CrossPlatformInputManager.VirtualButton.name
getprivate set

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