Closed mavdotjs closed 3 years ago
Ok, i checked https://github.com/pokepetter/ursina/blob/31cb718a1aac635ebc996e87f1ff3b688f793633/ursina/entity.py#L410 and i dont see any reference of a variable called 'render', was it meant to be a parameter?
A snippet of my code:
quitbutton = Button(text='Quit', color=color.azure)
quitbutton.on_click = quit
wp = WindowPanel(
title='Menu',
content=(
quitbutton,
Slider(),
Slider(),
),
popup=True,
enabled=False
)
def input(key):
if key == 'escape':
wp.enabled = True
You need to create an instance of Ursina first.
i already did
no
Full Error
How do i fix this error? i am following the minecraft tutorial and wanted a menu but it says a variable isnt defined inside ursina code