Constructor
new GuiExplanationPanel()
Members
ArrowDistanceFromTarget
Margin between the target object and the arrow.
ArrowScale
The arrow is always twice as wide as it is long.
Therefore, for vertical arrows (pointing up or down) this defines the height and half the width,
while for horizontal arrows (pointing left or right) this defines the width and half the height.
ArrowSprites
Which sprite to use depending on the side that the description panel is placed on. The sprites only differ in rotation.
E.g. if the panel is placed to the left of the target object, the arrow has to point to the right.
HiddenWarning
Warning shown whilever the target objects is hidden.
MaxPanelHeight
OverlayZValue
Greater than the z value of all other session GUI objects (except the watermark).
PanelDistanceFromTarget
Margin between the target object and the panel itself. The arrow has to fit inside that gap.
PanelWidth
TitleTags
GUI tags applied to the shown title.
arrow
backgroundFade
currentStep
currentStep
panel
targetObject
targetObject
targetObject
targetOriginalZ
wasTargetHidden
wasTargetHidden
wasTargetHidden
wasTargetHidden
Methods
displayStep()
resetTargetObjectZ()
setVisible()
updateContent()
Check the visibility of the target object and update the text and background fade accordingly, if necessary.
updatePanelSize()
Place the panel next to the target object on the desired side relative to it.