</> ursina.prefabs.button_list
Inherits Entity
Initialization
ButtonList(
button_dict=None,
button_height=1.1,
width=0.5,
popup=False,
color=Button.default_color,
highlight_color=color.white33,
selected_color=color.azure,
font=Text.default_font,
clear_selected_on_enable=True
)
Attributes
.text_entity
default: Text(parent=self, font=font, origin=(-0.5, 0.5), t...
.bg
default: Entity(parent=self, model='quad', origin=(-0.5, 0....
.highlight
default: Entity(parent=self.bg, model='quad', color=highlig...
.selection_marker
default: Entity(parent=self.bg, model='quad', color=selecte...
default: Entity(parent=self, scale=Vec3(100, 100, 0.1), mod...
Properties
selected
Methods
input(key=None)
update()
on_disable()
on_enable()