Skip to content

MobileMenuBar

Class in GameFramework · GameFramework.MobileMenuBar

Object › MobileMenuObject › MobileMenuBar

Using it from Lua
h7.find_all("MobileMenuBar")            -- live instances
h7.find_class("GameFramework.MobileMenuBar")   -- the class
h7.hook("GameFramework.MobileMenuBar.AddItem", fn)

Properties

NameTypeNotes
bDirtybool
bIsVerticalbool
FirstItemint
Itemsarray<MobileMenuBarItem>
SelectedIndexint

Functions

NameDeclaration
AddItemfunction AddItem(MobileMenuBarItem Item, Int Index = -1)
GetSelectedfunction MobileMenuBarItem GetSelected()
InitMenuObjectfunction InitMenuObject(MobilePlayerInput PlayerInput, MobileMenuScene Scene, int ScreenWidth, int ScreenHeight, bool bIsFirstInitialization)
Numfunction int Num()
OnTouchevent bool OnTouch(ETouchType EventType, float TouchX, float TouchY, MobileMenuObject ObjectOver, float DeltaTime)
RenderItemfunction RenderItem(Canvas Canvas, float DeltaTime, int ItemIndex)
RenderObjectfunction RenderObject(canvas Canvas, float DeltaTime)
SetFirstItemfunction SetFirstItem(int First)
UpdateItemViewportsfunction UpdateItemViewports()

Default values

bIsActive=true
bIsVertical=true
SelectedIndex=0

Inherited

FromMembers
MobileMenuObject38 properties, 6 functions
Object13 properties, 308 functions