Component_PanelBehavior Class
A panel-component gives a game-object the same capabilities like
a visual object but has no graphical representation. So a panel has
a position and a size.
It can be used to make invisible hotspot-areas or modal-blocking areas for
example.
Item Index
Methods
dispose
()
Disposes the component.
onDataBundleRestore.
(
-
Object
-
gs.ObjectCodecContext
Called if this object instance is restored from a data-bundle. It can be used re-assign event-handler, anonymous functions, etc.
Parameters:
-
Object
Objectdata - The data-bundle
-
gs.ObjectCodecContext
Objectcontext - The codec-context.
setup
()
Initializes the panel component.
setupEventHandlers
()
Adds event-handlers for mouse/touch events