Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Properties | List of all members
BrokeProtocol.Utility.MobileButton Class Reference

Public Member Functions

 MobileButton (RawImage image, MobileButtonType type, bool alwaysShow=false)
 
void ButtonUp ()
 

Public Attributes

readonly RawImage image
 
readonly RectTransform rectTransform
 
readonly MobileButtonType type
 
readonly bool alwaysShow
 

Properties

bool On [get]
 
bool OnThisFrame [get]
 

Constructor & Destructor Documentation

◆ MobileButton()

BrokeProtocol.Utility.MobileButton.MobileButton ( RawImage image,
MobileButtonType type,
bool alwaysShow = false )
inline

Member Function Documentation

◆ ButtonUp()

void BrokeProtocol.Utility.MobileButton.ButtonUp ( )

Member Data Documentation

◆ alwaysShow

readonly bool BrokeProtocol.Utility.MobileButton.alwaysShow

◆ image

readonly RawImage BrokeProtocol.Utility.MobileButton.image

◆ rectTransform

readonly RectTransform BrokeProtocol.Utility.MobileButton.rectTransform

◆ type

readonly MobileButtonType BrokeProtocol.Utility.MobileButton.type

Property Documentation

◆ On

bool BrokeProtocol.Utility.MobileButton.On
get

◆ OnThisFrame

bool BrokeProtocol.Utility.MobileButton.OnThisFrame
get

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